cross-plat-dev-utils/patch-files/diffs/patch-0f5e3a7fb6af.patch
author mikek
Sun, 16 May 2010 13:06:27 +0100
changeset 12 5e7562f67577
parent 9 67f8bb81b054
child 14 eb060913c963
permissions -rw-r--r--
Update the diffs patchfile to latest revision
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     1
## diff generated by diff_upstream.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     2
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     3
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.cpp	2010-05-13 19:14:19.380581789 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
     4
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     5
@@ -25,6 +25,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     6
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     7
 #include <iomanip>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     8
 #include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     9
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    10
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    11
 namespace
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    12
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    13
@@ -52,7 +53,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    14
     m_mem_p = new char[size];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    15
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    16
     file.seekg(0, std::ios::beg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    17
-    file.read( const_cast<char*>(m_mem_p), size );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    18
+	file.read(m_mem_p, size );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    19
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    20
     file.close();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    21
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    22
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    23
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/library/library.h	2010-05-13 19:14:19.380581789 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    24
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    25
@@ -39,11 +39,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    26
     const char* _eat_obj_header(const char*, const char*, unsigned long*, const char* = 0) const;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    27
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    28
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    29
-    const char* m_mem_p;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    30
+	char * m_mem_p;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    31
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    32
     const char* m_first_p;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    33
     const char* m_last_p;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    34
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    35
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    36
     mutable std::vector<const char*> m_symbols;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    37
     mutable std::vector< std::pair<const char*, const char*> > m_objects;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    38
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    39
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    40
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/main.cpp	2010-05-13 19:14:19.380581789 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    41
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp	2010-05-15 16:32:57.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    42
@@ -22,6 +22,8 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    43
 #include <sstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    44
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    45
 #include <stdexcept>
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    46
+#include <cstring>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    47
+#include <cstdlib>
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    48
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    49
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    50
 const char SELF_NAME[] = "checklib";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    51
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    52
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/coff_object.cpp	2010-05-13 19:14:19.384582019 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    53
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    54
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    55
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    56
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    57
 #include <functional>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    58
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    59
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    60
 Coff_object::Coff_object(const char* p1, const char* p2)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    61
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    62
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    63
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/checklib/object/elf_object.cpp	2010-05-13 19:14:19.384582019 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    64
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    65
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    66
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    67
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    68
 #include <functional>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    69
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    70
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    71
 Elf_object::Elf_object(const char* p1, const char* p2)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    72
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    73
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    74
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp	2010-05-13 19:14:19.424582009 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
    75
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    76
@@ -27,9 +27,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    77
 #pragma warning( disable : 4530 )	// function not inlined.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    78
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    79
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    80
-#include <stdio.h>   
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    81
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    82
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    83
 #include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    84
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    85
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    86
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    87
 #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    88
 using std::ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    89
@@ -1787,8 +1789,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    90
 	const char * fileName = SourceFileName.GetAssertedNonEmptyBuffer();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    91
 	ifstream iFile(fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    92
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    93
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    94
+	char LocalisationOutputFileName[sizeof("/tmp/rcomp_temp_XXXXXX")];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    95
+	strcpy(LocalisationOutputFileName,"/tmp/rcomp_temp_XXXXXX");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    96
+	int fd = mkstemp(LocalisationOutputFileName); close(fd);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    97
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    98
+#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    99
 	char * LocalisationOutputFileName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   100
 	LocalisationOutputFileName = tmpnam(NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   101
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   102
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   103
 	ofstream outputFile(LocalisationOutputFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   104
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   105
 	String fileLine("");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   106
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   107
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp	2010-05-13 19:14:19.428582169 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   108
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   109
@@ -90,8 +90,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   110
 #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   111
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   112
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   113
-#include "resource.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   114
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   115
+#include "RESOURCE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   116
+#include "Parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   117
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   118
 int yylex();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   119
 void yyerror(const char* string, ...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   120
@@ -100,14 +100,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   121
 extern int yylineno;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   122
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   123
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   124
-#include "datatype.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   125
-#include "mem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   126
-#include "rcbinstr.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   127
-#include "rcscan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   128
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   129
-#include "fileacc.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   130
-#include "version.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   131
-#include "ctable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   132
+#include "DATATYPE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   133
+#include "MEM.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   134
+#include "RCBINSTR.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   135
+#include "RCSCAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   136
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   137
+#include "FILEACC.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   138
+#include "VERSION.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   139
+#include "CTABLE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   140
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   141
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   142
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   143
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   144
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp	2010-05-13 19:14:19.428582169 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   145
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   146
@@ -662,8 +662,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   147
 #include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   148
 #include <string.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   149
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   150
-#include "structst.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   151
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   152
+#include "STRUCTST.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   153
+#include "Parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   154
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   155
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   156
 #define YY_SKIP_YYWRAP 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   157
@@ -696,7 +696,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   158
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   159
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   160
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   161
-#include "fileline.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   162
+#include "FILELINE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   163
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   164
 #define VALUE_LEN   (1024*8)	// must match sizeof(YYSTYPE.Value)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   165
 char buf[VALUE_LEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   166
@@ -734,7 +734,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   167
 #pragma warning( disable : 4505 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   168
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   169
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   170
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   171
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   172
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   173
 #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   174
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   175
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   176
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX	2010-05-13 19:14:19.420582828 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   177
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   178
@@ -20,9 +20,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   179
 #include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   180
 #include <string.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   181
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   182
-#include "structst.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   183
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   184
-#include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   185
+#include "STRUCTST.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   186
+#include "PARSER.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   187
+#include "LOCALISE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   188
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   189
 #define YY_SKIP_YYWRAP 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   190
 #define YY_NEVER_INTERACTIVE 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   191
@@ -92,7 +92,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   192
 #pragma warning( disable : 4505 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   193
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   194
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   195
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   196
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   197
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   198
 #define REGISTER_LINE	ErrorHandler::Register(pFileLineHandler->GetCurrentFile(), pFileLineHandler->GetErrorLine(* pCurrentLineNumber))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   199
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   200
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   201
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC	2010-05-13 19:14:19.424582009 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   202
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   203
@@ -35,8 +35,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   204
 #pragma warning( disable : 4244 ) // C4244: '=' : conversion from 'int' to 'short', possible loss of data
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   205
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   206
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   207
-#include "resource.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   208
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   209
+#include "RESOURCE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   210
+#include "PARSER.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   211
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   212
 int yylex();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   213
 void yyerror(const char* string, ...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   214
@@ -45,14 +45,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   215
 extern int yylineno;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   216
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   217
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   218
-#include "datatype.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   219
-#include "mem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   220
-#include "rcbinstr.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   221
-#include "rcscan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   222
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   223
-#include "fileacc.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   224
-#include "version.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   225
-#include "ctable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   226
+#include "DATATYPE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   227
+#include "MEM.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   228
+#include "RCBINSTR.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   229
+#include "RSCAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   230
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   231
+#include "FILEACC.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   232
+#include "VERSION.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   233
+#include "CTABLE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   234
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   235
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   236
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   237
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/buildtoolguides/romtoolsguide/group/bld.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/buildtoolguides/romtoolsguide/group/bld.inf
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   238
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/buildtoolguides/romtoolsguide/group/bld.inf	2010-05-13 19:14:22.500584966 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   239
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/buildtoolguides/romtoolsguide/group/bld.inf	2010-05-08 15:41:44.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   240
@@ -1,3 +1,3 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   241
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   242
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   243
-../com.nokia.rombuild_0.1.jar /plugins/com.nokia.rombuild_0.1.jar
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   244
\ No newline at end of file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   245
+../com.nokia.rombuild_0.1.jar ../../plugins/com.nokia.rombuild_0.1.jar 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   246
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/buildtoolguides/sbsv2guide/group/bld.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/buildtoolguides/sbsv2guide/group/bld.inf
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   247
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/buildtoolguides/sbsv2guide/group/bld.inf	2010-05-13 19:14:22.504583518 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   248
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/buildtoolguides/sbsv2guide/group/bld.inf	2010-05-08 15:42:04.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   249
@@ -1,3 +1,3 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   250
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   251
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   252
-../com.nokia.sysbuild_0.1.jar /plugins/com.nokia.sysbuild_0.1.jar
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   253
\ No newline at end of file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   254
+../com.nokia.sysbuild_0.1.jar ../../plugins/com.nokia.sysbuild_0.1.jar
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   255
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   256
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-13 19:14:22.504583518 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   257
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   258
@@ -87,7 +87,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   259
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   260
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   261
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   262
-	return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   263
+	return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[0]) + (sizeof(TOffset) * Min(aLinks,KDeflateMaxDistance)))) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   264
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   265
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   266
 inline TInt HDeflateHash::Hash(const TUint8* aPtr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   267
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/e32image: Makefile.elftran.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   268
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   269
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp	2010-05-13 19:14:22.512581742 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   270
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   271
@@ -45,8 +45,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   272
 userinclude     ../setcap 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   273
 userinclude     ../../e32lib/e32image/inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   274
 systeminclude   /epoc32/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   275
+systeminclude    /epoc32/include/platform
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   276
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   277
 OPTION          GCC -w
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   278
+option 	GCC -w
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   279
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   280
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   281
 //macro __PLACEMENT_NEW_INLINE
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   282
 //macro __PLACEMENT_VEC_NEW_INLINE
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   283
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   284
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-13 19:14:22.512581742 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   285
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   286
@@ -28,7 +28,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   287
 source	 	byte_pair.cpp  pagedcompress.cpp checksum.cpp stdexe_target.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   288
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   289
 systeminclude    /epoc32/include  /epoc32/include/tools  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   290
+systeminclude    /epoc32/include/platform
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   291
 userinclude		../source ../include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   292
+userinclude ../../../bintools/elftools/inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   293
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   294
 option 	GCC -w
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   295
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   296
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   297
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp	2010-05-13 19:14:22.516582251 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   298
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   299
@@ -18,9 +18,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   300
 //
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   301
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   302
 //
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   303
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   304
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   305
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   306
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   307
-#include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   308
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   309
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   310
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   311
 #include "pl_symbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   312
 #include "deffile.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   313
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   314
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-13 19:14:22.516582251 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   315
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   316
@@ -126,7 +126,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   317
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   318
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   319
 	//return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   320
-	return new(new char[_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)])]) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   321
+	return new(new char[_FOFF(HDeflateHash,iOffset[0]) + 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   322
+		(sizeof(TOffset) * Min(aLinks,KDeflateMaxDistance))]) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   323
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   324
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   325
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   326
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   327
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-13 19:14:22.516582251 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   328
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   329
@@ -18,6 +18,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   330
 #include "pl_elfexports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   331
 #include "pl_dllsymbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   332
 #include "pl_elflocalrelocation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   333
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   334
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   335
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   336
 Destructor for E32ExportTable class.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   337
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   338
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-13 19:14:22.520581921 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   339
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   340
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   341
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   342
 // get E32ImageHeader class...
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   343
 #define INCLUDE_E32IMAGEHEADER_IMPLEMENTATION
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   344
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   345
 #define RETURN_FAILURE(_r) return (fprintf(stderr, "line %d\n", __LINE__),_r)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   346
 //#define E32IMAGEHEADER_TRACE(_t) printf _t
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   347
 #include "e32imagefile.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   348
@@ -40,11 +41,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   349
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   350
 #ifndef __LINUX__ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   351
     #include <io.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   352
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   353
-    #include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   354
 #endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   355
-#include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   356
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   357
+#include <ctime>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   358
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   359
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   360
 using namespace std;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   361
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   362
@@ -365,7 +364,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   363
 	iImportSectionSize = aTotalSize;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   364
 	iImportSection = (uint32 *)new char[aTotalSize];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   365
 	memset(iImportSection, 0, aTotalSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   366
-	memcpy(iImportSection, aImportSection.begin(), aImportSectionSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   367
+	memcpy(iImportSection, &*aImportSection.begin(), aImportSectionSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   368
 	char * strTab = ((char *)iImportSection) + aImportSectionSize;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   369
 	memcpy(strTab, aStrTab.data(), aStrTab.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   370
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   371
@@ -1922,7 +1921,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   372
 	memcpy(aInfo, (void*)&aSymInf, sizeof(aSymInf));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   373
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   374
 	TUint aPos = aSymInf.iSymbolTblOffset;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   375
-	memcpy(aInfo+aPos, iSymAddrTab.begin(), iSymAddrTab.size()*sizeof(uint32));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   376
+	memcpy(aInfo+aPos, &*iSymAddrTab.begin(), iSymAddrTab.size()*sizeof(uint32));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   377
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   378
 	aPos += iSymAddrTab.size()*aSizeofNames;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   379
 	aPos += iSymNameOffTab.size()*aSizeofNames;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   380
@@ -1933,13 +1932,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   381
 	if(aSymInf.iFlags & 1)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   382
 		aOffLen=4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   383
 	while(Iter != iSymNameOffTab.end()){
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   384
-		memcpy( ((void*)(aInfo+aPos)), ((void*)Iter), aOffLen);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   385
+		memcpy( ((void*)(aInfo+aPos)), &*Iter, aOffLen);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   386
 		aPos += aOffLen;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   387
 		Iter++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   388
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   389
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   390
 	aPos = aSymInf.iStringTableOffset;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   391
-	memcpy(aInfo+aPos, iSymbolNames.begin(), iSymbolNames.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   392
+	memcpy(aInfo+aPos, &*iSymbolNames.begin(), iSymbolNames.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   393
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   394
 	// At the end, the dependencies are listed. They remain zeroes and shall be fixed up
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   395
 	// while relocating.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   396
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   397
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-13 19:14:22.520581921 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   398
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   399
@@ -25,7 +25,15 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   400
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   401
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   402
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   403
-#include<hash_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   404
+#if __GNUC__ < 4
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   405
+    #include <ext/hash_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   406
+    #define SET_TYPE __gnu_cxx::hash_set
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   407
+    #define HASH_FUN __gnu_cxx::hash
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   408
+#else    
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   409
+    #include <unordered_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   410
+    #define SET_TYPE std::unordered_set
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   411
+    #define HASH_FUN std::hash
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   412
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   413
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   414
 using namespace std;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   415
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   416
@@ -638,7 +646,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   417
 */ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   418
 int ElfFileSupplied::UnWantedSymbolp(const char * aSymbol)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   419
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   420
-  static hash_set<const char*, hash<const char*>, eqstr> aSymbolSet;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   421
+  static SET_TYPE<const char*, HASH_FUN<const char*>, eqstr> aSymbolSet;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   422
   int symbollistsize=sizeof(Unwantedruntimesymbols)/sizeof(Unwantedruntimesymbols[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   423
   static bool FLAG=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   424
   while(!FLAG)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   425
@@ -649,7 +657,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   426
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   427
 	FLAG=true;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   428
   }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   429
-  hash_set<const char*, hash<const char*>, eqstr>::const_iterator it
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   430
+  SET_TYPE<const char*, HASH_FUN<const char*>, eqstr>::const_iterator it
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   431
     = aSymbolSet.find(aSymbol);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   432
   if(it != aSymbolSet.end())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   433
 	return 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   434
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   435
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-13 19:14:22.520581921 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   436
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   437
@@ -26,7 +26,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   438
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   439
 #include "messagehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   440
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   441
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   442
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   443
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   444
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   445
 using std::cerr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   446
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   447
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   448
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   449
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp	2010-05-13 19:14:22.528582030 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   450
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   451
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   452
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   453
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   454
 #include <cassert>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   455
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   456
 #include "huffman.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   457
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   458
 #include "farray.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   459
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   460
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/h_utl.cpp	2010-05-13 19:14:22.524582150 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   461
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   462
@@ -17,8 +17,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   463
 // 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   464
 //
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   465
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   466
-#include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   467
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   468
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   469
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   470
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   471
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   472
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   473
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   474
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source: h_utl.h.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   475
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   476
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp	2010-05-13 19:14:22.528582030 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   477
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   478
@@ -23,6 +23,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   479
 #include "farray.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   480
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   481
 #include<iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   482
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   483
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   484
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   485
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   486
 /*
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   487
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/librarytarget.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/librarytarget.cpp
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   488
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/librarytarget.cpp	2010-05-13 19:14:22.528582030 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   489
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/librarytarget.cpp	2010-05-15 16:38:11.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   490
@@ -21,6 +21,7 @@
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   491
 #include "pl_dso_handler.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   492
 #include "deffile.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   493
 #include <iostream>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   494
+#include <cstdlib>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   495
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   496
 /**
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   497
 Constructor for the Library Class
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   498
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   499
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-13 19:14:22.532582119 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   500
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-15 16:37:05.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   501
@@ -23,7 +23,9 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   502
 #include<iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   503
 #include<stdarg.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   504
 #include<string>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   505
-#include <stdio.h>
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   506
+#include <cstring>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   507
+#include <cstdlib>
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   508
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   509
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   510
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   511
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   512
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   513
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-13 19:14:22.532582119 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   514
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-15 16:38:48.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   515
@@ -25,6 +25,7 @@
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   516
 #include "parametermanager.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   517
 #include "errorhandler.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   518
 #include <iostream>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   519
+#include <cstdlib>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   520
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   521
 #include "h_utl.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   522
 #include "h_ver.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   523
@@ -647,7 +648,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   524
 			parser(this, "help", 0, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   525
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   526
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   527
-		parser(this, const_cast<char*>(aName.c_str()), optval, aDesc);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   528
+		parser(this, aName.c_str(), optval, aDesc);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   529
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   530
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   531
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   532
@@ -2247,7 +2248,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   533
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   534
 			int len = nq;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   535
 			symbol = new char[len+1];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   536
-			memcpy(symbol, p, len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   537
+			memcpy(symbol, &*p, len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   538
 			symbol[len] = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   539
 			q = nq+1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   540
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   541
@@ -2387,7 +2388,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   542
 			if (*e == '-' || *e == '+') break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   543
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   544
 		if (e != b)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   545
-			ParseCapability1(b, e, aCapabilities, invert);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   546
+			ParseCapability1(&*b, &*e, aCapabilities, invert);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   547
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   548
 		b = e;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   549
 		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   550
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   551
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h	2010-05-13 19:14:22.532582119 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   552
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   553
@@ -81,7 +81,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   554
 	typedef std::map<string, const OptionDesc *, OptionCompare> OptionMap;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   555
 	typedef vector<char *> LibSearchPaths;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   556
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   557
-	typedef void (*ParserFn)(ParameterManager *, char *, char *, const OptionDesc *);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   558
+	typedef void (*ParserFn)(ParameterManager *, char const *, char const *, const OptionDesc *);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   559
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   560
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   561
 	#define DECLARE_PARAM_PARSER(name) \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   562
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   563
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-13 19:14:22.536582488 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   564
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   565
@@ -22,13 +22,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   566
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   567
 #include "pl_common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   568
 #include <list>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   569
-#include <hash_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   570
+#if __GNUC__ < 4
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   571
+    #include <ext/hash_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   572
+    #define MAP_TYPE __gnu_cxx::hash_map
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   573
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   574
+    #include <unordered_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   575
+    #define MAP_TYPE std::unordered_map
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   576
+#endif    
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   577
 #include "pl_elfimports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   578
 #include "pl_elfrelocations.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   579
 #include "pl_elfexports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   580
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   581
 using std::list;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   582
-using std::hash_map;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   583
+using MAP_TYPE;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   584
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   585
 class DllSymbol;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   586
 class Symbol;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   587
@@ -122,7 +128,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   588
 	 * The dynamic symbol array.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   589
 	 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   590
 	Elf32_Sym		*iElfDynSym;//The ELF symbol
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   591
-	hash_map<PLUINT32, DllSymbol*>	iSymbolTable; //The representation
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   592
+	MAP_TYPE<PLUINT32, DllSymbol*>	iSymbolTable; //The representation
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   593
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   594
 	/**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   595
 	 * The static symbol table.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   596
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   597
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-13 19:14:22.536582488 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   598
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   599
@@ -20,6 +20,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   600
 #include "pl_elfexports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   601
 #include "pl_elfexecutable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   602
 #include "pl_dllsymbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   603
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   604
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   605
 using std::set_difference;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   606
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   607
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   608
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-13 19:14:22.536582488 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   609
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   610
@@ -19,6 +19,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   611
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   612
 #include "pl_elfimports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   613
 #include "pl_elfimportrelocation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   614
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   615
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   616
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   617
 Constructor for class ElfImports
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   618
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   619
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-13 19:14:22.540581739 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   620
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   621
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   622
 #include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   623
 #include <string>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   624
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   625
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   626
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   627
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   628
  * Following array is indexed on the SECTION_INDEX enum 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   629
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   630
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-13 19:14:22.544581968 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   631
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   632
@@ -18,6 +18,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   633
 //
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   634
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   635
 #include "pl_symbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   636
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   637
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   638
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   639
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   640
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: cdf.dtd.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   641
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featuredatabase.dtd.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   642
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: featureuids.dtd.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   643
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/buildrom/tools: imageContent.dtd.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   644
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   645
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf	2010-05-13 19:14:22.580581863 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   646
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   647
@@ -21,8 +21,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   648
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   649
 // These libraries needs to be exported
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   650
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   651
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   652
 ../libxml/lib/libxml2.a			/epoc32/release/tools2/rel/libxml2.a
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   653
 ../libxml/lib/libxml2.a			/epoc32/release/tools2/deb/libxml2.a
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   654
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   655
 ../src/imgcheck.xsl			/epoc32/tools/imgcheck.xsl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   656
 ./imgcheck.pl				/epoc32/tools/imgcheck.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   657
 ./imgcheck.cmd				/epoc32/tools/imgcheck.cmd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   658
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   659
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-13 19:14:22.580581863 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   660
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-15 16:53:48.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   661
@@ -25,17 +25,24 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   662
 SOURCE		exceptionimplementation.cpp exceptionreporter.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   663
 SOURCE 		cmdlinewriter.cpp xmlwriter.cpp dbgflagchecker.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   664
 USERINCLUDE ../libimgutils/inc ../inc ../../imglib/compress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   665
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   666
 USERINCLUDE   ../../imglib/boostlibrary
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   667
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   668
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   669
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   670
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   671
 SYSTEMINCLUDE ../libxml ../ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   672
+#endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   673
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   674
 SYSTEMINCLUDE ../../imglib/inc ../../romtools/rofsbuild
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   675
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   676
-STATICLIBRARY imgutils xml2 wsock32 stlport.5.1 patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   677
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   678
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   679
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   680
+STATICLIBRARY imgutils patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   681
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   682
+STATICLIBRARY imgutils xml2 wsock32 patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   683
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   684
+#ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   685
+OPTION    GCC -pthread -O2 -Wno-uninitialized -isystem /usr/include/libxml2 -lxml2 -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   686
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   687
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   688
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   689
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   690
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-13 19:14:22.805083364 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   691
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   692
@@ -120,7 +120,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   693
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   694
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   695
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   696
-typedef enum Suppress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   697
+enum Suppress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   698
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   699
     EDep = 0x1,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   700
     ESid = 0x2,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   701
@@ -136,7 +136,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   702
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   703
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   704
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   705
-typedef enum NumberOfValue
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   706
+enum NumberOfValue
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   707
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   708
     ENone = 0x0,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   709
     ESingle = 0x1,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   710
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   711
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h	2010-05-13 19:14:22.805083364 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   712
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   713
@@ -86,7 +86,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   714
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   715
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   716
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   717
-typedef enum ReturnType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   718
+enum ReturnType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   719
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   720
 	ESuccess = 0,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   721
 	EQuit,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   722
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   723
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-13 19:14:22.805083364 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   724
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   725
@@ -91,7 +91,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   726
 struct Messages
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   727
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   728
 	int iIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   729
-	char* iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   730
+	char const * iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   731
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   732
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   733
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   734
@@ -110,7 +110,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   735
 	void Report(const String aMsg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   736
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   737
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   738
-	ofstream iLogStream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   739
+	Ofstream iLogStream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   740
 	IndexVsMessageMap iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   741
 	unsigned int iMsgIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   742
 	static unsigned int iCmdFlag;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   743
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   744
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-13 19:14:22.809081638 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   745
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   746
@@ -24,7 +24,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   747
 #define XMLWRITER_H
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   748
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   749
 #include "reportwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   750
-#include "libxml/xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   751
+#if defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   752
+	#include <libxml/xmlwriter.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   753
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   754
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   755
+	#include "libxml/xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   756
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   757
 #include "common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   758
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   759
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   760
@@ -107,7 +112,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   761
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   762
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   763
 	// File stream for xml output.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   764
-	ofstream iXmlFile;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   765
+	Ofstream iXmlFile;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   766
 	// Xml file name for output.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   767
 	const String iXmlFileName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   768
 	// Xml Buffer pointer.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   769
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   770
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-13 19:14:22.809081638 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   771
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   772
@@ -32,7 +32,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   773
 class RomImageFSEntry 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   774
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   775
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   776
-	RomImageFSEntry (char* aName) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   777
+	RomImageFSEntry (char const* aName) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   778
 	: iName(aName), iSibling(0), iChildren(0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   779
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   780
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   781
@@ -117,7 +117,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   782
 class RomImageDirEntry : public RomImageFSEntry
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   783
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   784
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   785
-	RomImageDirEntry(char* aName) : RomImageFSEntry(aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   786
+	RomImageDirEntry(char const* aName) : RomImageFSEntry(aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   787
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   788
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   789
 	~RomImageDirEntry(void)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   790
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   791
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-13 19:14:22.809081638 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   792
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   793
@@ -28,8 +28,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   794
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   795
 #undef _L
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   796
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   797
-#include <fstream.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   798
-#include <iostream.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   799
+#include <fstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   800
+#include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   801
 #include <list>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   802
 #include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   803
 #include <map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   804
@@ -53,10 +53,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   805
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   806
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   807
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   808
-typedef ios Ios;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   809
+typedef std::ios Ios;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   810
 typedef std::string String;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   811
-typedef ofstream Ofstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   812
-typedef ifstream Ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   813
+typedef std::ofstream Ofstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   814
+typedef std::ifstream Ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   815
 typedef std::list<String> StringList;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   816
 typedef std::map<unsigned int, String> UintVsString;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   817
 typedef std::map<unsigned int, UintVsString> RomAddrVsExeName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   818
@@ -95,7 +95,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   819
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   820
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   821
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   822
-typedef enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   823
+enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   824
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   825
 	EUnknownImage,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   826
 	ERomImage,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   827
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   828
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-13 19:14:22.813082775 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   829
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   830
@@ -119,9 +119,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   831
 void DirReader::ProcessImage()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   832
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   833
 	char* cwd = new char[MAXPATHLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   834
-	getcwd(cwd,MAXPATHLEN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   835
+	char *cp = getcwd(cwd,MAXPATHLEN); (void)cp;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   836
 	ReadDir(iImgFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   837
-	chdir(cwd);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   838
+	int i = chdir(cwd); (void)i;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   839
 	if(cwd != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   840
 		delete [] cwd;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   841
 	cwd = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   842
@@ -139,8 +139,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   843
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   844
 void DirReader::ReadDir(String aPath)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   845
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   846
+#ifndef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   847
 	int handle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   848
 	int retVal = 0; 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   849
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   850
+ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   851
 	E32Image* e32Image = KNull;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   852
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   853
 #ifdef __LINUX__
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   854
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/e32reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/e32reader.cpp
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   855
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/libimgutils/src/e32reader.cpp	2010-05-13 19:14:22.813082775 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   856
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/e32reader.cpp	2010-05-15 16:45:25.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   857
@@ -24,6 +24,7 @@
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   858
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   859
 #include "e32reader.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   860
 #include <f32image.h>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   861
+#include <cstdlib>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   862
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   863
 /** 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   864
 Constructor.
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   865
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   866
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-13 19:14:22.856604788 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   867
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   868
@@ -25,6 +25,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   869
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   870
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   871
 #include "cmdlinehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   872
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   873
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   874
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   875
 Constructor initializes the iOptionMap with short and long option names as key and
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   876
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   877
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-13 19:14:22.856604788 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   878
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   879
@@ -24,6 +24,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   880
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   881
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   882
 #include "cmdlinewriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   883
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   884
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   885
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   886
 Constructor: CmdLineWriter class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   887
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   888
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-13 19:14:22.856604788 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   889
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   890
@@ -187,7 +187,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   891
     
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   892
 	if(iCmdFlag & KVerbose)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   893
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   894
-		cout << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   895
+		std::cout << aMsg.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   896
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   897
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   898
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   899
@@ -207,10 +207,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   900
 	iLogStream <<  aMsg.c_str() << "\n";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   901
 	if(aMsg.find("Success") != String::npos)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   902
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   903
-		cout << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   904
+		std::cout << aMsg.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   905
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   906
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   907
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   908
-		cerr << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   909
+		std::cerr << aMsg.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   910
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   911
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   912
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   913
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-13 19:14:22.861082172 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   914
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   915
@@ -249,8 +249,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   916
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   917
 		exeAtt->iAttStatus = KNull;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   918
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   919
-	if((iAllExecutables 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   920
-		|| (exeAtt->iAttStatus == KDuplicate)) && !exeAtt->iAttStatus.empty() 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   921
+	if(((iAllExecutables 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   922
+		|| (exeAtt->iAttStatus == KDuplicate)) && !exeAtt->iAttStatus.empty())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   923
 		|| iNoCheck)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   924
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   925
 		aExeContainer->iExeAttList.push_back(exeAtt);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   926
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   927
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-13 19:14:22.861082172 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   928
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   929
@@ -24,9 +24,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   930
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   931
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   932
 #include "xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   933
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   934
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   935
 #ifndef __LINUX__		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   936
-	#include "/epoc32/gcc_mingw/include/windows.h"	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   937
+    #include <windows.h>	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   938
 #endif //__LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   939
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   940
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   941
@@ -99,7 +100,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   942
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   943
 	xslSourcePath.append(KXslFileName.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   944
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   945
-	ifstream xslSourceHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   946
+	Ifstream xslSourceHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   947
 	xslSourceHandle.open(xslSourcePath.c_str(), Ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   948
 	if(!xslSourceHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   949
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   950
@@ -116,7 +117,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   951
 	xslSourceHandle.read(filetocopy,fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   952
 	xslSourceHandle.close();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   953
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   954
-	ofstream xslDestHandle(xslDestPath.c_str(), Ios::binary | Ios::out);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   955
+	Ofstream xslDestHandle(xslDestPath.c_str(), Ios::binary | Ios::out);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   956
 	if(!xslDestHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   957
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   958
 		delete [] filetocopy;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   959
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   960
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-13 19:14:23.441088858 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   961
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   962
@@ -8,7 +8,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   963
 #include <boost/thread/detail/config.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   964
 #include <boost/thread/exceptions.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   965
 #include <boost/shared_ptr.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   966
-#include <boost/enable_shared_from_this.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   967
+#include <boost/smart_ptr/enable_shared_from_this.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   968
 #include <boost/thread/mutex.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   969
 #include <boost/optional.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   970
 #include <pthread.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   971
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   972
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-13 19:14:23.493081572 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   973
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   974
@@ -20,6 +20,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   975
 #include "deflate.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   976
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   977
 #include "panic.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   978
+#define OFFSETOF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   979
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   980
 class HDeflateHash
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   981
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   982
@@ -89,7 +90,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   983
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   984
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   985
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   986
-	return new(HMem::Alloc(0,_FOFF(HDeflateHash,iOffset[Min(aLinks,KDeflateMaxDistance)]))) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   987
+	return new(new char[OFFSETOF(HDeflateHash,iOffset[0]) + 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   988
+		(sizeof(TOffset) * Min(aLinks,KDeflateMaxDistance))]) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   989
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   990
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   991
 inline TInt HDeflateHash::Hash(const TUint8* aPtr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   992
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   993
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-13 19:14:23.497082779 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
   994
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   995
@@ -21,7 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   996
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   997
 #include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   998
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   999
-char* HuffmanError[]=	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1000
+char const * HuffmanError[]=	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1001
 						"Huffman: Too many codes\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1002
 						"Huffman: Invalid coding\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1003
 						"Huffman: Buffer overflow\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1004
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1005
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-13 19:14:23.497082779 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1006
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1007
@@ -55,7 +55,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1008
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1009
 	for (i=1; i<4; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1010
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1011
-		char* endptr = "failed";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1012
+		char * endptr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1013
 		uids[i] = strtoul(argv[i],&endptr,0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1014
 		if (*endptr!='\0')
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1015
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1016
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1017
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-13 19:14:23.501082380 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1018
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1019
@@ -36,8 +36,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1020
 class ErrorHandler
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1021
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1022
 	public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1023
-		ErrorHandler(int aMessageIndex,char* aSubMessage,char* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1024
-        ErrorHandler(int aMessageIndex, char* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1025
+		ErrorHandler(int aMessageIndex,char const * aSubMessage,char const * aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1026
+        ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1027
 		virtual ~ErrorHandler();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1028
 		void Report();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1029
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1030
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/filesysteminterface.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/filesysteminterface.h
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1031
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/filesysteminterface.h	2010-05-13 19:14:23.501082380 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1032
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/filesysteminterface.h	2010-05-15 16:42:12.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1033
@@ -24,6 +24,7 @@
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1034
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1035
 #include "directory.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1036
 #include <fstream>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1037
+#include <cstdlib>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1038
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1039
 typedef std::ofstream Ofstream;
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1040
 
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1041
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1042
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-13 19:14:23.501082380 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1043
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1044
@@ -36,9 +36,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1045
     public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1046
 		static Message *GetInstance();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1047
 		static void CleanUp();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1048
-		static void StartLogging(char *filename);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1049
-		static void CreateMessageFile(char *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1050
-		static void ReportMessage(int aMsgType, int aMsgIndex,char* aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1051
+		static void StartLogging(char const *filename);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1052
+		static void CreateMessageFile(char const *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1053
+		static void ReportMessage(int aMsgType, int aMsgIndex,char const* aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1054
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1055
     private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1056
 		static Message* iInstance;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1057
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1058
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-13 19:14:23.501082380 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1059
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1060
@@ -84,7 +84,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1061
 		// display message to output device
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1062
 		virtual void Output(const char *aName) =0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1063
 		// start logging to a file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1064
-		virtual void StartLogging(char *fileName)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1065
+		virtual void StartLogging(char const *fileName)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1066
 		virtual void ReportMessage(int aMsgType, int aMsgIndex,...)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1067
 		virtual void InitializeMessages()=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1068
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1069
@@ -105,7 +105,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1070
 		char* GetMessageString(int errorIndex);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1071
 		void Output(const char *aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1072
 		void LogOutput(const char *aString);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1073
-		void StartLogging(char *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1074
+		void StartLogging(char const *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1075
 		void ReportMessage(int aMsgType, int aMsgIndex,...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1076
 		void InitializeMessages();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1077
     private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1078
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1079
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1080
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1081
@@ -143,7 +143,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1082
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1083
 	if(iCurrentClusterNumber >= iTotalNumberOfClusters)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1084
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1085
-    	throw ErrorHandler(IMAGESIZETOOBIG,"Occupied number of clusters count exceeded than available clusters",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1086
+    	throw ErrorHandler(IMAGESIZETOOBIG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1087
+			"Occupied number of clusters count exceeded than available clusters",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1088
+			__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1089
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1090
 	++iCurrentClusterNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1091
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1092
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1093
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1094
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1095
@@ -49,7 +49,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1096
 	iClusterPtr = CCluster::Instance(iClusterSize,totalClusters);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1097
 	if(iClusterPtr == NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1098
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1099
-		throw ErrorHandler(CLUSTERERROR,"Instance creation error", __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1100
+		throw ErrorHandler(CLUSTERERROR,"Instance creation error",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1101
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1102
 	iClusterSize = iClusterPtr->GetClusterSize();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1103
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1104
@@ -117,7 +117,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1105
 	aOutPutStream.flush();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1106
 	if(aOutPutStream.bad())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1107
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1108
-		throw ErrorHandler(FILEWRITEERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1109
+		throw ErrorHandler(FILEWRITEERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1110
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1111
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1112
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1113
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1114
@@ -175,7 +176,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1115
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1116
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1117
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1118
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1119
+		throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1120
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1121
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1122
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1123
@@ -247,7 +248,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1124
 	if(tempString.length() == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1125
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1126
 		tempString.erase();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1127
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1128
+		throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1129
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1130
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1131
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1132
@@ -314,7 +315,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1133
 	iInputStream.open(aEntry->GetFilePath().c_str(),Ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1134
 	if(iInputStream.fail() == true )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1135
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1136
-		throw ErrorHandler(FILEOPENERROR,(char*)aEntry->GetFilePath().c_str(),__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1137
+		throw ErrorHandler(FILEOPENERROR,aEntry->GetFilePath().c_str(),
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1138
+			__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1139
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1140
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1141
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1142
@@ -324,7 +326,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1143
 		char* dataBuffer = (char*)malloc((unsigned int)fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1144
 		if(dataBuffer == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1145
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1146
-			throw ErrorHandler(MEMORYALLOCATIONERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1147
+			throw ErrorHandler(MEMORYALLOCATIONERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1148
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1149
 		//Read the whole file in one short
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1150
 		iInputStream.read (dataBuffer,fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1151
@@ -332,7 +334,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1152
 		Long64 bytesRead = (unsigned int)iInputStream.tellg();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1153
 		if((iInputStream.bad()) || (bytesRead != fileSize))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1154
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1155
-			throw ErrorHandler(FILEREADERROR,(char*)aEntry->GetFilePath().c_str(), __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1156
+			throw ErrorHandler(FILEREADERROR,aEntry->GetFilePath().c_str(),
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1157
+				__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1158
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1159
 		String clusterData(dataBuffer,(unsigned int)bytesRead);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1160
 		PushStringIntoClusterMap(iClusterPtr->GetCurrentClusterNumber(),clusterData,iClusterSize,aEntry->GetEntryAttribute());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1161
@@ -544,12 +547,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1162
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1163
 		if(aNodeList.front()->GetEntryList()->size() <= 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1164
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1165
-			throw ErrorHandler(NOENTRIESFOUND, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1166
+			throw ErrorHandler(NOENTRIESFOUND,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1167
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1168
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1169
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1170
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1171
-		throw ErrorHandler(ROOTNOTFOUND, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1172
+		throw ErrorHandler(ROOTNOTFOUND,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1173
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1174
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1175
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1176
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1177
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1178
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1179
@@ -22,9 +22,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1180
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1181
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1182
 #include "messagehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1183
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1184
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1185
-char *errMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1186
-char *Gspace=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1187
+char const *errMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1188
+char const *Gspace=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1189
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1190
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1191
 ErrorHandler constructor for doing common thing required for derived 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1192
@@ -41,7 +42,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1193
 @param aFileName - File name from where the error is thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1194
 @param aLineNumber - Line number from where the error is thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1195
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1196
-ErrorHandler::ErrorHandler(int aMessageIndex, char* aSubMessage, char* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1197
+ErrorHandler::ErrorHandler(int aMessageIndex, char const* aSubMessage, char const* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1198
                             :iSubMessage(aSubMessage), iFileName(aFileName), iLineNumber(aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1199
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1200
 	iMessageIndex = aMessageIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1201
@@ -60,7 +61,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1202
 @param aFileName - File name from where the error is thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1203
 @param aLineNumber - Line number from where the error is thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1204
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1205
-ErrorHandler::ErrorHandler(int aMessageIndex, char* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1206
+ErrorHandler::ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1207
                             : iFileName(aFileName), iLineNumber(aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1208
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1209
 	iMessageIndex = aMessageIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1210
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1211
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1212
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1213
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1214
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1215
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1216
 #include "fat16bootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1217
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1218
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1219
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1220
 Constructor of the fat16 boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1221
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1222
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1223
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1224
@@ -21,7 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1225
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1226
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1227
 #include"fat16filesystem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1228
-
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1229
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1230
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1231
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1232
 Initializes the boot sector of a FAT 16 volume
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1233
@@ -76,45 +76,45 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1234
 	//copying of boot sector values in to the array
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1235
 	iData = new unsigned char[BytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1236
 	unsigned int pos = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1237
-	memcpy(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1238
+	memmove(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1239
 	pos += 3;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1240
-	memcpy(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1241
+	memmove(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1242
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1243
-	memcpy(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1244
+	memmove(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1245
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1246
-	memcpy(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1247
+	memmove(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1248
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1249
-	memcpy(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1250
+	memmove(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1251
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1252
-	memcpy(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1253
+	memmove(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1254
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1255
-	memcpy(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1256
+	memmove(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1257
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1258
-	memcpy(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1259
+	memmove(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1260
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1261
-	memcpy(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1262
+	memmove(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1263
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1264
-	memcpy(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1265
+	memmove(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1266
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1267
-	memcpy(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1268
+	memmove(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1269
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1270
-	memcpy(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1271
+	memmove(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1272
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1273
-	memcpy(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1274
+	memmove(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1275
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1276
-	memcpy(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1277
+	memmove(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1278
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1279
-	memcpy(&iData[pos],&BootSectorDriveNumber,1);		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1280
+	memmove(&iData[pos],&BootSectorDriveNumber,1);		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1281
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1282
-	memcpy(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1283
+	memmove(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1284
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1285
-	memcpy(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1286
+	memmove(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1287
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1288
-	memcpy(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1289
+	memmove(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1290
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1291
-	memcpy(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1292
+	memmove(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1293
 	pos += 11;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1294
-	memcpy(&iData[pos],FileSysType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1295
+	memmove(&iData[pos],FileSysType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1296
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1297
 	while(pos < BytesPerSector)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1298
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1299
@@ -133,7 +133,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1300
 	ComputeClusterSizeInBytes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1301
 	ComputeRootDirSectors();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1302
 	ComputeBytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1303
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG, "FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1304
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG,"FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1305
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1306
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1307
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1308
@@ -195,8 +195,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1309
 		// Each FAT16 entries occupies 2 bytes, hence multiply by 2
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1310
 		aFatString.append((totalFatEntries - clusterCounter)*2, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1311
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1312
-	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1313
-								   "FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1314
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1315
+	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,"FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1316
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1317
 	// Write FAT table multiple times depending upon the No of FATS set.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1318
 	unsigned int noOfFats = iFAT16BootSector.NumberOfFats();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1319
@@ -313,6 +313,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1320
 	catch(...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1321
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1322
 		delete dirRegionPtr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1323
-		throw ErrorHandler(UNKNOWNERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1324
+		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1325
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1326
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1327
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1328
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1329
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1330
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1331
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1332
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1333
 #include "fat32bootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1334
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1335
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1336
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1337
 Constructor of the fat16 boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1338
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1339
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1340
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1341
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1342
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1343
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1344
 #include"fat32filesystem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1345
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1346
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1347
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1348
 Initializes the boot sector of a FAT 32 volume
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1349
@@ -90,59 +91,59 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1350
 	//copying of boot sector values in to the array
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1351
 	iData = new unsigned char[BytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1352
 	unsigned int pos = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1353
-	memcpy(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1354
+	memmove(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1355
 	pos += 3;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1356
-	memcpy(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1357
+	memmove(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1358
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1359
-	memcpy(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1360
+	memmove(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1361
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1362
-	memcpy(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1363
+	memmove(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1364
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1365
-	memcpy(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1366
+	memmove(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1367
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1368
-	memcpy(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1369
+	memmove(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1370
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1371
-	memcpy(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1372
+	memmove(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1373
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1374
-	memcpy(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1375
+	memmove(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1376
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1377
-	memcpy(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1378
+	memmove(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1379
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1380
-	memcpy(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1381
+	memmove(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1382
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1383
-	memcpy(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1384
+	memmove(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1385
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1386
-	memcpy(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1387
+	memmove(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1388
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1389
-	memcpy(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1390
+	memmove(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1391
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1392
-	memcpy(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1393
+	memmove(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1394
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1395
-	memcpy(&iData[pos],&FatSectors32,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1396
+	memmove(&iData[pos],&FatSectors32,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1397
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1398
-	memcpy(&iData[pos],&ExtFlags,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1399
+	memmove(&iData[pos],&ExtFlags,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1400
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1401
-	memcpy(&iData[pos],&FileSystemVersion,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1402
+	memmove(&iData[pos],&FileSystemVersion,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1403
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1404
-	memcpy(&iData[pos],&RootCluster,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1405
+	memmove(&iData[pos],&RootCluster,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1406
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1407
-	memcpy(&iData[pos],&FSInfo,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1408
+	memmove(&iData[pos],&FSInfo,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1409
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1410
-	memcpy(&iData[pos],&BackUpBootSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1411
+	memmove(&iData[pos],&BackUpBootSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1412
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1413
-	memcpy(&iData[pos],FutureReserved,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1414
+	memmove(&iData[pos],FutureReserved,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1415
 	pos += 12;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1416
-	memcpy(&iData[pos],&BootSectorDriveNumber,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1417
+	memmove(&iData[pos],&BootSectorDriveNumber,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1418
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1419
-	memcpy(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1420
+	memmove(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1421
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1422
-	memcpy(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1423
+	memmove(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1424
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1425
-	memcpy(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1426
+	memmove(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1427
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1428
-	memcpy(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1429
+	memmove(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1430
 	pos += 11;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1431
-	memcpy(&iData[pos],FileSystemType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1432
+	memmove(&iData[pos],FileSystemType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1433
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1434
 	while(pos < BytesPerSector)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1435
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1436
@@ -159,7 +160,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1437
 	ComputeClusterSizeInBytes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1438
 	ComputeRootDirSectors();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1439
 	ComputeBytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1440
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG, "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1441
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1442
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1443
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1444
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1445
@@ -172,7 +173,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1446
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1447
 void CFat32FileSystem::WriteBootSector(ofstream& aOutPutStream)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1448
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1449
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORWRITEMSG, "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1450
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORWRITEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1451
 	aOutPutStream.write(reinterpret_cast<char*>(&iData[0]),iFAT32BootSector.BytesPerSector());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1452
 	aOutPutStream.flush();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1453
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1454
@@ -228,8 +229,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1455
 		// Each FAT32 entries occupies 4 bytes, hence multiply by 4
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1456
 		aFatString.append((totalFatEntries - clusterCounter)*4, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1457
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1458
-	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1459
-								   "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1460
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1461
+	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1462
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1463
 	//Write FAT table multiple times depending on the value of No of FATS set.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1464
 	unsigned int noOfFats = iFAT32BootSector.NumberOfFats();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1465
 	for(unsigned int i=0; i<noOfFats; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1466
@@ -254,19 +256,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1467
 	unsigned int bytesPerSector = iFAT32BootSector.BytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1468
 	FSinfoData = new unsigned char[bytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1469
 	iFSInfo.SetFSInfo();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1470
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_LeadSign,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1471
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_LeadSign,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1472
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1473
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Reserved,480);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1474
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Reserved,480);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1475
 	counter += 480;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1476
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_StrucSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1477
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_StrucSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1478
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1479
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Free_Count,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1480
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Free_Count,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1481
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1482
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Nxt_Free,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1483
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Nxt_Free,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1484
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1485
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Reserved2,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1486
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Reserved2,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1487
 	counter += 12;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1488
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_TrailSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1489
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_TrailSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1490
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1491
 	counter += (bytesPerSector-KSizeOfFatBootSector);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1492
 	aOutPutStream.write(reinterpret_cast<char*>(&FSinfoData[0]),counter);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1493
@@ -367,11 +369,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1494
  	iTotalClusters = totalDataSectors / iFAT32BootSector.SectorsPerCluster();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1495
 	if(iTotalClusters < KMinimumFat32Clusters)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1496
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1497
-		throw ErrorHandler(BOOTSECTORERROR,"Low Partition Size",__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1498
+		throw ErrorHandler(BOOTSECTORERROR,"Low Partition Size",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1499
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1500
 	else if(iTotalClusters > KMaximumFat32Clusters)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1501
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1502
-		throw ErrorHandler(BOOTSECTORERROR,"high Partition Size",__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1503
+		throw ErrorHandler(BOOTSECTORERROR,"high Partition Size",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1504
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1505
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1506
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1507
@@ -424,7 +426,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1508
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1509
 		delete dirRegionPtr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1510
 		dirRegionPtr = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1511
-		throw ErrorHandler(UNKNOWNERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1512
+		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1513
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1514
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1515
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1516
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1517
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1518
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1519
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1520
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1521
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1522
 #include "fatbasebootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1523
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1524
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1525
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1526
 Constructor of the base boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1527
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1528
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-13 19:14:23.505082539 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1529
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1530
@@ -62,7 +62,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1531
 		iOutputStream.open(aImageFileName,ios::out|ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1532
 		if(iOutputStream.fail() == true )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1533
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1534
-			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1535
+			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1536
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1537
 		switch(aFileSystem)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1538
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1539
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1540
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-13 19:14:23.509081790 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1541
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1542
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1543
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1544
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1545
 #include "longname.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1546
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1547
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1548
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1549
 /** 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1550
@@ -48,7 +49,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1551
 	iLongNameLength = iLongName.length();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1552
 	if(iLongNameLength == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1553
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1554
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1555
+		throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1556
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1557
 	FormatLongFileName(iLongName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1558
 	iShortName = GetShortEntryName();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1559
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1560
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-13 19:14:23.509081790 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1561
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1562
@@ -51,7 +51,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1563
 @param aFileName
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1564
 Name of the Log File
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1565
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1566
-void MessageHandler::StartLogging(char *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1567
+void MessageHandler::StartLogging(char const *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1568
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1569
     GetInstance()->StartLogging(aFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1570
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1571
@@ -74,7 +74,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1572
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1573
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1574
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1575
-void MessageHandler::ReportMessage(int aMsgType, int aMsgIndex,char* aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1576
+void MessageHandler::ReportMessage(int aMsgType, int aMsgIndex,char const* aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1577
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1578
 	GetInstance()->ReportMessage(aMsgType,aMsgIndex,aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1579
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1580
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1581
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-13 19:14:23.509081790 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1582
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1583
@@ -23,15 +23,17 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1584
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1585
 #include "messageimplementation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1586
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1587
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1588
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1589
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1590
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1591
 typedef std::string String;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1592
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1593
-char *errorMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1594
-char *warnMssgPrefix="FileSystem : Warning:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1595
-char *infoMssgPrefix="FileSystem : Information:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1596
-char *Space=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1597
+char const *errorMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1598
+char const *warnMssgPrefix="FileSystem : Warning:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1599
+char const *infoMssgPrefix="FileSystem : Information:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1600
+char const *Space=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1601
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1602
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1603
 enum MessageArraySize{MAX=16};
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1604
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1605
@@ -202,7 +204,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1606
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1607
 @param aFileName - Name of the Log file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1608
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1609
-void MessageImplementation::StartLogging(char *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1610
+void MessageImplementation::StartLogging(char const *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1611
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1612
 	char logFile[1024];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1613
 	FILE *fptr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1614
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1615
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/host/h_utl.cpp	2010-05-13 19:14:23.509081790 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1616
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1617
@@ -177,7 +177,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1618
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1619
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1620
 	TInt build=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1621
-	memset(&aVersion, sizeof(TVersion), 0);	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1622
+	memset(&aVersion, 0, sizeof(TVersion));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1623
 	TInt i;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1624
 	TInt len=strlen(str);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1625
 	for (i=0; i<len; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1626
@@ -192,7 +192,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1627
 		{ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1628
 		cout << "\n Warning: major version must be in range 0 - 127 \n";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1629
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1630
-	char* pMinor = strchr(str, '.');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1631
+	char const * pMinor = strchr(str, '.');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1632
 	if (pMinor)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1633
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1634
 		pMinor++; 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1635
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1636
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/inc/h_utl.h	2010-05-13 19:14:23.513082299 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1637
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1638
@@ -65,9 +65,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1639
 #define _stricmp strcasecmp		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1640
 #define strnicmp strncasecmp	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1641
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1642
-// to fix the linux problem: memcpy does not work with overlapped areas.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1643
-#define memcpy memmove
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1644
-
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1645
 // hand-rolled strupr function for converting a string to all uppercase
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1646
 char* strupr(char *a);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1647
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1648
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1649
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-13 19:14:23.513082299 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1650
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1651
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1652
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1653
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1654
 #include "parameterfileprocessor.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1655
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1656
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1657
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1658
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1659
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1660
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF	2010-05-13 19:14:23.517082109 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1661
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1662
@@ -15,13 +15,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1663
 *
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1664
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1665
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1666
+#include <productvariant.hrh>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1667
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1668
 PRJ_PLATFORMS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1669
 TOOLS2
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1670
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1671
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1672
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1673
-../maksym/fixupsym.bat              /epoc32/tools/fixupsym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1674
+../maksym/fixupsym.bat              EPOCROOT_EXPORT_PATH(epoc32/tools/fixupsym.bat)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1675
 ../maksym/hpsym.bat                 /epoc32/tools/hpsym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1676
 ../maksym/maksym.bat                /epoc32/tools/maksym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1677
 ../maksym/maksymrofs.bat            /epoc32/tools/maksymrofs.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1678
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1679
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp	2010-05-13 19:14:23.517082109 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1680
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1681
@@ -45,15 +45,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1682
 userinclude     ..\..\imglib\compress 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1683
 userinclude		..\..\imglib\patchdataprocessor\include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1684
 userinclude		..\..\sisutils\inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1685
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1686
 userinclude   ..\..\imglib\boostlibrary
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1687
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1688
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1689
 USERINCLUDE ..\..\imglib\inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1690
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1691
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1692
 staticlibrary 	sisutils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1693
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1694
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1695
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1696
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1697
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1698
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1699
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1700
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1701
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/common.h	2010-05-13 19:14:23.521083525 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1702
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1703
@@ -46,7 +46,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1704
 #define DLL_UID1	10000079
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1705
 #define EXE_UID1	1000007a
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1706
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1707
-typedef enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1708
+enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1709
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1710
 	EUNKNOWN_IMAGE,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1711
 	EROM_IMAGE,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1712
@@ -98,7 +98,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1713
 	void Report();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1714
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1715
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1716
-ostream& DumpInHex(char* aDesc, TUint32 aData, bool aContinue = false,TUint aDataWidth=8,\
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1717
-				   char aFiller='0', TUint aMaxDescWidth=28);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1718
+ostream& DumpInHex(char const * aDesc, TUint32 aData, bool aContinue = false,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1719
+			TUint aDataWidth=8, char aFiller='0', TUint aMaxDescWidth=28);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1720
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1721
 #endif //__IMAGE_READER_COMMON_H_
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1722
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1723
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-13 19:14:23.521083525 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1724
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1725
@@ -27,7 +27,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1726
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1727
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1728
 #include "common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1729
-#include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1730
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1731
+	#include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1732
+	#define GETCWD	_getcwd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1733
+	#define CHDIR	_chdir
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1734
+	#define MKDIR(dir)	_mkdir(dir)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1735
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1736
+	#include <sys/stat.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1737
+	#include <unistd.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1738
+	#define GETCWD	getcwd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1739
+	#define CHDIR	chdir
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1740
+	#define MKDIR(dir)	mkdir((dir),S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1741
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1742
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1743
 #include <map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1744
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1745
 typedef struct tag_FILEINFO
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1746
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1747
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-13 19:14:23.521083525 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1748
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1749
@@ -65,10 +65,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1750
 	void DumpDirStructure();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1751
 	void DumpFileAttributes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1752
 	void MarkNodes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1753
-	void SetSeek(streampos aOff, ios::seek_dir aStartPos=ios::beg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1754
+	void SetSeek(streampos aOff, std::ios_base::seekdir aStartPos);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1755
 	void ExtractImageContents();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1756
 	void CheckFileExtension(char* aFileName,TRomBuilderEntry* aEntry,TRomNode* aNode,ofstream& aLogFile );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1757
-	void GetCompleteNodePath(TRomNode* aNode,string& aName,char* aAppStr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1758
+	void GetCompleteNodePath(TRomNode* aNode,string& aName,char const* aAppStr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1759
 	void WriteEntryToFile(char* aFileName,TRomNode* aNode,ofstream& aLogFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1760
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1761
 	void GetFileInfo(FILEINFOMAP &aFileMap);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1762
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1763
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/common.cpp	2010-05-13 19:14:23.521083525 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1764
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1765
@@ -40,7 +40,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1766
 	*out << "Usage Error:" << iErrMessage.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1767
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1768
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1769
-ostream& DumpInHex(char* aDesc, TUint32 aData, bool aContinue, TUint aDataWidth, \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1770
+ostream& DumpInHex(char const* aDesc, TUint32 aData, bool aContinue, TUint aDataWidth, \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1771
 				   char aFiller, TUint aMaxDescWidth)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1772
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1773
 	TUint aDescLen = strlen(aDesc);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1774
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1775
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1776
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1777
@@ -75,26 +75,26 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1778
 	bool aContinue = true;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1779
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1780
 	DumpInHex("Size", aE32Image.iSize ) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1781
-	DumpInHex("Uids",aE32Image.iOrigHdr->iUid1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1782
-	DumpInHex(" ",aE32Image.iOrigHdr->iUid2, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1783
-	DumpInHex(" ",aE32Image.iOrigHdr->iUid3, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1784
-	DumpInHex(" ",aE32Image.iOrigHdr->iUidChecksum, aContinue) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1785
+	DumpInHex("Uids", aE32Image.iOrigHdr->iUid1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1786
+	DumpInHex(" ", aE32Image.iOrigHdr->iUid2, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1787
+	DumpInHex(" ", aE32Image.iOrigHdr->iUid3, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1788
+	DumpInHex(" ", aE32Image.iOrigHdr->iUidChecksum, aContinue) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1789
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1790
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1791
 	DumpInHex("Entry point", aE32Image.iOrigHdr->iEntryPoint ) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1792
-	DumpInHex("Code start addr" ,aE32Image.iOrigHdr->iCodeBase)<< endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1793
-	DumpInHex("Data start addr" ,aE32Image.iOrigHdr->iDataBase) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1794
-	DumpInHex("Text size" ,aE32Image.iOrigHdr->iTextSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1795
-	DumpInHex("Code size" ,aE32Image.iOrigHdr->iCodeSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1796
-	DumpInHex("Data size" ,aE32Image.iOrigHdr->iDataSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1797
-	DumpInHex("Bss size" ,aE32Image.iOrigHdr->iBssSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1798
-	DumpInHex("Total data size" ,(aE32Image.iOrigHdr->iBssSize + aE32Image.iOrigHdr->iDataSize)) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1799
-	DumpInHex("Heap min" ,aE32Image.iOrigHdr->iHeapSizeMin) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1800
-	DumpInHex("Heap max" ,aE32Image.iOrigHdr->iHeapSizeMax) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1801
-	DumpInHex("Stack size" ,aE32Image.iOrigHdr->iStackSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1802
-	DumpInHex("Export directory" ,aE32Image.iOrigHdr->iExportDirOffset) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1803
-	DumpInHex("Export dir count" ,aE32Image.iOrigHdr->iExportDirCount) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1804
-	DumpInHex("Flags" ,aE32Image.iOrigHdr->iFlags) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1805
+	DumpInHex("Code start addr", aE32Image.iOrigHdr->iCodeBase)<< endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1806
+	DumpInHex("Data start addr", aE32Image.iOrigHdr->iDataBase) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1807
+	DumpInHex("Text size", aE32Image.iOrigHdr->iTextSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1808
+	DumpInHex("Code size", aE32Image.iOrigHdr->iCodeSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1809
+	DumpInHex("Data size", aE32Image.iOrigHdr->iDataSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1810
+	DumpInHex("Bss size", aE32Image.iOrigHdr->iBssSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1811
+	DumpInHex("Total data size", (aE32Image.iOrigHdr->iBssSize + aE32Image.iOrigHdr->iDataSize)) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1812
+	DumpInHex("Heap min", aE32Image.iOrigHdr->iHeapSizeMin) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1813
+	DumpInHex("Heap max", aE32Image.iOrigHdr->iHeapSizeMax) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1814
+	DumpInHex("Stack size", aE32Image.iOrigHdr->iStackSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1815
+	DumpInHex("Export directory", aE32Image.iOrigHdr->iExportDirOffset) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1816
+	DumpInHex("Export dir count", aE32Image.iOrigHdr->iExportDirCount) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1817
+	DumpInHex("Flags", aE32Image.iOrigHdr->iFlags) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1818
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1819
 	TUint aHeaderFmt = E32ImageHeader::HdrFmtFromFlags(aE32Image.iOrigHdr->iFlags);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1820
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1821
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1822
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1823
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1824
@@ -392,7 +392,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1825
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1826
 		if(iInputFileName.empty())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1827
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1828
-			throw SisUtilsException("Usage Error", "No SIS file passed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1829
+			throw SisUtilsException("Usage Error","No SIS file passed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1830
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1831
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1832
 		iSisUtils = new Sis2Iby((char*)iInputFileName.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1833
@@ -409,7 +409,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1834
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1835
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1836
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1837
-			throw SisUtilsException("Error:", "Cannot create Sis2Iby object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1838
+			throw SisUtilsException("Error:","Cannot create Sis2Iby object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1839
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1840
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1841
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1842
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1843
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1844
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1845
@@ -173,7 +173,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1846
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1847
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1848
 	// get the current working directory and store in buffer.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1849
-	if( _getcwd(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1850
+	if( GETCWD(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1851
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1852
 		// throw an exception if unable to get current working directory information.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1853
 		throw ImageReaderException((char*)ImageReader::iImgFileName.c_str(), "Failed to get the current working directory");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1854
@@ -191,7 +191,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1855
 			changeToDrive.append(aDelimiter);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1856
 			
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1857
 			// change the current working directory to the specified directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1858
-			if( _chdir(changeToDrive.c_str()) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1859
+			if( CHDIR(changeToDrive.c_str()) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1860
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1861
 				// throw an exception if unable to change the directory specified.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1862
 				throw ImageReaderException((char*)ImageReader::iImgFileName.c_str(), "Failed to change to the directory specified");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1863
@@ -200,23 +200,23 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1864
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1865
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1866
 			// if not,then create a cPtr directory. 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1867
-			_mkdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1868
+			MKDIR(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1869
 			// change the current working directory to cPtr.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1870
-			_chdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1871
+			int r = CHDIR(cPtr); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1872
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1873
 		// repeat till cPtr is NULL.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1874
 		while (cPtr!=NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1875
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1876
-			if (cPtr = strtok(NULL,aDelimiter))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1877
+			if ((cPtr = strtok(NULL,aDelimiter)) != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1878
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1879
 				// create the directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1880
-				_mkdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1881
+				MKDIR(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1882
 				// change current working directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1883
-				_chdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1884
+				int r = CHDIR(cPtr); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1885
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1886
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1887
 		// revert back the working directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1888
-		_chdir(currWorkingDir);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1889
+		int r = CHDIR(currWorkingDir); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1890
 		// replace the source path with the original path information.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1891
 		strcpy(aSrcPath,origPath.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1892
 		delete[] currWorkingDir;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1893
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1894
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1895
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1896
@@ -42,7 +42,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1897
 	delete iImageReader;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1898
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1899
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1900
-void RofsImageReader::SetSeek(streampos aOff, ios::seek_dir aStartPos)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1901
+void RofsImageReader::SetSeek(streampos aOff, std::ios_base::seekdir aStartPos)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1902
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1903
 	if(!iInputFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1904
 		return;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1905
@@ -417,7 +417,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1906
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1907
 		// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1908
 		path.assign( (char*)aNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1909
-		GetCompleteNodePath( aNode, path, "\\\\" );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1910
+		GetCompleteNodePath( aNode, path,"\\\\");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1911
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1912
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1913
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1914
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1915
@@ -462,7 +463,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1916
 @param aAppStr	- string to append.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1917
 @return - returns full path of the given file.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1918
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1919
-void RofsImageReader::GetCompleteNodePath(TRomNode* aNode,string& aName,char* aAppStr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1920
+void RofsImageReader::GetCompleteNodePath(TRomNode* aNode,string& aName, char const* aAppStr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1921
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1922
 	// check if the entry has a parent.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1923
 	TRomNode* NodeParent = aNode->GetParent();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1924
@@ -496,7 +497,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1925
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1926
 		// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1927
 		path.assign( (char*)aNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1928
-		GetCompleteNodePath( aNode, path, "\\" );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1929
+		GetCompleteNodePath( aNode, path,"\\");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1930
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1931
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1932
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1933
@@ -549,7 +550,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1934
 				{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1935
 					// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1936
 					fileName.assign( (char*)currNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1937
-					GetCompleteNodePath( currNode, fileName, (char*)DIR_SEPARATOR );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1938
+					GetCompleteNodePath( currNode, fileName,DIR_SEPARATOR );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1939
 				}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1940
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1941
 			else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1942
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1943
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1944
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1945
@@ -20,6 +20,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1946
 #include <e32rom.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1947
 #include "rom_image_reader.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1948
 #include "r_rom.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1949
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1950
+	#define ALLOCA _alloca
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1951
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1952
+	#include <alloca.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1953
+	#define ALLOCA alloca
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1954
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1955
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1956
 void InflateUnCompress(unsigned char* source, int sourcesize, unsigned char* dest, int destsize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1957
 RomImageFSEntry::RomImageFSEntry (const char* aName) : iName(aName), iSibling(0), iChildren(0) {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1958
@@ -495,7 +502,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1959
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1960
 void RomImageReader::Name(string& aName, const wchar_t* aUnicodeName, TUint aLen)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1961
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1962
-	char* temp = (char*)_alloca((aLen << 1) + 1) ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1963
+	char* temp = (char*)ALLOCA((aLen << 1) + 1) ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1964
 	size_t n = wcsrtombs(temp,&aUnicodeName,aLen,NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1965
 	if(n == (size_t)-1){ // the unicode string can not be coverted.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1966
 		aName = "???";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1967
@@ -695,8 +702,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1968
 	*out << left << prefix;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1969
 	out->width(40);	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1970
 	*out << right << file->Name() << "[" ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1971
-	DumpInHex( "", aRomImgEntry->iHardwareVariant, true) << "] ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1972
-	DumpInHex( " DataSize=", (aRomImgEntry->iBssSize + aRomImgEntry->iDataSize), true) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1973
+	DumpInHex("", aRomImgEntry->iHardwareVariant, true) << "] ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1974
+	DumpInHex(" DataSize=", (aRomImgEntry->iBssSize + aRomImgEntry->iDataSize), true) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1975
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1976
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1977
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1978
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1979
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  1980
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1981
@@ -29,7 +29,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1982
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1983
 #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1984
 	#include <iomanip>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1985
-	#include <strstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1986
+	#include <sstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1987
 #else //!__MSVCDOTNET__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1988
 	#include <iomanip.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1989
 #endif //__MSVCDOTNET__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1990
@@ -1218,22 +1218,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1991
 				f.UpdateHeaderCrc();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1992
 				if (overflow)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1993
 					{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1994
-					char * buffer = new char [size];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1995
-					// need to check if the compressed file will fit in the image
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1996
-   					#if defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1997
- 					ostrstream os((char*)aDest, aMaxSize, (ios::openmode)(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1998
-					#elif defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1999
-  					ostrstream os((char*)buffer, size,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2000
-  					#elif defined( __TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2001
-   					ostrstream os((char*)buffer, size,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2002
-					#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2003
-					ostrstream os( (char*)buffer, size, (ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2004
-					#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2005
+					ostringstream os(ios_base::out|ios_base::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2006
 					os << f;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2007
-					TUint compressedSize = os.pcount();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2008
+					TUint compressedSize = os.str().size();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2009
 					if (compressedSize <= aMaxSize)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2010
 						overflow = EFalse;	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2011
-					delete[] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2012
 					}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2013
 				}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2014
 			if (overflow)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2015
@@ -1242,15 +1231,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2016
 				Print(EError, "Overflowed by approximately 0x%x bytes.\n", size - aMaxSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2017
 				exit(667);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2018
 				}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2019
-  			#if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2020
-  			ostrstream os((char*)aDest, aMaxSize,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2021
-  			#elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2022
-			ostrstream os((char*)aDest, aMaxSize, (std::_Ios_Openmode)(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2023
-			#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2024
-			ostrstream os((char*)aDest, aMaxSize, (ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2025
-			#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2026
+  			ostringstream os(ios_base::out|ios_base::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2027
 			os << f;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2028
-			size = os.pcount();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2029
+			size = os.str().size();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2030
 			compression = f.iHdr->CompressionType();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2031
 			memcpy(&iUids[0], aDest, sizeof(iUids));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2032
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2033
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2034
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2035
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2036
@@ -305,7 +305,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2037
 @param aInfo Used by the caller to identify where the error occurred.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2038
 @return Error number. KErrNone is returned if there are no errors.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2039
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2040
-TInt RCoreImageReader::ImageError(int aItemsRead, int aExpected, char *aInfo)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2041
+TInt RCoreImageReader::ImageError(int aItemsRead, int aExpected, char const *aInfo)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2042
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2043
 	if (aItemsRead != aExpected)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2044
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2045
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2046
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-13 19:14:23.525082148 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2047
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2048
@@ -103,7 +103,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2049
 	TText* Filename();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2050
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2051
 	TInt ReadIdentifier();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2052
-	TInt ImageError(int aBytesRead, int aExpected, char* aInfo);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2053
+	TInt ImageError(int aBytesRead, int aExpected, char const* aInfo);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2054
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2055
 	/** Image type of the file being read */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2056
 	TImageType iImageType;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2057
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2058
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-05-13 19:14:23.529081888 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2059
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2060
@@ -254,7 +254,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2061
 	fileName.append("/");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2062
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2063
 	// Go through each entry
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2064
-	while(dirEntry = readdir(dirHandler))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2065
+	while((dirEntry = readdir(dirHandler)) != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2066
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2067
 		if(dirEntry->d_type != DT_DIR) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2068
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2069
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2070
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-13 19:14:23.529081888 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2071
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2072
@@ -82,7 +82,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2073
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2074
 Time Stamp for Log file.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2075
 */ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2076
-TAny GetLocalTime(TAny)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2077
+TAny GetLocalTime()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2078
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2079
 	struct tm *aNewTime = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2080
 	time_t aTime = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2081
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2082
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-13 19:14:23.529081888 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2083
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2084
@@ -24,6 +24,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2085
 #include <e32def.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2086
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2087
 TInt Getlogfile(TText *aDriveObeyFileName,TText* &aPadLogFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2088
-TAny GetLocalTime(TAny);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2089
+TAny GetLocalTime();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2090
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2091
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2092
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2093
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-13 19:14:23.529081888 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2094
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2095
@@ -47,6 +47,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2096
 #include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2097
 #include <assert.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2098
 #include <errno.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2099
+#include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2100
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2101
 #include <e32std.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2102
 #include <e32std_private.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2103
@@ -283,7 +284,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2104
 	iCurrentLine++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2105
 	iCurrentMark = ftell(iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2106
 	iLine[0]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2107
-	fgets((char*)iLine,imaxLength+1,iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2108
+	char *cp = fgets((char*)iLine,imaxLength+1,iObeyFile); (void)cp;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2109
 	iCurrentObeyStatement = new TText[imaxLength+1];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2110
 	strcpy((char*)iCurrentObeyStatement,(char*)iLine);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2111
 	iNumWords = Parse();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2112
@@ -646,13 +647,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2113
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2114
 		  if (keyword == EKeywordCoreImage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2115
 			  {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2116
-  			  #if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2117
-  			  istringstream val(iReader.Word(1),(ios_base::in+ios_base::out));	  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2118
-  			  #elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2119
-  			  istringstream val(iReader.Word(1),(std::_Ios_Openmode)(ios_base::in+ios_base::out));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2120
-			  #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2121
-			  istrstream val(iReader.Word(1),strlen(iReader.Word(1)));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2122
-			  #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2123
+			istringstream val(iReader.Word(1),ios_base::in|ios_base::out);	  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2124
 			  iReader.CopyWord(1, coreImageFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2125
 			  iReader.MarkNext(); // ready for processing extension
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2126
 			  break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2127
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2128
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-13 19:14:23.533081838 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2129
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2130
@@ -43,15 +43,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2131
 USERINCLUDE   ../../imglib/inc ../../imglib/compress ../../imglib/filesystem/include 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2132
 USERINCLUDE   ../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2133
 USERINCLUDE	  ../../imglib/memmap/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2134
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2135
 USERINCLUDE   ../../imglib/boostlibrary/
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2136
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2137
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2138
 STATICLIBRARY 	filesystem 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2139
 STATICLIBRARY   patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2140
 STATICLIBRARY   parameterfileprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2141
 STATICLIBRARY	memmap
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2142
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2143
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2144
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2145
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2146
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2147
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2148
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2149
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2150
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-13 19:14:23.529081888 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2151
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2152
@@ -584,9 +584,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2153
 			coffhead[0x54] = 0x20;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2154
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2155
 			// now fill in the text segment size
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2156
-			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2157
-			*(TUint32 *) (&coffhead[0x40]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2158
-
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2159
+			TUint32 * p0x18 = reinterpret_cast<TUint32 *>(&coffhead[0x18]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2160
+			*p0x18 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2161
+			TUint32 * p0x40 = reinterpret_cast<TUint32 *>(&coffhead[0x40]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2162
+			*p0x40 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2163
 			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2164
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2165
 		break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2166
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2167
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-13 19:14:23.533081838 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2168
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2169
@@ -47,7 +47,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2170
 Area::~Area()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2171
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2172
 	ReleaseAllFiles();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2173
-	free(const_cast<char*>(iName));	// allocated with strdup()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2174
+	free(iName);	// allocated with strdup()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2175
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2176
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2177
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2178
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2179
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_areaset.h	2010-05-13 19:14:23.533081838 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2180
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2181
@@ -104,7 +104,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2182
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2183
 	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2184
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2185
-	const char* iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2186
+	char* iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2187
 	TLinAddr iDestBaseAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2188
 	TLinAddr iSrcBaseAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2189
 	TLinAddr iSrcLimitAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2190
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2191
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-13 19:14:23.537081787 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2192
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2193
@@ -301,7 +301,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2194
 	iCurrentLine++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2195
 	iCurrentMark = ftell(iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2196
 	iLine[0]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2197
-	fgets((char*)iLine,imaxLength+1,iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2198
+	char * cp = fgets((char*)iLine,imaxLength+1,iObeyFile); (void)cp;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2199
 	iNumWords = Parse();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2200
 	return KErrNone;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2201
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2202
@@ -2973,13 +2973,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2203
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2204
 		if (keyword == EKeywordCoreImage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2205
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2206
-#if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2207
-			istringstream val(iReader.Word(1),(ios_base::in+ios_base::out));	  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2208
-#elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2209
-			istringstream val(iReader.Word(1),(std::_Ios_Openmode)(ios_base::in+ios_base::out));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2210
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2211
-			istrstream val(iReader.Word(1),strlen(iReader.Word(1)));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2212
-#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2213
+			istringstream val(iReader.Word(1),ios_base::in|ios_base::out);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2214
 			iReader.CopyWord(1, coreImageFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2215
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2216
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2217
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2218
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-13 19:14:23.541082016 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2219
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2220
@@ -41,7 +41,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2221
 userinclude	../../imglib/compress 	../../imglib/inc 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2222
 userinclude	../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2223
 userinclude ../../imglib/memmap/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2224
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2225
 userinclude	../../imglib/boostlibrary/
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2226
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2227
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2228
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2229
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2230
@@ -50,8 +52,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2231
 staticlibrary 	memmap
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2232
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2233
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2234
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2235
-OPTION    GCC -O2 -Wno-uninitialized -pthread
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2236
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2237
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2238
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2239
 OPTION    GCC -O2 -Wno-uninitialized -mthreads
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2240
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2241
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-13 19:14:23.541082016 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2242
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2243
@@ -1835,7 +1835,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2244
 			TRomFile** l=rf->iPDeps;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2245
 			FindMarked(MARK_EXE, MARK_EXE, l);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2246
 			TInt nx=l-rf->iPDeps;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2247
-			if (!e->IsDll() && (nx>1 || nx==1 && l[-1]!=rf))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2248
+			if (!e->IsDll() && (nx>1 || (nx==1 && l[-1]!=rf)))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2249
 				{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2250
 				Print(EError,"EXE %s links to the following other EXEs:\n", e->iFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2251
 				TInt j;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2252
@@ -2198,8 +2198,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2253
 			coffhead[0x54] = 0x20;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2254
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2255
 			// now fill in the text segment size
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2256
-			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2257
-			*(TUint32 *) (&coffhead[0x40]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2258
+			TUint32 * p0x18 = reinterpret_cast<TUint32 *>(&coffhead[0x18]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2259
+			*p0x18 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2260
+			TUint32 * p0x40 = reinterpret_cast<TUint32 *>(&coffhead[0x40]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2261
+			*p0x40 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2262
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2263
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2264
 			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2265
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2266
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2267
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2268
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2269
@@ -33,6 +33,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2270
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2271
 #include "pkglanguage.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2272
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2273
+int CompareTwoString(wchar_t const * string ,wchar_t const * option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2274
+int CompareNString(wchar_t const * string ,wchar_t const * option, int len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2275
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2276
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2277
 typedef class PkgParser PKGPARSER, *PPKGPARSER;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2278
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2279
 //Data structures for pkg file parsing
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2280
@@ -147,7 +151,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2281
 	int OpenFile();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2282
 	void DeleteAll();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2283
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2284
-	HANDLE iPkgHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2285
+	FILE * iPkgHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2286
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2287
 	LANGUAGE_LIST iLangList;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2288
 	PKG_HEADER iPkgHeader;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2289
@@ -162,7 +166,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2290
 	void GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2291
 	void GetNextToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2292
 	bool GetStringToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2293
-	WORD ParseEscapeChars();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2294
+	unsigned short ParseEscapeChars();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2295
 	void GetAlphaNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2296
 	bool IsNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2297
 	void GetNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2298
@@ -193,12 +197,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2299
 	VARIANTVAL m_tokenValue;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2300
 	int m_nLineNo;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2301
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2302
-	void ParserError(char* msg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2303
+	void ParserError(char const* msg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2304
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2305
 	friend String wstring2string (const std::wstring& aWide);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2306
 	friend std::wstring string2wstring (const String& aNarrow);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2307
-	friend int CompareTwoString(wchar_t* string ,wchar_t* option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2308
-	friend int CompareNString(wchar_t* string ,wchar_t* option, int len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2309
+    friend int CompareTwoString(wchar_t const * string ,wchar_t const * option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2310
+    friend int CompareNString(wchar_t const * string ,wchar_t const * option, int len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2311
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2312
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2313
 #endif //__PKGFILEPARSER_H__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2314
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2315
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2316
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2317
@@ -26,7 +26,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2318
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2319
 typedef struct
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2320
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2321
-	wchar_t*		iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2322
+	wchar_t const *		iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2323
 	unsigned long	iId;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2324
 } SKeyword;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2325
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2326
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2327
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2328
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2329
@@ -38,7 +38,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2330
 class Sis2Iby : public SisUtils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2331
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2332
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2333
-	Sis2Iby(char* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2334
+	Sis2Iby(char const* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2335
 	~Sis2Iby();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2336
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2337
 	void ProcessSisFile();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2338
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2339
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2340
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h	2010-05-15 14:32:45.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2341
@@ -40,6 +40,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2342
 #ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2343
 #define PATHSEPARATOR  "\\"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2344
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2345
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2346
+#define PATHSEPARATOR  "/"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2347
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2348
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2349
 //typedefs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2350
 typedef std::string String;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2351
@@ -53,7 +56,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2352
 class SisUtils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2353
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2354
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2355
-	SisUtils(char* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2356
+	SisUtils(char const* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2357
 	virtual ~SisUtils();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2358
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2359
 	void SetVerboseMode();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2360
@@ -81,7 +84,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2361
 class SisUtilsException
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2362
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2363
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2364
-	SisUtilsException(char* aFile, char* aErrMessage);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2365
+	SisUtilsException(char const* aFile, char const* aErrMessage);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2366
 	virtual ~SisUtilsException();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2367
 	virtual void Report();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2368
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2369
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2370
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2371
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-15 17:10:43.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2372
@@ -18,13 +18,16 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2373
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2374
 #include "sisutils.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2375
 #include "pkgfileparser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2376
+#include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2377
+#include <wchar.h>
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2378
+#include <cstdlib>
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2379
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2380
 // Parse options lookups
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2381
 #define MAXTOKENLEN	30
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2382
 struct SParseToken
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2383
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2384
-	WCHAR pszOpt[MAXTOKENLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2385
-	DWORD dwOpt;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2386
+	wchar_t pszOpt[MAXTOKENLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2387
+	unsigned dwOpt;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2388
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2389
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2390
 const SParseToken KTokens[] =
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2391
@@ -46,6 +49,10 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2392
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2393
 #define NUMPARSETOKENS (sizeof(KTokens)/sizeof(SParseToken))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2394
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2395
+std::wstring string2wstring (const String& aNarrow);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2396
+String wstring2string (const std::wstring& aWide);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2397
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2398
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2399
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2400
 Constructor: PkgParser class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2401
 Initilize the parameters to data members.
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2402
@@ -68,9 +75,9 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2403
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2404
 PkgParser::~PkgParser()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2405
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2406
-	if(iPkgHandle != INVALID_HANDLE_VALUE)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2407
+	if(iPkgHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2408
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2409
-		::CloseHandle(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2410
+		std::fclose(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2411
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2412
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2413
 	DeleteAll();
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2414
@@ -84,9 +91,14 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2415
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2416
 int PkgParser::OpenFile()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2417
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2418
-	iPkgHandle = ::CreateFileW(string2wstring(iPkgFile).data(),GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2419
+#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2420
+	iPkgHandle = _wfopen(string2wstring(iPkgFile).c_str(),L"r");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2421
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2422
+	// *nix fopen doesn't care about the filename encoding, as long as its NULL-terminated.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2423
+	iPkgHandle = std::fopen(iPkgFile.c_str(),"r");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2424
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2425
+	return iPkgHandle ? 1 : 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2426
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2427
-	return (iPkgHandle != INVALID_HANDLE_VALUE) ? 1 : 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2428
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2429
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2430
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2431
@@ -164,7 +176,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2432
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2433
 	if(!OpenFile())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2434
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2435
-		throw SisUtilsException((char*)iPkgFile.data(), "Could not open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2436
+		throw SisUtilsException(iPkgFile.c_str(),"Could not open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2437
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2438
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2439
 	GetNextChar();
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2440
@@ -273,7 +285,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2441
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2442
 	// process application names
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2443
 	ExpectToken('{');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2444
-	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2445
+	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2446
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2447
 		GetNextToken ();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2448
 		ExpectToken(QUOTED_STRING_TOKEN);
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2449
@@ -771,7 +783,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2450
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2451
 void PkgParser::ParseOptionsBlockL()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2452
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2453
-	WORD wNumLangs;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2454
+	unsigned short wNumLangs;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2455
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2456
 	ExpectToken('(');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2457
 	GetNextToken ();
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2458
@@ -838,7 +850,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2459
 void PkgParser::ParseVendorNameL()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2460
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2461
 	ExpectToken('{');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2462
-	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2463
+	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2464
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2465
 		GetNextToken ();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2466
 		ExpectToken(QUOTED_STRING_TOKEN);
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2467
@@ -990,14 +1002,8 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2468
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2469
 void PkgParser::GetNextChar()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2470
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2471
-#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2472
-	DWORD dwBytesRead;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2473
-	if (!::ReadFile(iPkgHandle, (LPVOID)&m_pkgChar, sizeof(WCHAR), &dwBytesRead, NULL) ||
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2474
-		dwBytesRead!=sizeof(wchar_t))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2475
-		m_pkgChar='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2476
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2477
-#error "TODO: Implement this function under other OS than Windows"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2478
-#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2479
+	wint_t wch = std::fgetwc(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2480
+	m_pkgChar = (wch == WEOF) ? 0 : wch;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2481
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2482
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2483
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2484
@@ -1105,10 +1111,10 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2485
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2486
 bool PkgParser::GetStringToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2487
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2488
-	DWORD wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2489
+	unsigned wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2490
 	bool done=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2491
 	bool finished=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2492
-	DWORD escapeChars = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2493
+	unsigned escapeChars = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2494
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2495
 	while (!finished)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2496
 	{
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2497
@@ -1153,15 +1159,16 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2498
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2499
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2500
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2501
-WORD PkgParser::ParseEscapeChars()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2502
+unsigned short PkgParser::ParseEscapeChars()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2503
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2504
-	WORD found=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2505
-	WCHAR temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2506
-#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2507
+	unsigned short found=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2508
+	wchar_t temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2509
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2510
 	while (m_pkgChar == '<')
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2511
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2512
 		wcscpy(temp,m_tokenValue.pszString);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2513
-		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2514
+		std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2515
+		std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2516
 		try
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2517
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2518
 			GetNextChar();
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2519
@@ -1170,32 +1177,29 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2520
 				found++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2521
 			else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2522
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2523
-				::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2524
+				std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2525
 				break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2526
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2527
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2528
 		catch (...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2529
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2530
 			wcscpy(m_tokenValue.pszString,temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2531
-			::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2532
+			std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2533
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2534
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2535
-		DWORD num=m_tokenValue.dwNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2536
+		unsigned num=m_tokenValue.dwNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2537
 		// watch for CP1252 escapes which aren't appropriate for UNICODE
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2538
 		if (num>=0x80 && num<=0x9F) ParserError("Invalid Escape");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2539
-		DWORD len=wcslen(temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2540
+		unsigned len=wcslen(temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2541
 		wcscpy(m_tokenValue.pszString,temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2542
 		if (len+2<=MAX_STRING)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2543
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2544
-			m_tokenValue.pszString[len]=(WCHAR)num;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2545
+			m_tokenValue.pszString[len]=(wchar_t)num;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2546
 			len++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2547
 			m_tokenValue.pszString[len]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2548
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2549
 		GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2550
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2551
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2552
-#error "TODO: Implement this function under other OS than Windows"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2553
-#endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2554
 	return found;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2555
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2556
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2557
@@ -1207,7 +1211,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2558
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2559
 void PkgParser::GetAlphaNumericToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2560
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2561
-	WORD wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2562
+	unsigned short wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2563
 	while(m_pkgChar && (isalnum(m_pkgChar) || ((m_pkgChar) == '_')))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2564
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2565
 		if(wCount < (MAX_STRING - 1))
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2566
@@ -1232,12 +1236,13 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2567
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2568
 		// we may have a number but we must look ahead one char to be certain
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2569
 		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2570
-		WCHAR oldChar = m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2571
-		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2572
+		wchar_t oldChar = m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2573
+		std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2574
+		std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2575
 		GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2576
 		lexemeIsNumber = iswdigit(m_pkgChar) != FALSE;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2577
 		m_pkgChar = oldChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2578
-		::SetFilePointer(iPkgHandle,fileOffset,NULL,FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2579
+		std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2580
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2581
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2582
 	return lexemeIsNumber;
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2583
@@ -1251,23 +1256,30 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2584
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2585
 void PkgParser::GetNumericToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2586
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2587
-	WCHAR temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2588
-	LPWSTR end;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2589
+	wchar_t temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2590
+	wchar_t * end;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2591
 	bool hexString = false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2592
-	DWORD dwBytesRead;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2593
-	DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2594
+	std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2595
+	std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2596
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2597
 	temp[0]=m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2598
-	if (!::ReadFile(iPkgHandle, &temp[1], (MAX_STRING-2)*sizeof(WCHAR), &dwBytesRead, NULL) ||
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2599
-		dwBytesRead==0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2600
+	unsigned wchRead = fread(&temp[1],sizeof(wchar_t),MAX_STRING - 2,iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2601
+	if (!wchRead)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2602
+	{ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2603
 		ParserError("Read failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2604
-	temp[1+dwBytesRead/sizeof(WCHAR)]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2605
-	hexString = (!CompareNString(temp, L"0x", 2) || !CompareNString(&temp[1], L"0x", 2));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2606
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2607
+	temp[1+wchRead] = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2608
+	hexString = (!CompareNString(temp,L"0x", 2) ||
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2609
+		!CompareNString(&temp[1],L"0x", 2));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2610
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2611
 	m_tokenValue.dwNumber = wcstoul(temp, &end, (hexString) ? 16 : 10);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2612
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2613
-	if (end==temp) ParserError("Read failed"); 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2614
-	::SetFilePointer(iPkgHandle, fileOffset+(end-temp-1)*sizeof(WCHAR), NULL, FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2615
+	if (end==temp)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2616
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2617
+		ParserError("Read failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2618
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2619
+	std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2620
+	std::fseek(iPkgHandle,(end-temp-1) * sizeof(wchar_t),SEEK_CUR);		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2621
 	GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2622
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2623
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2624
@@ -1338,13 +1350,13 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2625
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2626
 @param msg - error message to be thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2627
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2628
-void PkgParser::ParserError(char* msg)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2629
+void PkgParser::ParserError(char const* msg)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2630
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2631
 	std::ostringstream str;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2632
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2633
 	str << (char*)iPkgFile.data() << "(" << m_nLineNo << "): " << msg;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2634
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2635
-	throw SisUtilsException("PakageFile-Parser Error", (char*)(str.str()).data());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2636
+	throw SisUtilsException("PackageFile-Parser Error",str.str().c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2637
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2638
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2639
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2640
@@ -1357,22 +1369,13 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2641
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2642
 String wstring2string (const std::wstring& aWide)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2643
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2644
-	int max = ::WideCharToMultiByte(CP_OEMCP,0,aWide.c_str(),aWide.length(),0,0,0,0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2645
-	String reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2646
-	if (max > 0 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2647
-	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2648
-		char* buffer = new char [max];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2649
-		try
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2650
+	std::vector<char> buffer((aWide.length() * sizeof(wchar_t)) + 1, '\0');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2651
+	size_t nchars = wcstombs(&buffer[0],aWide.c_str(),buffer.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2652
+	if (nchars == (size_t)-1)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2653
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2654
-			::WideCharToMultiByte(CP_OEMCP,0,aWide.c_str(),aWide.length(),buffer,max,0,0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2655
-			reply = String (buffer, max);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2656
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2657
-		catch (...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2658
-		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2659
-			throw SisUtilsException("ParserError", "wstring to string conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2660
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2661
-		delete [] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2662
+		throw SisUtilsException("ParserError","wstring to string conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2663
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2664
+	String reply(&buffer[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2665
 	return reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2666
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2667
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2668
@@ -1386,22 +1389,13 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2669
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2670
 std::wstring string2wstring (const String& aNarrow)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2671
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2672
-	int max = ::MultiByteToWideChar(CP_OEMCP,0,aNarrow.c_str(),aNarrow.length(),0,0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2673
-	std::wstring reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2674
-	if (max > 0 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2675
+	std::vector<char> buffer(mblen(aNarrow.c_str(),aNarrow.length()) + 2, '\0');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2676
+	size_t nchars = mbstowcs((wchar_t *)&buffer[0],aNarrow.c_str(),buffer.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2677
+	if (nchars == (size_t)-1)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2678
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2679
-		wchar_t* buffer = new wchar_t [max];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2680
-		try
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2681
-		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2682
-			::MultiByteToWideChar(CP_OEMCP,0,aNarrow.c_str(),aNarrow.length(),buffer,max);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2683
-			reply = std::wstring (buffer, max);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2684
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2685
-		catch (...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2686
-		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2687
-			throw SisUtilsException("ParserError", "string to wstring conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2688
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2689
-		delete [] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2690
+		throw SisUtilsException("ParserError","string to wstring conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2691
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2692
+	std::wstring reply((wchar_t *)&buffer[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2693
 	return reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2694
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2695
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2696
@@ -1414,9 +1408,13 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2697
 @param string - first string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2698
 @param option - second string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2699
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2700
-int CompareTwoString(wchar_t* string ,wchar_t* option)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2701
+int CompareTwoString(wchar_t const * string ,wchar_t const * option)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2702
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2703
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2704
 	return wcsicmp(string,option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2705
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2706
+	return wcscasecmp(string,option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2707
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2708
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2709
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2710
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2711
@@ -1429,7 +1427,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2712
 @param option - second string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2713
 @param len - no of wide characters to be compared
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2714
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2715
-int CompareNString(wchar_t* string ,wchar_t* option, int len)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2716
+int CompareNString(wchar_t const * string ,wchar_t const * option, int len)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2717
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2718
-	return wcsnicmp(string,option,len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2719
+	return wmemcmp(string,option,len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2720
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2721
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2722
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp	2010-05-13 19:14:23.545083223 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2723
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp	2010-05-15 17:08:28.000000000 +0100
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2724
@@ -18,6 +18,7 @@
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2725
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2726
 #include "sisutils.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2727
 #include "sis2iby.h"
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2728
+#include <cstdlib>
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2729
 
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2730
 /**
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2731
 Constructor: Sis2Iby class
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2732
@@ -28,7 +29,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2733
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2734
 @param aFile	- SIS file name
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2735
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2736
-Sis2Iby::Sis2Iby(char* aFile) : SisUtils(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2737
+Sis2Iby::Sis2Iby(char const* aFile) : SisUtils(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2738
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2739
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2740
 
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2741
@@ -70,7 +71,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2742
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2743
 	if(IsVerboseMode())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2744
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2745
-		std::cout << "Processing " << (char*)sisFile.data() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2746
+		std::cout << "Processing " << sisFile.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2747
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2748
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2749
 	if(IsFileExist(sisFile))
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2750
@@ -86,12 +87,12 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2751
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2752
 		case STAT_FAILURE:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2753
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2754
-				throw SisUtilsException((char*)sisFile.data(), "Failed to extract SIS file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2755
+				throw SisUtilsException(sisFile.c_str(),"Failed to extract SIS file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2756
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2757
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2758
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2759
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2760
-		throw SisUtilsException((char*)sisFile.data(), "File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2761
+		throw SisUtilsException(sisFile.c_str(),"File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2762
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2763
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2764
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2765
@@ -128,18 +129,18 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2766
 	ibyFile.append(".iby");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2767
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2768
 	if( !MakeDirectory(iOutputPath) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2769
-		throw SisUtilsException((char*)iOutputPath.data(), "Failed to create path");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2770
+		throw SisUtilsException(iOutputPath.c_str(),"Failed to create path");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2771
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2772
 	if(IsVerboseMode())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2773
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2774
-		std::cout << "Generating IBY file " << (char*)ibyFile.data() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2775
+		std::cout << "Generating IBY file " << ibyFile.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2776
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2777
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2778
 	ibyHandle.open((char*)ibyFile.data(),(std::ios::out));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2779
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2780
 	if(!ibyHandle.good())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2781
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2782
-		throw SisUtilsException((char*)ibyFile.data(), "Failed to create IBY file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2783
+		throw SisUtilsException(ibyFile.c_str(),"Failed to create IBY file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2784
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2785
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2786
 	// Generating Header
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2787
@@ -239,10 +240,10 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2788
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2789
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2790
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2791
-			throw SisUtilsException((char*)pkgFileName.data(), "Could not create parser object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2792
+			throw SisUtilsException(pkgFileName.c_str(),"Could not create parser object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2793
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2794
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2795
-		throw SisUtilsException((char*)pkgFileName.data(), "File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2796
+		throw SisUtilsException(pkgFileName.c_str(),"File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2797
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2798
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2799
 /**
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2800
@@ -551,7 +552,12 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2801
 		aFile.assign(fPath);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2802
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2803
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2804
-#error "TODO: Implement this function under other OS than Windows"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2805
+	char fPath[FILENAME_MAX];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2806
+	if (realpath(aFile.c_str(),fPath))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2807
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2808
+		aFile.assign(fPath);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2809
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2810
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2811
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2812
 	return;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2813
 }
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2814
@@ -652,7 +658,7 @@
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2815
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2816
 	if( !aIfs.is_open() )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2817
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2818
-		throw SisUtilsException((char*)aFile.data(), "Cannot open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2819
+		throw SisUtilsException(aFile.c_str(),"Cannot open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2820
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2821
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2822
 	aIfs.seekg(0,std::ios::end);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2823
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2824
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp	2010-05-13 19:14:23.549082823 +0100
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2825
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp	2010-05-15 17:05:31.000000000 +0100
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2826
@@ -20,6 +20,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2827
 #include <windows.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2828
 #include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2829
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2830
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2831
+#include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2832
+#include <cerrno>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2833
+#include <sys/wait.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2834
+#include <sys/stat.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2835
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2836
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2837
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2838
 #include "sisutils.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2839
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2840
@@ -33,7 +40,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2841
 @param aFile	- Name of the file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2842
 @param aErrMessage - Error message
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2843
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2844
-SisUtilsException::SisUtilsException(char* aFile, char* aErrMessage) : \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2845
+SisUtilsException::SisUtilsException(char const* aFile, char const* aErrMessage) : \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2846
 	iSisFileName(aFile), iErrMessage(aErrMessage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2847
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2848
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2849
@@ -72,7 +79,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2850
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2851
 @param aFile	- Name of the SIS file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2852
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2853
-SisUtils::SisUtils(char* aFile) :  iVerboseMode(EFalse),iSisFile(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2854
+SisUtils::SisUtils(char const* aFile) :  iVerboseMode(EFalse),iSisFile(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2855
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2856
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2857
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2858
@@ -201,9 +208,47 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2859
 	::CloseHandle( pi.hProcess );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2860
 	::CloseHandle( pi.hThread );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2861
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2862
-#error "TODO: Implement this function under other OS than Windows"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2863
+	String::iterator pch = cmd.begin();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2864
+	String::iterator end = cmd.end();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2865
+	char *token = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2866
+	std::vector<char *> args;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2867
+	for ( ;pch != end; ++pch)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2868
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2869
+		if (isspace(*pch))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2870
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2871
+			*pch = '\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2872
+			if (token) {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2873
+				token = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2874
+			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2875
+		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2876
+		else if (!token)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2877
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2878
+			token = &*pch;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2879
+			args.push_back(token);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2880
+		}  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2881
+	}
12
5e7562f67577 Update the diffs patchfile to latest revision
mikek
parents: 9
diff changeset
  2882
+	args.push_back((char *)NULL);
9
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2883
+    pid_t pid = fork();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2884
+    if (pid == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2885
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2886
+        execv(args[0],&args[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2887
+    }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2888
+    else if (pid < 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2889
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2890
+        iExitCode = static_cast<TUint32>(STAT_FAILURE);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2891
+    }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2892
+    else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2893
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2894
+		int rtc;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2895
+        pid_t ws = waitpid( pid, &rtc, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2896
+        if (ws != pid) {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2897
+            iExitCode = static_cast<TUint32>(STAT_FAILURE);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2898
+        }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2899
+		else {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2900
+			iExitCode = rtc;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2901
+		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2902
+    }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2903
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2904
-
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2905
 	return iExitCode;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2906
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2907
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2908
@@ -281,7 +326,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2909
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2910
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2911
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2912
-#error "TODO: Implement this function under other OS than Windows"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2913
+		if(mkdir(dir.data(),777) != 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2914
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2915
+			if(errno != EEXIST)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2916
+			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2917
+				status = EFalse;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2918
+			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2919
+		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2920
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2921
 		if(status == EFalse)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2922
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2923
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/cpp-raptor/group/exports.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/cpp-raptor/group/exports.inf
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2924
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/cpp-raptor/group/exports.inf	2010-05-13 19:14:23.549082823 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2925
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/cpp-raptor/group/exports.inf	2010-05-09 13:37:03.425787000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2926
@@ -15,6 +15,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2927
 *
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2928
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2929
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2930
-../win32/bin/cpp.exe /tools/sbs/win32/bv/bin/cpp.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2931
-../win32/i686-pc-mingw32/bin/cc1.exe /tools/sbs/win32/bv/i686-pc-mingw32/bin/cc1.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2932
-../win32/i686-pc-mingw32/bin/libiconv-2.dll /tools/sbs/win32/bv/i686-pc-mingw32/bin/libiconv-2.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2933
+../win32/bin/cpp.exe ../../tools/sbs/win32/bv/bin/cpp.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2934
+../win32/i686-pc-mingw32/bin/cc1.exe ../../tools/sbs/win32/bv/i686-pc-mingw32/bin/cc1.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2935
+../win32/i686-pc-mingw32/bin/libiconv-2.dll ../../tools/sbs/win32/bv/i686-pc-mingw32/bin/libiconv-2.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2936
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/raptor/group/exports.inf /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/group/exports.inf
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2937
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/raptor/group/exports.inf	2010-05-13 19:14:25.269082351 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2938
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/group/exports.inf	2010-05-09 13:36:29.473288000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2939
@@ -15,209 +15,209 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2940
 *
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2941
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2942
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2943
-../RELEASE-NOTES.txt /tools/sbs/RELEASE-NOTES.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2944
-../bin/sbs /tools/sbs/bin/sbs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2945
-../bin/fixmeta.py /tools/sbs/bin/fixmeta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2946
-../bin/codetest_osbuild.sh /tools/sbs/bin/codetest_osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2947
-../bin/countbinaries.sh /tools/sbs/bin/countbinaries.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2948
-../bin/gethost.sh /tools/sbs/bin/gethost.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2949
-../bin/failedstats.py /tools/sbs/bin/failedstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2950
-../bin/sbs.bat /tools/sbs/bin/sbs.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2951
-../bin/unsplitdirs.py /tools/sbs/bin/unsplitdirs.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2952
-../bin/buildstats.py /tools/sbs/bin/buildstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2953
-../bin/speedtest_osbuild.sh /tools/sbs/bin/speedtest_osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2954
-../bin/sbsv2cache.py /tools/sbs/bin/sbsv2cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2955
-../bin/whatsource.py /tools/sbs/bin/whatsource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2956
-../bin/oby2linux.py /tools/sbs/bin/oby2linux.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2957
-../bin/createrfifile.pl /tools/sbs/bin/createrfifile.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2958
-../bin/vartoxml.py /tools/sbs/bin/vartoxml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2959
-../bin/readme.txt /tools/sbs/bin/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2960
-../bin/squashlog.py /tools/sbs/bin/squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2961
-../bin/statcollate.py /tools/sbs/bin/statcollate.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2962
-../bin/createvmap.py /tools/sbs/bin/createvmap.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2963
-../bin/raptorlog.py /tools/sbs/bin/raptorlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2964
-../bin/osbuild.sh /tools/sbs/bin/osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2965
-../bin/setup_user.sh /tools/sbs/bin/setup_user.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2966
-../bin/msvcr71.dll /tools/sbs/bin/msvcr71.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2967
-../bin/install_raptor.sh /tools/sbs/bin/install_raptor.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2968
-../bin/mkgetfailed.py /tools/sbs/bin/mkgetfailed.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2969
-../examples/os_properties.xml /tools/sbs/examples/os_properties.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2970
-../examples/sbs_init.xml /tools/sbs/examples/sbs_init.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2971
-../lib/flm/e32abiv2stdexe.flm /tools/sbs/lib/flm/e32abiv2stdexe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2972
-../lib/flm/user/default.flm_ex /tools/sbs/lib/flm/user/default.flm_ex
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2973
-../lib/flm/user/globals.mk_ex /tools/sbs/lib/flm/user/globals.mk_ex
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2974
-../lib/flm/e32abiv2dll.flm /tools/sbs/lib/flm/e32abiv2dll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2975
-../lib/flm/tracecompiler.mk /tools/sbs/lib/flm/tracecompiler.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2976
-../lib/flm/win32exe.flm /tools/sbs/lib/flm/win32exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2977
-../lib/flm/template_ext.flm /tools/sbs/lib/flm/template_ext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2978
-../lib/flm/e32abiv2ani.flm /tools/sbs/lib/flm/e32abiv2ani.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2979
-../lib/flm/converged-comms/createcommdbs.flm /tools/sbs/lib/flm/converged-comms/createcommdbs.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2980
-../lib/flm/converged-comms/installdefaultcommdb.flm /tools/sbs/lib/flm/converged-comms/installdefaultcommdb.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2981
-../lib/flm/win32plugin.flm /tools/sbs/lib/flm/win32plugin.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2982
-../lib/flm/win32klib.flm /tools/sbs/lib/flm/win32klib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2983
-../lib/flm/extensions.xml /tools/sbs/lib/flm/extensions.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2984
-../lib/flm/stack.mk /tools/sbs/lib/flm/stack.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2985
-../lib/flm/globals.mk /tools/sbs/lib/flm/globals.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2986
-../lib/flm/win32stdexe.flm /tools/sbs/lib/flm/win32stdexe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2987
-../lib/flm/e32abiv2lib.flm /tools/sbs/lib/flm/e32abiv2lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2988
-../lib/flm/win32resource.flm /tools/sbs/lib/flm/win32resource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2989
-../lib/flm/config/default.flm /tools/sbs/lib/flm/config/default.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2990
-../lib/flm/win32lib.flm /tools/sbs/lib/flm/win32lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2991
-../lib/flm/null.flm /tools/sbs/lib/flm/null.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2992
-../lib/flm/tools/test_command_diff.sh /tools/sbs/lib/flm/tools/test_command_diff.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2993
-../lib/flm/tools/stlport.flm /tools/sbs/lib/flm/tools/stlport.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2994
-../lib/flm/tools/buildstubsis.flm /tools/sbs/lib/flm/tools/buildstubsis.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2995
-../lib/flm/msvctools.xml /tools/sbs/lib/flm/msvctools.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2996
-../lib/flm/tools2lib.flm /tools/sbs/lib/flm/tools2lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2997
-../lib/flm/win32ldd.flm /tools/sbs/lib/flm/win32ldd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2998
-../lib/flm/tools.xml /tools/sbs/lib/flm/tools.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2999
-../lib/flm/metaflm.mk /tools/sbs/lib/flm/metaflm.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3000
-../lib/flm/e32abiv2ldd.flm /tools/sbs/lib/flm/e32abiv2ldd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3001
-../lib/flm/e32abiv2pdl.flm /tools/sbs/lib/flm/e32abiv2pdl.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3002
-../lib/flm/e32abiv2stdlib.flm /tools/sbs/lib/flm/e32abiv2stdlib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3003
-../lib/flm/config.xml /tools/sbs/lib/flm/config.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3004
-../lib/flm/win32stddll.flm /tools/sbs/lib/flm/win32stddll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3005
-../lib/flm/gccxmlresource.flm /tools/sbs/lib/flm/gccxmlresource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3006
-../lib/flm/e32abiv2textnotifier2.flm /tools/sbs/lib/flm/e32abiv2textnotifier2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3007
-../lib/flm/e32abiv2implib.flm /tools/sbs/lib/flm/e32abiv2implib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3008
-../lib/flm/e32abiv2exe.flm /tools/sbs/lib/flm/e32abiv2exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3009
-../lib/flm/win32pdl.flm /tools/sbs/lib/flm/win32pdl.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3010
-../lib/flm/win32.flm /tools/sbs/lib/flm/win32.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3011
-../lib/flm/base.xml /tools/sbs/lib/flm/base.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3012
-../lib/flm/grouping.flm /tools/sbs/lib/flm/grouping.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3013
-../lib/flm/e32abiv2.flm /tools/sbs/lib/flm/e32abiv2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3014
-../lib/flm/e32abiv2exexp.flm /tools/sbs/lib/flm/e32abiv2exexp.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3015
-../lib/flm/e32abiv2defaults.mk /tools/sbs/lib/flm/e32abiv2defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3016
-../lib/flm/e32abiv2fsy.flm /tools/sbs/lib/flm/e32abiv2fsy.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3017
-../lib/flm/final.mk /tools/sbs/lib/flm/final.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3018
-../lib/flm/none.flm /tools/sbs/lib/flm/none.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3019
-../lib/flm/analysis.xml /tools/sbs/lib/flm/analysis.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3020
-../lib/flm/e32abiv2var2.flm /tools/sbs/lib/flm/e32abiv2var2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3021
-../lib/flm/msvctools.flm /tools/sbs/lib/flm/msvctools.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3022
-../lib/flm/win32kdll.flm /tools/sbs/lib/flm/win32kdll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3023
-../lib/flm/win32ani.flm /tools/sbs/lib/flm/win32ani.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3024
-../lib/flm/e32abiv2plugin.flm /tools/sbs/lib/flm/e32abiv2plugin.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3025
-../lib/flm/win32bitmap.flm /tools/sbs/lib/flm/win32bitmap.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3026
-../lib/flm/tools2common.flm /tools/sbs/lib/flm/tools2common.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3027
-../lib/flm/win32fsy.flm /tools/sbs/lib/flm/win32fsy.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3028
-../lib/flm/readme.txt /tools/sbs/lib/flm/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3029
-../lib/flm/e32abiv2kext.flm /tools/sbs/lib/flm/e32abiv2kext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3030
-../lib/flm/e32abiv2stddll.flm /tools/sbs/lib/flm/e32abiv2stddll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3031
-../lib/flm/win32exexp.flm /tools/sbs/lib/flm/win32exexp.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3032
-../lib/flm/stringtable.flm /tools/sbs/lib/flm/stringtable.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3033
-../lib/flm/utils/utility.xml /tools/sbs/lib/flm/utils/utility.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3034
-../lib/flm/utils/prebuilt.flm /tools/sbs/lib/flm/utils/prebuilt.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3035
-../lib/flm/utils/copydir.flm /tools/sbs/lib/flm/utils/copydir.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3036
-../lib/flm/win32pdd.flm /tools/sbs/lib/flm/win32pdd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3037
-../lib/flm/taggedrules.mk /tools/sbs/lib/flm/taggedrules.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3038
-../lib/flm/booleanlogic.mk /tools/sbs/lib/flm/booleanlogic.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3039
-../lib/flm/emulator.xml /tools/sbs/lib/flm/emulator.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3040
-../lib/flm/win32kext.flm /tools/sbs/lib/flm/win32kext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3041
-../lib/flm/test/exeabiv2_2/test.cpp /tools/sbs/lib/flm/test/exeabiv2_2/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3042
-../lib/flm/test/exeabiv2_2/test_function.cpp /tools/sbs/lib/flm/test/exeabiv2_2/test_function.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3043
-../lib/flm/test/exeabiv2_2/exeabiv2_2.mk /tools/sbs/lib/flm/test/exeabiv2_2/exeabiv2_2.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3044
-../lib/flm/test/templateext/temex.mk /tools/sbs/lib/flm/test/templateext/temex.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3045
-../lib/flm/test/templateext/Makefile /tools/sbs/lib/flm/test/templateext/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3046
-../lib/flm/test/Makefile /tools/sbs/lib/flm/test/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3047
-../lib/flm/test/exeabiv2_4/test.cpp /tools/sbs/lib/flm/test/exeabiv2_4/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3048
-../lib/flm/test/exeabiv2_4/exeabiv2_4.mk /tools/sbs/lib/flm/test/exeabiv2_4/exeabiv2_4.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3049
-../lib/flm/test/exeabiv2_4/test_big.cpp /tools/sbs/lib/flm/test/exeabiv2_4/test_big.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3050
-../lib/flm/test/flmtests.mk /tools/sbs/lib/flm/test/flmtests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3051
-../lib/flm/test/ciaabiv2_1/uc_exe.cia /tools/sbs/lib/flm/test/ciaabiv2_1/uc_exe.cia
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3052
-../lib/flm/test/ciaabiv2_1/uc_exe.cpp /tools/sbs/lib/flm/test/ciaabiv2_1/uc_exe.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3053
-../lib/flm/test/ciaabiv2_1/ciaabiv2_1.mk /tools/sbs/lib/flm/test/ciaabiv2_1/ciaabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3054
-../lib/flm/test/export1/Makefile /tools/sbs/lib/flm/test/export1/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3055
-../lib/flm/test/export1/t1e.h /tools/sbs/lib/flm/test/export1/t1e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3056
-../lib/flm/test/export1/t4e.h /tools/sbs/lib/flm/test/export1/t4e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3057
-../lib/flm/test/export1/t2e.h /tools/sbs/lib/flm/test/export1/t2e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3058
-../lib/flm/test/export1/t3e.h /tools/sbs/lib/flm/test/export1/t3e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3059
-../lib/flm/test/dllabiv2_1/test.cpp /tools/sbs/lib/flm/test/dllabiv2_1/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3060
-../lib/flm/test/dllabiv2_1/dllabiv2_1.mk /tools/sbs/lib/flm/test/dllabiv2_1/dllabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3061
-../lib/flm/test/raptorglue/raptorglue.mk /tools/sbs/lib/flm/test/raptorglue/raptorglue.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3062
-../lib/flm/test/dllbasictests.mk /tools/sbs/lib/flm/test/dllbasictests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3063
-../lib/flm/test/exeabiv2_1/test.cpp /tools/sbs/lib/flm/test/exeabiv2_1/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3064
-../lib/flm/test/exeabiv2_1/exeabiv2_1.mk /tools/sbs/lib/flm/test/exeabiv2_1/exeabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3065
-../lib/flm/test/dllabiv2_defaults.mk /tools/sbs/lib/flm/test/dllabiv2_defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3066
-../lib/flm/test/exeperftests.mk /tools/sbs/lib/flm/test/exeperftests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3067
-../lib/flm/test/ciatests.mk /tools/sbs/lib/flm/test/ciatests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3068
-../lib/flm/test/environment/pvm/pvmtest.mk /tools/sbs/lib/flm/test/environment/pvm/pvmtest.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3069
-../lib/flm/test/environment/make/test_variable_restore.mk /tools/sbs/lib/flm/test/environment/make/test_variable_restore.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3070
-../lib/flm/test/exebasictests.mk /tools/sbs/lib/flm/test/exebasictests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3071
-../lib/flm/test/exeabiv2_defaults.mk /tools/sbs/lib/flm/test/exeabiv2_defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3072
-../lib/flm/test/exeabiv2_3/exeabiv2_3.mk /tools/sbs/lib/flm/test/exeabiv2_3/exeabiv2_3.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3073
-../lib/flm/test/exeabiv2_3/test_big.cpp /tools/sbs/lib/flm/test/exeabiv2_3/test_big.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3074
-../lib/flm/win32stdlib.flm /tools/sbs/lib/flm/win32stdlib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3075
-../lib/flm/win32var2.flm /tools/sbs/lib/flm/win32var2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3076
-../lib/flm/win32implib.flm /tools/sbs/lib/flm/win32implib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3077
-../lib/flm/bitmap.flm /tools/sbs/lib/flm/bitmap.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3078
-../lib/flm/build.flm /tools/sbs/lib/flm/build.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3079
-../lib/flm/build.xml /tools/sbs/lib/flm/build.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3080
-../lib/flm/tools2exe.flm /tools/sbs/lib/flm/tools2exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3081
-../lib/flm/e32abiv2klib.flm /tools/sbs/lib/flm/e32abiv2klib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3082
-../lib/flm/standard.xml /tools/sbs/lib/flm/standard.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3083
-../lib/flm/win32var.flm /tools/sbs/lib/flm/win32var.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3084
-../lib/flm/e32abiv2pdd.flm /tools/sbs/lib/flm/e32abiv2pdd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3085
-../lib/flm/e32abiv2none.flm /tools/sbs/lib/flm/e32abiv2none.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3086
-../lib/flm/romfile.mk /tools/sbs/lib/flm/romfile.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3087
-../lib/flm/win32textnotifier2.flm /tools/sbs/lib/flm/win32textnotifier2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3088
-../lib/flm/resource.flm /tools/sbs/lib/flm/resource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3089
-../lib/flm/flmtools.mk /tools/sbs/lib/flm/flmtools.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3090
-../lib/flm/gnumakefile.flm /tools/sbs/lib/flm/gnumakefile.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3091
-../lib/flm/e32abiv2kdll.flm /tools/sbs/lib/flm/e32abiv2kdll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3092
-../lib/flm/e32abiv2var.flm /tools/sbs/lib/flm/e32abiv2var.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3093
-../lib/flm/win32dll.flm /tools/sbs/lib/flm/win32dll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3094
-../lib/flm/gccxml.flm /tools/sbs/lib/flm/gccxml.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3095
-../lib/flm/e32postlink.mk /tools/sbs/lib/flm/e32postlink.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3096
-../lib/config/default.xml /tools/sbs/lib/config/default.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3097
-../lib/config/build.xml /tools/sbs/lib/config/build.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3098
-../lib/config/interfaces.xml /tools/sbs/lib/config/interfaces.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3099
-../lib/config/gcc.xml /tools/sbs/lib/config/gcc.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3100
-../lib/config/variants.xml /tools/sbs/lib/config/variants.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3101
-../lib/config/coverity.xml /tools/sbs/lib/config/coverity.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3102
-../lib/config/meta.xml /tools/sbs/lib/config/meta.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3103
-../lib/config/locations.xml /tools/sbs/lib/config/locations.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3104
-../lib/config/gccxml.xml /tools/sbs/lib/config/gccxml.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3105
-../lib/config/carbide.xml /tools/sbs/lib/config/carbide.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3106
-../lib/config/msvc.xml /tools/sbs/lib/config/msvc.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3107
-../lib/config/make.xml /tools/sbs/lib/config/make.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3108
-../lib/config/root.xml /tools/sbs/lib/config/root.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3109
-../lib/config/winscw.xml /tools/sbs/lib/config/winscw.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3110
-../lib/config/arm.xml /tools/sbs/lib/config/arm.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3111
-../lib/config/gcce.xml /tools/sbs/lib/config/gcce.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3112
-../lib/config/rvct.xml /tools/sbs/lib/config/rvct.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3113
-../python/raptor_makefile.py /tools/sbs/python/raptor_makefile.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3114
-../python/filter_interface.py /tools/sbs/python/filter_interface.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3115
-../python/raptor_start.py /tools/sbs/python/raptor_start.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3116
-../python/pyparsing.py /tools/sbs/python/pyparsing.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3117
-../python/raptor_cli.py /tools/sbs/python/raptor_cli.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3118
-../python/raptor_cache.py /tools/sbs/python/raptor_cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3119
-../python/raptor_meta.py /tools/sbs/python/raptor_meta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3120
-../python/raptor_xml.py /tools/sbs/python/raptor_xml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3121
-../python/raptor_version.py /tools/sbs/python/raptor_version.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3122
-../python/generic_path.py /tools/sbs/python/generic_path.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3123
-../python/raptor_make.py /tools/sbs/python/raptor_make.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3124
-../python/plugins/filter_logfile.py /tools/sbs/python/plugins/filter_logfile.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3125
-../python/plugins/filter_terminal.py /tools/sbs/python/plugins/filter_terminal.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3126
-../python/plugins/filter_carbide.py /tools/sbs/python/plugins/filter_carbide.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3127
-../python/plugins/filter_what.py /tools/sbs/python/plugins/filter_what.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3128
-../python/plugins/dummyplugin.py /tools/sbs/python/plugins/dummyplugin.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3129
-../python/plugins/filter_clean.py /tools/sbs/python/plugins/filter_clean.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3130
-../python/plugins/filter_squashlog.py /tools/sbs/python/plugins/filter_squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3131
-../python/plugins/filter_checksource.py /tools/sbs/python/plugins/filter_checksource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3132
-../python/plugins/filter_splitlog.py /tools/sbs/python/plugins/filter_splitlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3133
-../python/sbs_dist.py /tools/sbs/python/sbs_dist.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3134
-../python/raptor_utilities.py /tools/sbs/python/raptor_utilities.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3135
-../python/pluginbox.py /tools/sbs/python/pluginbox.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3136
-../python/dos2unix.py /tools/sbs/python/dos2unix.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3137
-../python/raptor_data.py /tools/sbs/python/raptor_data.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3138
-../python/filter_list.py /tools/sbs/python/filter_list.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3139
-../python/raptor.py /tools/sbs/python/raptor.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3140
-../python/mmpparser.py /tools/sbs/python/mmpparser.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3141
-../python/filter_utils.py /tools/sbs/python/filter_utils.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3142
-../schema/build/2_0.xsd /tools/sbs/schema/build/2_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3143
-../schema/build/log/1_0.xsd /tools/sbs/schema/build/log/1_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3144
-../schema/build/1_0.xsd /tools/sbs/schema/build/1_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3145
-../win32/bin/ransleep.exe /tools/sbs/win32/bin/ransleep.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3146
-../win32/bin/sbs_descramble.exe /tools/sbs/win32/bin/sbs_descramble.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3147
-../win32/bin/talonctl.exe /tools/sbs/win32/bin/talonctl.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3148
-../win32/bin/talon.exe /tools/sbs/win32/bin/talon.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3149
+../RELEASE-NOTES.txt ../../tools/sbs/RELEASE-NOTES.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3150
+../bin/sbs ../../tools/sbs/bin/sbs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3151
+../bin/fixmeta.py ../../tools/sbs/bin/fixmeta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3152
+../bin/codetest_osbuild.sh ../../tools/sbs/bin/codetest_osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3153
+../bin/countbinaries.sh ../../tools/sbs/bin/countbinaries.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3154
+../bin/gethost.sh ../../tools/sbs/bin/gethost.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3155
+../bin/failedstats.py ../../tools/sbs/bin/failedstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3156
+../bin/sbs.bat ../../tools/sbs/bin/sbs.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3157
+../bin/unsplitdirs.py ../../tools/sbs/bin/unsplitdirs.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3158
+../bin/buildstats.py ../../tools/sbs/bin/buildstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3159
+../bin/speedtest_osbuild.sh ../../tools/sbs/bin/speedtest_osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3160
+../bin/sbsv2cache.py ../../tools/sbs/bin/sbsv2cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3161
+../bin/whatsource.py ../../tools/sbs/bin/whatsource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3162
+../bin/oby2linux.py ../../tools/sbs/bin/oby2linux.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3163
+../bin/createrfifile.pl ../../tools/sbs/bin/createrfifile.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3164
+../bin/vartoxml.py ../../tools/sbs/bin/vartoxml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3165
+../bin/readme.txt ../../tools/sbs/bin/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3166
+../bin/squashlog.py ../../tools/sbs/bin/squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3167
+../bin/statcollate.py ../../tools/sbs/bin/statcollate.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3168
+../bin/createvmap.py ../../tools/sbs/bin/createvmap.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3169
+../bin/raptorlog.py ../../tools/sbs/bin/raptorlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3170
+../bin/osbuild.sh ../../tools/sbs/bin/osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3171
+../bin/setup_user.sh ../../tools/sbs/bin/setup_user.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3172
+../bin/msvcr71.dll ../../tools/sbs/bin/msvcr71.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3173
+../bin/install_raptor.sh ../../tools/sbs/bin/install_raptor.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3174
+../bin/mkgetfailed.py ../../tools/sbs/bin/mkgetfailed.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3175
+../examples/os_properties.xml ../../tools/sbs/examples/os_properties.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3176
+../examples/sbs_init.xml ../../tools/sbs/examples/sbs_init.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3177
+../lib/flm/e32abiv2stdexe.flm ../../tools/sbs/lib/flm/e32abiv2stdexe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3178
+../lib/flm/user/default.flm_ex ../../tools/sbs/lib/flm/user/default.flm_ex
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3179
+../lib/flm/user/globals.mk_ex ../../tools/sbs/lib/flm/user/globals.mk_ex
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3180
+../lib/flm/e32abiv2dll.flm ../../tools/sbs/lib/flm/e32abiv2dll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3181
+../lib/flm/tracecompiler.mk ../../tools/sbs/lib/flm/tracecompiler.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3182
+../lib/flm/win32exe.flm ../../tools/sbs/lib/flm/win32exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3183
+../lib/flm/template_ext.flm ../../tools/sbs/lib/flm/template_ext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3184
+../lib/flm/e32abiv2ani.flm ../../tools/sbs/lib/flm/e32abiv2ani.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3185
+../lib/flm/converged-comms/createcommdbs.flm ../../tools/sbs/lib/flm/converged-comms/createcommdbs.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3186
+../lib/flm/converged-comms/installdefaultcommdb.flm ../../tools/sbs/lib/flm/converged-comms/installdefaultcommdb.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3187
+../lib/flm/win32plugin.flm ../../tools/sbs/lib/flm/win32plugin.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3188
+../lib/flm/win32klib.flm ../../tools/sbs/lib/flm/win32klib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3189
+../lib/flm/extensions.xml ../../tools/sbs/lib/flm/extensions.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3190
+../lib/flm/stack.mk ../../tools/sbs/lib/flm/stack.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3191
+../lib/flm/globals.mk ../../tools/sbs/lib/flm/globals.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3192
+../lib/flm/win32stdexe.flm ../../tools/sbs/lib/flm/win32stdexe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3193
+../lib/flm/e32abiv2lib.flm ../../tools/sbs/lib/flm/e32abiv2lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3194
+../lib/flm/win32resource.flm ../../tools/sbs/lib/flm/win32resource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3195
+../lib/flm/config/default.flm ../../tools/sbs/lib/flm/config/default.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3196
+../lib/flm/win32lib.flm ../../tools/sbs/lib/flm/win32lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3197
+../lib/flm/null.flm ../../tools/sbs/lib/flm/null.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3198
+../lib/flm/tools/test_command_diff.sh ../../tools/sbs/lib/flm/tools/test_command_diff.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3199
+../lib/flm/tools/stlport.flm ../../tools/sbs/lib/flm/tools/stlport.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3200
+../lib/flm/tools/buildstubsis.flm ../../tools/sbs/lib/flm/tools/buildstubsis.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3201
+../lib/flm/msvctools.xml ../../tools/sbs/lib/flm/msvctools.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3202
+../lib/flm/tools2lib.flm ../../tools/sbs/lib/flm/tools2lib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3203
+../lib/flm/win32ldd.flm ../../tools/sbs/lib/flm/win32ldd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3204
+../lib/flm/tools.xml ../../tools/sbs/lib/flm/tools.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3205
+../lib/flm/metaflm.mk ../../tools/sbs/lib/flm/metaflm.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3206
+../lib/flm/e32abiv2ldd.flm ../../tools/sbs/lib/flm/e32abiv2ldd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3207
+../lib/flm/e32abiv2pdl.flm ../../tools/sbs/lib/flm/e32abiv2pdl.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3208
+../lib/flm/e32abiv2stdlib.flm ../../tools/sbs/lib/flm/e32abiv2stdlib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3209
+../lib/flm/config.xml ../../tools/sbs/lib/flm/config.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3210
+../lib/flm/win32stddll.flm ../../tools/sbs/lib/flm/win32stddll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3211
+../lib/flm/gccxmlresource.flm ../../tools/sbs/lib/flm/gccxmlresource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3212
+../lib/flm/e32abiv2textnotifier2.flm ../../tools/sbs/lib/flm/e32abiv2textnotifier2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3213
+../lib/flm/e32abiv2implib.flm ../../tools/sbs/lib/flm/e32abiv2implib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3214
+../lib/flm/e32abiv2exe.flm ../../tools/sbs/lib/flm/e32abiv2exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3215
+../lib/flm/win32pdl.flm ../../tools/sbs/lib/flm/win32pdl.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3216
+../lib/flm/win32.flm ../../tools/sbs/lib/flm/win32.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3217
+../lib/flm/base.xml ../../tools/sbs/lib/flm/base.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3218
+../lib/flm/grouping.flm ../../tools/sbs/lib/flm/grouping.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3219
+../lib/flm/e32abiv2.flm ../../tools/sbs/lib/flm/e32abiv2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3220
+../lib/flm/e32abiv2exexp.flm ../../tools/sbs/lib/flm/e32abiv2exexp.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3221
+../lib/flm/e32abiv2defaults.mk ../../tools/sbs/lib/flm/e32abiv2defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3222
+../lib/flm/e32abiv2fsy.flm ../../tools/sbs/lib/flm/e32abiv2fsy.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3223
+../lib/flm/final.mk ../../tools/sbs/lib/flm/final.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3224
+../lib/flm/none.flm ../../tools/sbs/lib/flm/none.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3225
+../lib/flm/analysis.xml ../../tools/sbs/lib/flm/analysis.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3226
+../lib/flm/e32abiv2var2.flm ../../tools/sbs/lib/flm/e32abiv2var2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3227
+../lib/flm/msvctools.flm ../../tools/sbs/lib/flm/msvctools.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3228
+../lib/flm/win32kdll.flm ../../tools/sbs/lib/flm/win32kdll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3229
+../lib/flm/win32ani.flm ../../tools/sbs/lib/flm/win32ani.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3230
+../lib/flm/e32abiv2plugin.flm ../../tools/sbs/lib/flm/e32abiv2plugin.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3231
+../lib/flm/win32bitmap.flm ../../tools/sbs/lib/flm/win32bitmap.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3232
+../lib/flm/tools2common.flm ../../tools/sbs/lib/flm/tools2common.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3233
+../lib/flm/win32fsy.flm ../../tools/sbs/lib/flm/win32fsy.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3234
+../lib/flm/readme.txt ../../tools/sbs/lib/flm/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3235
+../lib/flm/e32abiv2kext.flm ../../tools/sbs/lib/flm/e32abiv2kext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3236
+../lib/flm/e32abiv2stddll.flm ../../tools/sbs/lib/flm/e32abiv2stddll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3237
+../lib/flm/win32exexp.flm ../../tools/sbs/lib/flm/win32exexp.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3238
+../lib/flm/stringtable.flm ../../tools/sbs/lib/flm/stringtable.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3239
+../lib/flm/utils/utility.xml ../../tools/sbs/lib/flm/utils/utility.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3240
+../lib/flm/utils/prebuilt.flm ../../tools/sbs/lib/flm/utils/prebuilt.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3241
+../lib/flm/utils/copydir.flm ../../tools/sbs/lib/flm/utils/copydir.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3242
+../lib/flm/win32pdd.flm ../../tools/sbs/lib/flm/win32pdd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3243
+../lib/flm/taggedrules.mk ../../tools/sbs/lib/flm/taggedrules.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3244
+../lib/flm/booleanlogic.mk ../../tools/sbs/lib/flm/booleanlogic.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3245
+../lib/flm/emulator.xml ../../tools/sbs/lib/flm/emulator.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3246
+../lib/flm/win32kext.flm ../../tools/sbs/lib/flm/win32kext.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3247
+../lib/flm/test/exeabiv2_2/test.cpp ../../tools/sbs/lib/flm/test/exeabiv2_2/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3248
+../lib/flm/test/exeabiv2_2/test_function.cpp ../../tools/sbs/lib/flm/test/exeabiv2_2/test_function.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3249
+../lib/flm/test/exeabiv2_2/exeabiv2_2.mk ../../tools/sbs/lib/flm/test/exeabiv2_2/exeabiv2_2.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3250
+../lib/flm/test/templateext/temex.mk ../../tools/sbs/lib/flm/test/templateext/temex.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3251
+../lib/flm/test/templateext/Makefile ../../tools/sbs/lib/flm/test/templateext/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3252
+../lib/flm/test/Makefile ../../tools/sbs/lib/flm/test/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3253
+../lib/flm/test/exeabiv2_4/test.cpp ../../tools/sbs/lib/flm/test/exeabiv2_4/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3254
+../lib/flm/test/exeabiv2_4/exeabiv2_4.mk ../../tools/sbs/lib/flm/test/exeabiv2_4/exeabiv2_4.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3255
+../lib/flm/test/exeabiv2_4/test_big.cpp ../../tools/sbs/lib/flm/test/exeabiv2_4/test_big.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3256
+../lib/flm/test/flmtests.mk ../../tools/sbs/lib/flm/test/flmtests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3257
+../lib/flm/test/ciaabiv2_1/uc_exe.cia ../../tools/sbs/lib/flm/test/ciaabiv2_1/uc_exe.cia
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3258
+../lib/flm/test/ciaabiv2_1/uc_exe.cpp ../../tools/sbs/lib/flm/test/ciaabiv2_1/uc_exe.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3259
+../lib/flm/test/ciaabiv2_1/ciaabiv2_1.mk ../../tools/sbs/lib/flm/test/ciaabiv2_1/ciaabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3260
+../lib/flm/test/export1/Makefile ../../tools/sbs/lib/flm/test/export1/Makefile
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3261
+../lib/flm/test/export1/t1e.h ../../tools/sbs/lib/flm/test/export1/t1e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3262
+../lib/flm/test/export1/t4e.h ../../tools/sbs/lib/flm/test/export1/t4e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3263
+../lib/flm/test/export1/t2e.h ../../tools/sbs/lib/flm/test/export1/t2e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3264
+../lib/flm/test/export1/t3e.h ../../tools/sbs/lib/flm/test/export1/t3e.h
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3265
+../lib/flm/test/dllabiv2_1/test.cpp ../../tools/sbs/lib/flm/test/dllabiv2_1/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3266
+../lib/flm/test/dllabiv2_1/dllabiv2_1.mk ../../tools/sbs/lib/flm/test/dllabiv2_1/dllabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3267
+../lib/flm/test/raptorglue/raptorglue.mk ../../tools/sbs/lib/flm/test/raptorglue/raptorglue.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3268
+../lib/flm/test/dllbasictests.mk ../../tools/sbs/lib/flm/test/dllbasictests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3269
+../lib/flm/test/exeabiv2_1/test.cpp ../../tools/sbs/lib/flm/test/exeabiv2_1/test.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3270
+../lib/flm/test/exeabiv2_1/exeabiv2_1.mk ../../tools/sbs/lib/flm/test/exeabiv2_1/exeabiv2_1.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3271
+../lib/flm/test/dllabiv2_defaults.mk ../../tools/sbs/lib/flm/test/dllabiv2_defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3272
+../lib/flm/test/exeperftests.mk ../../tools/sbs/lib/flm/test/exeperftests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3273
+../lib/flm/test/ciatests.mk ../../tools/sbs/lib/flm/test/ciatests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3274
+../lib/flm/test/environment/pvm/pvmtest.mk ../../tools/sbs/lib/flm/test/environment/pvm/pvmtest.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3275
+../lib/flm/test/environment/make/test_variable_restore.mk ../../tools/sbs/lib/flm/test/environment/make/test_variable_restore.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3276
+../lib/flm/test/exebasictests.mk ../../tools/sbs/lib/flm/test/exebasictests.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3277
+../lib/flm/test/exeabiv2_defaults.mk ../../tools/sbs/lib/flm/test/exeabiv2_defaults.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3278
+../lib/flm/test/exeabiv2_3/exeabiv2_3.mk ../../tools/sbs/lib/flm/test/exeabiv2_3/exeabiv2_3.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3279
+../lib/flm/test/exeabiv2_3/test_big.cpp ../../tools/sbs/lib/flm/test/exeabiv2_3/test_big.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3280
+../lib/flm/win32stdlib.flm ../../tools/sbs/lib/flm/win32stdlib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3281
+../lib/flm/win32var2.flm ../../tools/sbs/lib/flm/win32var2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3282
+../lib/flm/win32implib.flm ../../tools/sbs/lib/flm/win32implib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3283
+../lib/flm/bitmap.flm ../../tools/sbs/lib/flm/bitmap.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3284
+../lib/flm/build.flm ../../tools/sbs/lib/flm/build.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3285
+../lib/flm/build.xml ../../tools/sbs/lib/flm/build.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3286
+../lib/flm/tools2exe.flm ../../tools/sbs/lib/flm/tools2exe.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3287
+../lib/flm/e32abiv2klib.flm ../../tools/sbs/lib/flm/e32abiv2klib.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3288
+../lib/flm/standard.xml ../../tools/sbs/lib/flm/standard.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3289
+../lib/flm/win32var.flm ../../tools/sbs/lib/flm/win32var.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3290
+../lib/flm/e32abiv2pdd.flm ../../tools/sbs/lib/flm/e32abiv2pdd.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3291
+../lib/flm/e32abiv2none.flm ../../tools/sbs/lib/flm/e32abiv2none.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3292
+../lib/flm/romfile.mk ../../tools/sbs/lib/flm/romfile.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3293
+../lib/flm/win32textnotifier2.flm ../../tools/sbs/lib/flm/win32textnotifier2.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3294
+../lib/flm/resource.flm ../../tools/sbs/lib/flm/resource.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3295
+../lib/flm/flmtools.mk ../../tools/sbs/lib/flm/flmtools.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3296
+../lib/flm/gnumakefile.flm ../../tools/sbs/lib/flm/gnumakefile.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3297
+../lib/flm/e32abiv2kdll.flm ../../tools/sbs/lib/flm/e32abiv2kdll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3298
+../lib/flm/e32abiv2var.flm ../../tools/sbs/lib/flm/e32abiv2var.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3299
+../lib/flm/win32dll.flm ../../tools/sbs/lib/flm/win32dll.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3300
+../lib/flm/gccxml.flm ../../tools/sbs/lib/flm/gccxml.flm
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3301
+../lib/flm/e32postlink.mk ../../tools/sbs/lib/flm/e32postlink.mk
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3302
+../lib/config/default.xml ../../tools/sbs/lib/config/default.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3303
+../lib/config/build.xml ../../tools/sbs/lib/config/build.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3304
+../lib/config/interfaces.xml ../../tools/sbs/lib/config/interfaces.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3305
+../lib/config/gcc.xml ../../tools/sbs/lib/config/gcc.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3306
+../lib/config/variants.xml ../../tools/sbs/lib/config/variants.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3307
+../lib/config/coverity.xml ../../tools/sbs/lib/config/coverity.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3308
+../lib/config/meta.xml ../../tools/sbs/lib/config/meta.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3309
+../lib/config/locations.xml ../../tools/sbs/lib/config/locations.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3310
+../lib/config/gccxml.xml ../../tools/sbs/lib/config/gccxml.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3311
+../lib/config/carbide.xml ../../tools/sbs/lib/config/carbide.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3312
+../lib/config/msvc.xml ../../tools/sbs/lib/config/msvc.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3313
+../lib/config/make.xml ../../tools/sbs/lib/config/make.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3314
+../lib/config/root.xml ../../tools/sbs/lib/config/root.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3315
+../lib/config/winscw.xml ../../tools/sbs/lib/config/winscw.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3316
+../lib/config/arm.xml ../../tools/sbs/lib/config/arm.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3317
+../lib/config/gcce.xml ../../tools/sbs/lib/config/gcce.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3318
+../lib/config/rvct.xml ../../tools/sbs/lib/config/rvct.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3319
+../python/raptor_makefile.py ../../tools/sbs/python/raptor_makefile.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3320
+../python/filter_interface.py ../../tools/sbs/python/filter_interface.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3321
+../python/raptor_start.py ../../tools/sbs/python/raptor_start.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3322
+../python/pyparsing.py ../../tools/sbs/python/pyparsing.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3323
+../python/raptor_cli.py ../../tools/sbs/python/raptor_cli.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3324
+../python/raptor_cache.py ../../tools/sbs/python/raptor_cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3325
+../python/raptor_meta.py ../../tools/sbs/python/raptor_meta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3326
+../python/raptor_xml.py ../../tools/sbs/python/raptor_xml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3327
+../python/raptor_version.py ../../tools/sbs/python/raptor_version.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3328
+../python/generic_path.py ../../tools/sbs/python/generic_path.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3329
+../python/raptor_make.py ../../tools/sbs/python/raptor_make.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3330
+../python/plugins/filter_logfile.py ../../tools/sbs/python/plugins/filter_logfile.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3331
+../python/plugins/filter_terminal.py ../../tools/sbs/python/plugins/filter_terminal.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3332
+../python/plugins/filter_carbide.py ../../tools/sbs/python/plugins/filter_carbide.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3333
+../python/plugins/filter_what.py ../../tools/sbs/python/plugins/filter_what.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3334
+../python/plugins/dummyplugin.py ../../tools/sbs/python/plugins/dummyplugin.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3335
+../python/plugins/filter_clean.py ../../tools/sbs/python/plugins/filter_clean.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3336
+../python/plugins/filter_squashlog.py ../../tools/sbs/python/plugins/filter_squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3337
+../python/plugins/filter_checksource.py ../../tools/sbs/python/plugins/filter_checksource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3338
+../python/plugins/filter_splitlog.py ../../tools/sbs/python/plugins/filter_splitlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3339
+../python/sbs_dist.py ../../tools/sbs/python/sbs_dist.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3340
+../python/raptor_utilities.py ../../tools/sbs/python/raptor_utilities.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3341
+../python/pluginbox.py ../../tools/sbs/python/pluginbox.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3342
+../python/dos2unix.py ../../tools/sbs/python/dos2unix.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3343
+../python/raptor_data.py ../../tools/sbs/python/raptor_data.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3344
+../python/filter_list.py ../../tools/sbs/python/filter_list.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3345
+../python/raptor.py ../../tools/sbs/python/raptor.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3346
+../python/mmpparser.py ../../tools/sbs/python/mmpparser.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3347
+../python/filter_utils.py ../../tools/sbs/python/filter_utils.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3348
+../schema/build/2_0.xsd ../../tools/sbs/schema/build/2_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3349
+../schema/build/log/1_0.xsd ../../tools/sbs/schema/build/log/1_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3350
+../schema/build/1_0.xsd ../../tools/sbs/schema/build/1_0.xsd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3351
+../win32/bin/ransleep.exe ../../tools/sbs/win32/bin/ransleep.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3352
+../win32/bin/sbs_descramble.exe ../../tools/sbs/win32/bin/sbs_descramble.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3353
+../win32/bin/talonctl.exe ../../tools/sbs/win32/bin/talonctl.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3354
+../win32/bin/talon.exe ../../tools/sbs/win32/bin/talon.exe
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3355
diff -u -r -b -B -E -x '*.hg*' -x '*cross-plat-dev-utils*' -x '*baseline.txt' -x '*README' -x '*TODO' -x '*NEWS' -x '*.pyc' -x '*~' -x '*linux-unknown-libc2_11*' /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/raptor/lib/config/gcc.xml /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/lib/config/gcc.xml
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3356
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/raptor/lib/config/gcc.xml	2010-05-13 19:14:25.273081672 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3357
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/lib/config/gcc.xml	2010-05-08 13:35:13.030060000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3358
@@ -26,7 +26,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3359
 		<!-- used by FLM code -->
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3360
 		<set name='COMPILER' value='$(GCC) -c' type='tool' versionCommand='$(GCC) -v' versionResult='gcc version (3.[456])|(4.[0-9])'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3361
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3362
-		<set name='CFLAGS' value='-fdefer-pop -fmerge-constants -fthread-jumps -floop-optimize -fif-conversion -fif-conversion2 -fguess-branch-probability -fcprop-registers -foptimize-sibling-calls -fstrength-reduce -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fdelete-null-pointer-checks -fexpensive-optimizations -fregmove -fschedule-insns -fschedule-insns2 -fsched-interblock -fsched-spec -fcaller-saves -fpeephole2 -freorder-blocks -freorder-functions -fstrict-aliasing -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -fcrossjumping -pipe -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -m32'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3363
+		<set name='CFLAGS' value='-std=c++0x -fdefer-pop -fmerge-constants -fthread-jumps -floop-optimize -fif-conversion -fif-conversion2 -fguess-branch-probability -fcprop-registers -foptimize-sibling-calls -fstrength-reduce -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fdelete-null-pointer-checks -fexpensive-optimizations -fregmove -fschedule-insns -fschedule-insns2 -fsched-interblock -fsched-spec -fcaller-saves -fpeephole2 -freorder-blocks -freorder-functions -fstrict-aliasing -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -fcrossjumping -pipe -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -m32'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3364
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3365
 		<!-- msys based programs sometimes don't search the path properly.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3366
 		COMPILER_PATH can be set to tell gcc where to find
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3367
@@ -45,7 +45,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3368
 		<set name='CDEFS.WIN32' value='$(CDEFS.DEFAULT) _WIN32 WIN32 _WINDOWS __TOOLS2_WINDOWS__'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3369
 		<set name='CDEFS.LINUX' value='$(CDEFS.DEFAULT) __LINUX__ __TOOLS2_LINUX__'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3370
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3371
-		<set name='INC.COMPILER' value='$(EPOCINCLUDE)/gcc_mingw/gcc_mingw_3_4_2.h'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3372
+		<set name='INC.COMPILER' value='$(EPOCINCLUDE)/gcc/gcc.h'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3373
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3374
 		<set name='OPT.D' value='-D'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3375
 		<set name='OPT.L' value='-L'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3376
@@ -55,12 +55,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3377
 		<set name='OPT.SYSTEMINCLUDE' value='-isystem '/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3378
 		<set name='OPT.USERINCLUDE' value='-I '/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3379
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3380
-		<!-- always use stlport headers -->
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3381
-		<set name='SYSTEMINCLUDE' value='$(EPOCINCLUDE)/tools/stlport'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3382
+		<set name='SYSTEMINCLUDE' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3383
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3384
 		<set name='LINKER' value='$(GCC)'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3385
 		<set name='LFLAGS' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3386
-		<set name='STATICLIBRARY' value='stlport.5.1'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3387
+		<set name='STATICLIBRARY' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3388
 		<set name='LIBS' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3389
 		<set name='LIBS.WIN32' value='$(LIBS)'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3390
 		<set name='LIBS.LINUX' value='$(LIBS) pthread'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3391
Only in /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/sbsv2/raptor/python: raptor_version.py.bak
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3392
Only in /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/util: build