cross-plat-dev-utils/patch-files/diffs/patch-0f5e3a7fb6af.patch
author mikek
Thu, 13 May 2010 19:18:16 +0100
changeset 9 67f8bb81b054
child 12 5e7562f67577
permissions -rw-r--r--
1) Updating the .hgignore to exclude Raptor's built binaries 2) Updating the baseline patch file.
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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
     4
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.cpp	2010-05-12 14:13:31.601098351 +0100
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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    24
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/library/library.h	2010-05-12 14:13:33.625600203 +0100
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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    41
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/main.cpp	2010-05-08 15:36:26.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    42
@@ -22,6 +22,7 @@
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>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    46
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    47
 
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
 const char SELF_NAME[] = "checklib";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    50
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
    51
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    52
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/coff_object.cpp	2010-05-08 15:38:08.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    53
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    54
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    55
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    56
 #include <functional>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    57
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    58
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    59
 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
    60
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    61
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
    62
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    63
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/checklib/object/elf_object.cpp	2010-05-08 15:37:34.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    64
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    65
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    66
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    67
 #include <functional>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    68
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    69
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    70
 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
    71
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    72
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
    73
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/localise.cpp	2010-05-13 19:14:19.424582009 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    74
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/localise.cpp	2010-05-08 15:38:52.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    75
@@ -27,9 +27,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    76
 #pragma warning( disable : 4530 )	// function not inlined.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    77
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    78
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    79
-#include <stdio.h>   
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    80
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    81
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    82
 #include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    83
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    84
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    85
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    86
 #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    87
 using std::ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    88
@@ -1787,8 +1789,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    89
 	const char * fileName = SourceFileName.GetAssertedNonEmptyBuffer();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    90
 	ifstream iFile(fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    91
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    92
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    93
+	char LocalisationOutputFileName[sizeof("/tmp/rcomp_temp_XXXXXX")];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    94
+	strcpy(LocalisationOutputFileName,"/tmp/rcomp_temp_XXXXXX");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    95
+	int fd = mkstemp(LocalisationOutputFileName); close(fd);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    96
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    97
+#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    98
 	char * LocalisationOutputFileName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
    99
 	LocalisationOutputFileName = tmpnam(NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   100
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   101
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   102
 	ofstream outputFile(LocalisationOutputFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   103
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   104
 	String fileLine("");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   105
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
   106
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcomp.cpp	2010-05-13 19:14:19.428582169 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   107
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcomp.cpp	2010-05-08 15:41:18.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   108
@@ -90,8 +90,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   109
 #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
   110
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   111
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   112
-#include "resource.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   113
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   114
+#include "RESOURCE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   115
+#include "Parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   116
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   117
 int yylex();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   118
 void yyerror(const char* string, ...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   119
@@ -100,14 +100,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   120
 extern int yylineno;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   121
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   122
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   123
-#include "datatype.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   124
-#include "mem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   125
-#include "rcbinstr.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   126
-#include "rcscan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   127
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   128
-#include "fileacc.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   129
-#include "version.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   130
-#include "ctable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   131
+#include "DATATYPE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   132
+#include "MEM.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   133
+#include "RCBINSTR.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   134
+#include "RCSCAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   135
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   136
+#include "FILEACC.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   137
+#include "VERSION.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   138
+#include "CTABLE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   139
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   140
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   141
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   142
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
   143
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/rcompl.cpp	2010-05-13 19:14:19.428582169 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   144
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/rcompl.cpp	2010-05-08 15:40:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   145
@@ -662,8 +662,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   146
 #include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   147
 #include <string.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   148
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   149
-#include "structst.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   150
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   151
+#include "STRUCTST.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   152
+#include "Parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   153
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   154
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   155
 #define YY_SKIP_YYWRAP 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   156
@@ -696,7 +696,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   157
 }
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
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   160
-#include "fileline.h"
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   163
 #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
   164
 char buf[VALUE_LEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   165
@@ -734,7 +734,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   166
 #pragma warning( disable : 4505 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   167
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   168
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   169
-#include "errorhan.h"
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   172
 #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
   173
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   174
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
   175
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.LEX	2010-05-13 19:14:19.420582828 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   176
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.LEX	2010-05-08 15:45:48.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   177
@@ -20,9 +20,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   178
 #include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   179
 #include <string.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   180
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   181
-#include "structst.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   182
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   183
-#include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   184
+#include "STRUCTST.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   185
+#include "PARSER.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   186
+#include "LOCALISE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   187
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   188
 #define YY_SKIP_YYWRAP 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   189
 #define YY_NEVER_INTERACTIVE 1
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   190
@@ -92,7 +92,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   191
 #pragma warning( disable : 4505 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   192
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   193
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   194
-#include "errorhan.h"
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   197
 #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
   198
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   199
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
   200
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/bintools/rcomp/src/RCOMP.YACC	2010-05-13 19:14:19.424582009 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   201
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/bintools/rcomp/src/RCOMP.YACC	2010-05-08 15:47:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   202
@@ -35,8 +35,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   203
 #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
   204
 #endif //__VC32__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   205
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   206
-#include "resource.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   207
-#include "parser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   208
+#include "RESOURCE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   209
+#include "PARSER.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   210
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   211
 int yylex();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   212
 void yyerror(const char* string, ...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   213
@@ -45,14 +45,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   214
 extern int yylineno;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   215
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   216
 #include "rcomp.hpp"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   217
-#include "datatype.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   218
-#include "mem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   219
-#include "rcbinstr.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   220
-#include "rcscan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   221
-#include "errorhan.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   222
-#include "fileacc.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   223
-#include "version.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   224
-#include "ctable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   225
+#include "DATATYPE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   226
+#include "MEM.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   227
+#include "RCBINSTR.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   228
+#include "RSCAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   229
+#include "ERRORHAN.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   230
+#include "FILEACC.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   231
+#include "VERSION.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   232
+#include "CTABLE.H"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   233
 #include "localise.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   234
 #include "main.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   235
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   236
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
   237
--- /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
   238
+++ /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
   239
@@ -1,3 +1,3 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   240
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   241
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   242
-../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
   243
\ No newline at end of file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   244
+../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
   245
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
   246
--- /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
   247
+++ /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
   248
@@ -1,3 +1,3 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   249
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   250
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   251
-../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
   252
\ No newline at end of file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   253
+../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
   254
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
   255
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   256
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/e32image/deflate/deflate.cpp	2010-05-08 14:35:02.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   257
@@ -87,7 +87,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   258
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   259
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   260
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   261
-	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
   262
+	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
   263
 	}
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
 inline TInt HDeflateHash::Hash(const TUint8* aPtr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   266
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
   267
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
   268
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/e32lib/group/seclib.mmp	2010-05-13 19:14:22.512581742 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   269
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/e32lib/group/seclib.mmp	2010-05-08 14:34:04.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   270
@@ -45,8 +45,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   271
 userinclude     ../setcap 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   272
 userinclude     ../../e32lib/e32image/inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   273
 systeminclude   /epoc32/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   274
+systeminclude    /epoc32/include/platform
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   275
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   276
 OPTION          GCC -w
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
+
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
 //macro __PLACEMENT_NEW_INLINE
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   281
 //macro __PLACEMENT_VEC_NEW_INLINE
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   282
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
   283
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-13 19:14:22.512581742 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   284
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/group/elf2e32.mmp	2010-05-08 14:17:32.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   285
@@ -28,7 +28,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   286
 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
   287
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   288
 systeminclude    /epoc32/include  /epoc32/include/tools  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   289
+systeminclude    /epoc32/include/platform
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   290
 userinclude		../source ../include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   291
+userinclude ../../../bintools/elftools/inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   292
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   293
 option 	GCC -w
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   294
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   295
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
   296
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deffile.cpp	2010-05-13 19:14:22.516582251 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   297
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deffile.cpp	2010-05-08 14:31:46.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   298
@@ -18,9 +18,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   299
 //
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
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   303
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   304
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   305
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   306
-#include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   307
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   308
+
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
 #include "pl_symbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   311
 #include "deffile.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   312
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
   313
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-13 19:14:22.516582251 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   314
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/deflatecompress.cpp	2010-05-08 14:25:12.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   315
@@ -126,7 +126,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   316
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   317
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   318
 	//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
   319
-	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
   320
+	return new(new char[_FOFF(HDeflateHash,iOffset[0]) + 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   321
+		(sizeof(TOffset) * Min(aLinks,KDeflateMaxDistance))]) HDeflateHash;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   322
 }
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
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
   326
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-13 19:14:22.516582251 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   327
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32exporttable.cpp	2010-05-08 14:18:16.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   328
@@ -18,6 +18,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   329
 #include "pl_elfexports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   330
 #include "pl_dllsymbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   331
 #include "pl_elflocalrelocation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   332
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   333
 
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
 Destructor for E32ExportTable class.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   336
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
   337
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-13 19:14:22.520581921 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   338
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/e32imagefile.cpp	2010-05-08 14:20:20.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   339
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   340
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   341
 // get E32ImageHeader class...
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   342
 #define INCLUDE_E32IMAGEHEADER_IMPLEMENTATION
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   343
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   344
 #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
   345
 //#define E32IMAGEHEADER_TRACE(_t) printf _t
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   346
 #include "e32imagefile.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   347
@@ -40,11 +41,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   348
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   349
 #ifndef __LINUX__ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   350
     #include <io.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   351
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   352
-    #include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   353
 #endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   354
-#include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   355
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   356
+#include <ctime>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   357
+
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
 using namespace std;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   360
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   361
@@ -365,7 +364,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   362
 	iImportSectionSize = aTotalSize;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   363
 	iImportSection = (uint32 *)new char[aTotalSize];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   364
 	memset(iImportSection, 0, aTotalSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   365
-	memcpy(iImportSection, aImportSection.begin(), aImportSectionSize);
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
 	char * strTab = ((char *)iImportSection) + aImportSectionSize;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   368
 	memcpy(strTab, aStrTab.data(), aStrTab.size());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   369
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   370
@@ -1922,7 +1921,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   371
 	memcpy(aInfo, (void*)&aSymInf, sizeof(aSymInf));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   372
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   373
 	TUint aPos = aSymInf.iSymbolTblOffset;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   374
-	memcpy(aInfo+aPos, iSymAddrTab.begin(), iSymAddrTab.size()*sizeof(uint32));
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   377
 	aPos += iSymAddrTab.size()*aSizeofNames;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   378
 	aPos += iSymNameOffTab.size()*aSizeofNames;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   379
@@ -1933,13 +1932,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   380
 	if(aSymInf.iFlags & 1)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   381
 		aOffLen=4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   382
 	while(Iter != iSymNameOffTab.end()){
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   383
-		memcpy( ((void*)(aInfo+aPos)), ((void*)Iter), aOffLen);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   384
+		memcpy( ((void*)(aInfo+aPos)), &*Iter, aOffLen);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   385
 		aPos += aOffLen;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   386
 		Iter++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   387
 	}
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
 	aPos = aSymInf.iStringTableOffset;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   390
-	memcpy(aInfo+aPos, iSymbolNames.begin(), iSymbolNames.size());
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   393
 	// 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
   394
 	// while relocating.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   395
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
   396
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-13 19:14:22.520581921 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   397
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/elffilesupplied.cpp	2010-05-08 14:22:14.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   398
@@ -25,7 +25,15 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   399
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   400
 #include <algorithm>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   401
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   402
-#include<hash_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   403
+#if __GNUC__ < 4
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   404
+    #include <ext/hash_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   405
+    #define SET_TYPE __gnu_cxx::hash_set
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   406
+    #define HASH_FUN __gnu_cxx::hash
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   407
+#else    
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   408
+    #include <unordered_set>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   409
+    #define SET_TYPE std::unordered_set
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   410
+    #define HASH_FUN std::hash
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   411
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   412
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   413
 using namespace std;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   414
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   415
@@ -638,7 +646,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   416
 */ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   417
 int ElfFileSupplied::UnWantedSymbolp(const char * aSymbol)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   418
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   419
-  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
   420
+  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
   421
   int symbollistsize=sizeof(Unwantedruntimesymbols)/sizeof(Unwantedruntimesymbols[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   422
   static bool FLAG=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   423
   while(!FLAG)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   424
@@ -649,7 +657,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   425
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   426
 	FLAG=true;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   427
   }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   428
-  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
   429
+  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
   430
     = aSymbolSet.find(aSymbol);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   431
   if(it != aSymbolSet.end())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   432
 	return 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   433
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
   434
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-13 19:14:22.520581921 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   435
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/errorhandler.cpp	2010-05-08 14:24:02.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   436
@@ -26,7 +26,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   437
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   438
 #include "messagehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   439
 #include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   440
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   441
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   442
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   443
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   444
 using std::cerr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   445
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   446
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   447
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
   448
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/huffman.cpp	2010-05-13 19:14:22.528582030 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   449
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/huffman.cpp	2010-05-08 14:25:08.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   450
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   451
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   452
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   453
 #include <cassert>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   454
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   455
 #include "huffman.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   456
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   457
 #include "farray.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   458
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
   459
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   460
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/h_utl.cpp	2010-05-08 14:33:02.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   461
@@ -17,8 +17,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   462
 // 
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
-#include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   466
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   467
+#include <cstdlib>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   468
+#include <cstdio>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   469
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   470
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   471
 
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
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
   474
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
   475
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/inflate.cpp	2010-05-13 19:14:22.528582030 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   476
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/inflate.cpp	2010-05-08 14:25:46.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   477
@@ -23,6 +23,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   478
 #include "farray.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   479
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   480
 #include<iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   481
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   482
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   483
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   484
 
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
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
   487
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-13 19:14:22.532582119 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   488
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/messageimplementation.cpp	2010-05-08 14:33:34.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   489
@@ -23,7 +23,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   490
 #include<iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   491
 #include<stdarg.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   492
 #include<string>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   493
-#include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   494
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   495
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   496
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   497
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   498
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   499
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
   500
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-13 19:14:22.532582119 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   501
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.cpp	2010-05-12 14:24:20.025099230 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   502
@@ -647,7 +647,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   503
 			parser(this, "help", 0, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   504
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   505
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   506
-		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
   507
+		parser(this, aName.c_str(), optval, aDesc);
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   511
@@ -2247,7 +2247,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   512
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   513
 			int len = nq;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   514
 			symbol = new char[len+1];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   515
-			memcpy(symbol, p, len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   516
+			memcpy(symbol, &*p, len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   517
 			symbol[len] = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   518
 			q = nq+1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   519
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   520
@@ -2387,7 +2387,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   521
 			if (*e == '-' || *e == '+') break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   522
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   523
 		if (e != b)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   524
-			ParseCapability1(b, e, aCapabilities, invert);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   525
+			ParseCapability1(&*b, &*e, aCapabilities, invert);
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
 		b = e;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   528
 		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   529
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
   530
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/e32tools/elf2e32/source/parametermanager.h	2010-05-13 19:14:22.532582119 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   531
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/parametermanager.h	2010-05-12 14:23:46.225599591 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   532
@@ -81,7 +81,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   533
 	typedef std::map<string, const OptionDesc *, OptionCompare> OptionMap;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   534
 	typedef vector<char *> LibSearchPaths;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   535
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   536
-	typedef void (*ParserFn)(ParameterManager *, char *, char *, const OptionDesc *);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   537
+	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
   538
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   539
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   540
 	#define DECLARE_PARAM_PARSER(name) \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   541
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
   542
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   543
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexecutable.h	2010-05-08 14:31:06.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   544
@@ -22,13 +22,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   545
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   546
 #include "pl_common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   547
 #include <list>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   548
-#include <hash_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   549
+#if __GNUC__ < 4
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   550
+    #include <ext/hash_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   551
+    #define MAP_TYPE __gnu_cxx::hash_map
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   552
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   553
+    #include <unordered_map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   554
+    #define MAP_TYPE std::unordered_map
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   555
+#endif    
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   556
 #include "pl_elfimports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   557
 #include "pl_elfrelocations.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   558
 #include "pl_elfexports.h"
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
 using std::list;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   561
-using std::hash_map;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   562
+using MAP_TYPE;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   563
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   564
 class DllSymbol;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   565
 class Symbol;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   566
@@ -122,7 +128,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   567
 	 * The dynamic symbol array.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   568
 	 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   569
 	Elf32_Sym		*iElfDynSym;//The ELF symbol
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   570
-	hash_map<PLUINT32, DllSymbol*>	iSymbolTable; //The representation
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   571
+	MAP_TYPE<PLUINT32, DllSymbol*>	iSymbolTable; //The representation
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   572
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   573
 	/**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   574
 	 * The static symbol table.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   575
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
   576
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   577
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfexports.cpp	2010-05-08 14:20:44.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   578
@@ -20,6 +20,7 @@
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
 #include "pl_elfexecutable.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   581
 #include "pl_dllsymbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   582
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   583
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   584
 using std::set_difference;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   585
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   586
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
   587
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   588
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfimports.cpp	2010-05-08 14:32:18.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   589
@@ -19,6 +19,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   590
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   591
 #include "pl_elfimports.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   592
 #include "pl_elfimportrelocation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   593
+#include <cstring>
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   596
 Constructor for class ElfImports
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   597
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
   598
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   599
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_elfproducer.cpp	2010-05-08 14:23:30.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   600
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   601
 #include <stdio.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   602
 #include <string>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   603
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   604
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   605
 
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
  * Following array is indexed on the SECTION_INDEX enum 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   608
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
   609
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   610
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/e32tools/elf2e32/source/pl_symbol.cpp	2010-05-08 14:18:40.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   611
@@ -18,6 +18,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   612
 //
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   613
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   614
 #include "pl_symbol.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   615
+#include <cstring>
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   618
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   619
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
   620
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
   621
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
   622
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
   623
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
   624
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/bld.inf	2010-05-13 19:14:22.580581863 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   625
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/bld.inf	2010-05-08 15:25:20.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   626
@@ -21,8 +21,10 @@
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
 // These libraries needs to be exported
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   629
 PRJ_EXPORTS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   630
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   631
 ../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
   632
 ../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
   633
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   634
 ../src/imgcheck.xsl			/epoc32/tools/imgcheck.xsl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   635
 ./imgcheck.pl				/epoc32/tools/imgcheck.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   636
 ./imgcheck.cmd				/epoc32/tools/imgcheck.cmd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   637
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
   638
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-13 19:14:22.580581863 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   639
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/group/imgcheck.mmp	2010-05-08 17:31:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   640
@@ -25,17 +25,24 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   641
 SOURCE		exceptionimplementation.cpp exceptionreporter.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   642
 SOURCE 		cmdlinewriter.cpp xmlwriter.cpp dbgflagchecker.cpp
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   643
 USERINCLUDE ../libimgutils/inc ../inc ../../imglib/compress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   644
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   645
 USERINCLUDE   ../../imglib/boostlibrary
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   646
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   647
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   648
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   649
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   650
 SYSTEMINCLUDE ../libxml ../ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   651
+#endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   652
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   653
 SYSTEMINCLUDE ../../imglib/inc ../../romtools/rofsbuild
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   654
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   655
-STATICLIBRARY imgutils xml2 wsock32 stlport.5.1 patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   656
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   657
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   658
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   659
+STATICLIBRARY imgutils patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   660
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   661
+STATICLIBRARY imgutils xml2 wsock32 patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   662
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   663
+#ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   664
+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
   665
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   666
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   667
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   668
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
   669
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-13 19:14:22.805083364 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   670
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/cmdlinehandler.h	2010-05-08 15:31:40.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   671
@@ -120,7 +120,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   672
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   673
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   674
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   675
-typedef enum Suppress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   676
+enum Suppress
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   677
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   678
     EDep = 0x1,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   679
     ESid = 0x2,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   680
@@ -136,7 +136,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   681
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   682
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   683
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   684
-typedef enum NumberOfValue
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   685
+enum NumberOfValue
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   686
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   687
     ENone = 0x0,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   688
     ESingle = 0x1,
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/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
   690
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/common.h	2010-05-13 19:14:22.805083364 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   691
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/common.h	2010-05-08 15:30:02.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   692
@@ -86,7 +86,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 ReturnType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   697
+enum ReturnType
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
 	ESuccess = 0,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   700
 	EQuit,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   701
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
   702
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-13 19:14:22.805083364 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   703
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/exceptionimplementation.h	2010-05-08 15:30:50.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   704
@@ -91,7 +91,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   705
 struct Messages
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   706
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   707
 	int iIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   708
-	char* iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   709
+	char const * iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   710
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   711
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   712
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   713
@@ -110,7 +110,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   714
 	void Report(const String aMsg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   715
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   716
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   717
-	ofstream iLogStream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   718
+	Ofstream iLogStream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   719
 	IndexVsMessageMap iMessage;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   720
 	unsigned int iMsgIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   721
 	static unsigned int iCmdFlag;
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/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
   723
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-13 19:14:22.809081638 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   724
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/inc/xmlwriter.h	2010-05-08 15:32:40.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   725
@@ -24,7 +24,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   726
 #define XMLWRITER_H
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
 #include "reportwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   729
-#include "libxml/xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   730
+#if defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   731
+	#include <libxml/xmlwriter.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   732
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   733
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   734
+	#include "libxml/xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   735
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   736
 #include "common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   737
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   738
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   739
@@ -107,7 +112,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   740
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   741
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   742
 	// File stream for xml output.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   743
-	ofstream iXmlFile;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   744
+	Ofstream iXmlFile;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   745
 	// Xml file name for output.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   746
 	const String iXmlFileName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   747
 	// Xml Buffer pointer.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   748
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
   749
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   750
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/romfsentry.h	2010-05-12 19:58:30.300831269 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   751
@@ -32,7 +32,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   752
 class RomImageFSEntry 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   753
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   754
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   755
-	RomImageFSEntry (char* aName) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   756
+	RomImageFSEntry (char const* aName) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   757
 	: iName(aName), iSibling(0), iChildren(0)
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
@@ -117,7 +117,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   761
 class RomImageDirEntry : public RomImageFSEntry
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   762
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   763
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   764
-	RomImageDirEntry(char* aName) : RomImageFSEntry(aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   765
+	RomImageDirEntry(char const* aName) : RomImageFSEntry(aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   766
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   767
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   768
 	~RomImageDirEntry(void)
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/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
   770
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   771
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/inc/typedefs.h	2010-05-08 15:36:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   772
@@ -28,8 +28,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   773
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   774
 #undef _L
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   775
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   776
-#include <fstream.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   777
-#include <iostream.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   778
+#include <fstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   779
+#include <iostream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   780
 #include <list>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   781
 #include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   782
 #include <map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   783
@@ -53,10 +53,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   784
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   785
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   786
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   787
-typedef ios Ios;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   788
+typedef std::ios Ios;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   789
 typedef std::string String;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   790
-typedef ofstream Ofstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   791
-typedef ifstream Ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   792
+typedef std::ofstream Ofstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   793
+typedef std::ifstream Ifstream;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   794
 typedef std::list<String> StringList;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   795
 typedef std::map<unsigned int, String> UintVsString;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   796
 typedef std::map<unsigned int, UintVsString> RomAddrVsExeName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   797
@@ -95,7 +95,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   798
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   799
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   800
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   801
-typedef enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   802
+enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   803
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   804
 	EUnknownImage,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   805
 	ERomImage,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   806
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
   807
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   808
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/libimgutils/src/dirreader.cpp	2010-05-08 15:34:42.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   809
@@ -119,9 +119,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   810
 void DirReader::ProcessImage()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   811
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   812
 	char* cwd = new char[MAXPATHLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   813
-	getcwd(cwd,MAXPATHLEN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   814
+	char *cp = getcwd(cwd,MAXPATHLEN); (void)cp;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   815
 	ReadDir(iImgFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   816
-	chdir(cwd);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   817
+	int i = chdir(cwd); (void)i;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   818
 	if(cwd != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   819
 		delete [] cwd;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   820
 	cwd = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   821
@@ -139,8 +139,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   822
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   823
 void DirReader::ReadDir(String aPath)
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
+#ifndef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   826
 	int handle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   827
 	int retVal = 0; 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   828
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   829
+ 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   830
 	E32Image* e32Image = KNull;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   831
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   832
 #ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   833
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
   834
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-13 19:14:22.856604788 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   835
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinehandler.cpp	2010-05-08 15:21:44.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   836
@@ -25,6 +25,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   837
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   838
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   839
 #include "cmdlinehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   840
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   841
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   842
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   843
 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
   844
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
   845
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-13 19:14:22.856604788 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   846
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/cmdlinewriter.cpp	2010-05-08 15:22:18.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   847
@@ -24,6 +24,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   848
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   849
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   850
 #include "cmdlinewriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   851
+#include <cstring>
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   854
 Constructor: CmdLineWriter class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   855
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
   856
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-13 19:14:22.856604788 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   857
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/exceptionimplementation.cpp	2010-05-08 15:24:58.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   858
@@ -187,7 +187,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   859
     
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   860
 	if(iCmdFlag & KVerbose)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   861
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   862
-		cout << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   863
+		std::cout << aMsg.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   864
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   865
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   866
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   867
@@ -207,10 +207,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   868
 	iLogStream <<  aMsg.c_str() << "\n";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   869
 	if(aMsg.find("Success") != String::npos)
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
-		cout << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   872
+		std::cout << aMsg.c_str() << std::endl;
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
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   875
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   876
-		cerr << aMsg.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   877
+		std::cerr << aMsg.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   878
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   879
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   880
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
   881
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-13 19:14:22.861082172 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   882
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/sidchecker.cpp	2010-05-08 15:24:08.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   883
@@ -249,8 +249,8 @@
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
 		exeAtt->iAttStatus = KNull;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   886
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   887
-	if((iAllExecutables 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   888
-		|| (exeAtt->iAttStatus == KDuplicate)) && !exeAtt->iAttStatus.empty() 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   889
+	if(((iAllExecutables 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   890
+		|| (exeAtt->iAttStatus == KDuplicate)) && !exeAtt->iAttStatus.empty())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   891
 		|| iNoCheck)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   892
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   893
 		aExeContainer->iExeAttList.push_back(exeAtt);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   894
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
   895
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-13 19:14:22.861082172 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   896
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imgcheck/src/xmlwriter.cpp	2010-05-09 13:32:35.689287000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   897
@@ -24,9 +24,10 @@
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   900
 #include "xmlwriter.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   901
+#include <cstring>
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
 #ifndef __LINUX__		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   904
-	#include "/epoc32/gcc_mingw/include/windows.h"	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   905
+    #include <windows.h>	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   906
 #endif //__LINUX__
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   909
@@ -99,7 +100,7 @@
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
 	xslSourcePath.append(KXslFileName.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   912
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   913
-	ifstream xslSourceHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   914
+	Ifstream xslSourceHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   915
 	xslSourceHandle.open(xslSourcePath.c_str(), Ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   916
 	if(!xslSourceHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   917
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   918
@@ -116,7 +117,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   919
 	xslSourceHandle.read(filetocopy,fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   920
 	xslSourceHandle.close();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   921
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   922
-	ofstream xslDestHandle(xslDestPath.c_str(), Ios::binary | Ios::out);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   923
+	Ofstream xslDestHandle(xslDestPath.c_str(), Ios::binary | Ios::out);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   924
 	if(!xslDestHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   925
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   926
 		delete [] filetocopy;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   927
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
   928
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   929
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_data.hpp	2010-05-09 13:34:57.929288000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   930
@@ -8,7 +8,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   931
 #include <boost/thread/detail/config.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   932
 #include <boost/thread/exceptions.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   933
 #include <boost/shared_ptr.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   934
-#include <boost/enable_shared_from_this.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   935
+#include <boost/smart_ptr/enable_shared_from_this.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   936
 #include <boost/thread/mutex.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   937
 #include <boost/optional.hpp>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   938
 #include <pthread.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   939
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
   940
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   941
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/deflate.cpp	2010-05-08 14:38:16.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   942
@@ -20,6 +20,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   943
 #include "deflate.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   944
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   945
 #include "panic.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   946
+#define OFFSETOF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   947
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   948
 class HDeflateHash
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
@@ -89,7 +90,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   951
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   952
 inline HDeflateHash* HDeflateHash::NewLC(TInt aLinks)
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
-	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
   955
+	return new(new char[OFFSETOF(HDeflateHash,iOffset[0]) + 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   956
+		(sizeof(TOffset) * Min(aLinks,KDeflateMaxDistance))]) HDeflateHash;
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   959
 inline TInt HDeflateHash::Hash(const TUint8* aPtr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   960
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
   961
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   962
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32image/deflate/panic.cpp	2010-05-08 14:37:24.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   963
@@ -21,7 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   964
 #include "h_utl.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   965
 #include <stdlib.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   966
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   967
-char* HuffmanError[]=	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   968
+char const * HuffmanError[]=	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   969
 						"Huffman: Too many codes\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   970
 						"Huffman: Invalid coding\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   971
 						"Huffman: Buffer overflow\n",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   972
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
   973
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-13 19:14:23.497082779 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   974
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/e32uid/uidcrc.cpp	2010-05-08 14:36:56.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   975
@@ -55,7 +55,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   976
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   977
 	for (i=1; i<4; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   978
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   979
-		char* endptr = "failed";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   980
+		char * endptr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   981
 		uids[i] = strtoul(argv[i],&endptr,0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   982
 		if (*endptr!='\0')
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
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
   985
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   986
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/errorhandler.h	2010-05-12 19:43:57.948831013 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   987
@@ -36,8 +36,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   988
 class ErrorHandler
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
 	public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   991
-		ErrorHandler(int aMessageIndex,char* aSubMessage,char* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   992
-        ErrorHandler(int aMessageIndex, char* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   993
+		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
   994
+        ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   995
 		virtual ~ErrorHandler();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   996
 		void Report();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   997
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
   998
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
   999
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1000
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messagehandler.h	2010-05-12 19:48:35.893331147 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1001
@@ -36,9 +36,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1002
     public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1003
 		static Message *GetInstance();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1004
 		static void CleanUp();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1005
-		static void StartLogging(char *filename);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1006
-		static void CreateMessageFile(char *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1007
-		static void ReportMessage(int aMsgType, int aMsgIndex,char* aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1008
+		static void StartLogging(char const *filename);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1009
+		static void CreateMessageFile(char const *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1010
+		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
  1011
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1012
     private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1013
 		static Message* iInstance;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1014
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
  1015
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1016
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/include/messageimplementation.h	2010-05-12 19:54:26.568831118 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1017
@@ -84,7 +84,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1018
 		// display message to output device
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1019
 		virtual void Output(const char *aName) =0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1020
 		// start logging to a file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1021
-		virtual void StartLogging(char *fileName)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1022
+		virtual void StartLogging(char const *fileName)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1023
 		virtual void ReportMessage(int aMsgType, int aMsgIndex,...)=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1024
 		virtual void InitializeMessages()=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1025
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1026
@@ -105,7 +105,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1027
 		char* GetMessageString(int errorIndex);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1028
 		void Output(const char *aName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1029
 		void LogOutput(const char *aString);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1030
-		void StartLogging(char *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1031
+		void StartLogging(char const *fileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1032
 		void ReportMessage(int aMsgType, int aMsgIndex,...);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1033
 		void InitializeMessages();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1034
     private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1035
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
  1036
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1037
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/cluster.cpp	2010-05-12 14:37:01.301106883 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1038
@@ -143,7 +143,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1039
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1040
 	if(iCurrentClusterNumber >= iTotalNumberOfClusters)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1041
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1042
-    	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
  1043
+    	throw ErrorHandler(IMAGESIZETOOBIG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1044
+			"Occupied number of clusters count exceeded than available clusters",
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1045
+			__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1046
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1047
 	++iCurrentClusterNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1048
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1049
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
  1050
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1051
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/dirregion.cpp	2010-05-12 14:43:35.669597925 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1052
@@ -49,7 +49,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1053
 	iClusterPtr = CCluster::Instance(iClusterSize,totalClusters);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1054
 	if(iClusterPtr == NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1055
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1056
-		throw ErrorHandler(CLUSTERERROR,"Instance creation error", __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1057
+		throw ErrorHandler(CLUSTERERROR,"Instance creation error",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1058
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1059
 	iClusterSize = iClusterPtr->GetClusterSize();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1060
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1061
@@ -117,7 +117,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1062
 	aOutPutStream.flush();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1063
 	if(aOutPutStream.bad())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1064
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1065
-		throw ErrorHandler(FILEWRITEERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1066
+		throw ErrorHandler(FILEWRITEERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1067
+
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
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1070
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1071
@@ -175,7 +176,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1072
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1073
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1074
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1075
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1076
+		throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1077
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1078
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1079
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1080
@@ -247,7 +248,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1081
 	if(tempString.length() == 0)
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
 		tempString.erase();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1084
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1085
+		throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1086
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1087
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1088
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1089
@@ -314,7 +315,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1090
 	iInputStream.open(aEntry->GetFilePath().c_str(),Ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1091
 	if(iInputStream.fail() == true )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1092
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1093
-		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
  1094
+		throw ErrorHandler(FILEOPENERROR,aEntry->GetFilePath().c_str(),
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1095
+			__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1096
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1097
 	else
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
@@ -324,7 +326,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1100
 		char* dataBuffer = (char*)malloc((unsigned int)fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1101
 		if(dataBuffer == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1102
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1103
-			throw ErrorHandler(MEMORYALLOCATIONERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1104
+			throw ErrorHandler(MEMORYALLOCATIONERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1105
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1106
 		//Read the whole file in one short
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1107
 		iInputStream.read (dataBuffer,fileSize);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1108
@@ -332,7 +334,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1109
 		Long64 bytesRead = (unsigned int)iInputStream.tellg();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1110
 		if((iInputStream.bad()) || (bytesRead != fileSize))
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
-			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
  1113
+			throw ErrorHandler(FILEREADERROR,aEntry->GetFilePath().c_str(),
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1114
+				__FILE__, __LINE__);
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
 		String clusterData(dataBuffer,(unsigned int)bytesRead);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1117
 		PushStringIntoClusterMap(iClusterPtr->GetCurrentClusterNumber(),clusterData,iClusterSize,aEntry->GetEntryAttribute());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1118
@@ -544,12 +547,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1119
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1120
 		if(aNodeList.front()->GetEntryList()->size() <= 0)
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
-			throw ErrorHandler(NOENTRIESFOUND, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1123
+			throw ErrorHandler(NOENTRIESFOUND,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1124
 		}
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
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1127
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1128
-		throw ErrorHandler(ROOTNOTFOUND, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1129
+		throw ErrorHandler(ROOTNOTFOUND,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1130
 	}
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1133
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
  1134
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1135
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/errorhandler.cpp	2010-05-12 19:45:04.149330876 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1136
@@ -22,9 +22,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1137
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1138
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1139
 #include "messagehandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1140
+#include <cstring>
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
-char *errMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1143
-char *Gspace=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1144
+char const *errMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1145
+char const *Gspace=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1146
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1147
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1148
 ErrorHandler constructor for doing common thing required for derived 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1149
@@ -41,7 +42,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1150
 @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
  1151
 @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
  1152
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1153
-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
  1154
+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
  1155
                             :iSubMessage(aSubMessage), iFileName(aFileName), iLineNumber(aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1156
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1157
 	iMessageIndex = aMessageIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1158
@@ -60,7 +61,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1159
 @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
  1160
 @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
  1161
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1162
-ErrorHandler::ErrorHandler(int aMessageIndex, char* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1163
+ErrorHandler::ErrorHandler(int aMessageIndex, char const* aFileName, int aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1164
                             : iFileName(aFileName), iLineNumber(aLineNumber)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1165
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1166
 	iMessageIndex = aMessageIndex;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1167
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
  1168
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1169
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16bootsector.cpp	2010-05-08 14:43:40.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1170
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1171
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1172
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1173
 #include "fat16bootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1174
+#include <cstring>
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1177
 Constructor of the fat16 boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1178
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
  1179
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1180
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat16filesystem.cpp	2010-05-12 19:42:41.053330333 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1181
@@ -21,7 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1182
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1183
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1184
 #include"fat16filesystem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1185
-
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1186
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1187
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1188
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1189
 Initializes the boot sector of a FAT 16 volume
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1190
@@ -76,45 +76,45 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1191
 	//copying of boot sector values in to the array
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1192
 	iData = new unsigned char[BytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1193
 	unsigned int pos = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1194
-	memcpy(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1195
+	memmove(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1196
 	pos += 3;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1197
-	memcpy(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1198
+	memmove(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1199
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1200
-	memcpy(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1201
+	memmove(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1202
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1203
-	memcpy(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1204
+	memmove(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1205
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1206
-	memcpy(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1207
+	memmove(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1208
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1209
-	memcpy(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1210
+	memmove(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1211
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1212
-	memcpy(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1213
+	memmove(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1214
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1215
-	memcpy(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1216
+	memmove(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1217
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1218
-	memcpy(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1219
+	memmove(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1220
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1221
-	memcpy(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1222
+	memmove(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1223
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1224
-	memcpy(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1225
+	memmove(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1226
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1227
-	memcpy(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1228
+	memmove(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1229
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1230
-	memcpy(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1231
+	memmove(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1232
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1233
-	memcpy(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1234
+	memmove(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1235
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1236
-	memcpy(&iData[pos],&BootSectorDriveNumber,1);		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1237
+	memmove(&iData[pos],&BootSectorDriveNumber,1);		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1238
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1239
-	memcpy(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1240
+	memmove(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1241
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1242
-	memcpy(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1243
+	memmove(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1244
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1245
-	memcpy(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1246
+	memmove(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1247
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1248
-	memcpy(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1249
+	memmove(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1250
 	pos += 11;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1251
-	memcpy(&iData[pos],FileSysType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1252
+	memmove(&iData[pos],FileSysType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1253
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1254
 	while(pos < BytesPerSector)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1255
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1256
@@ -133,7 +133,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1257
 	ComputeClusterSizeInBytes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1258
 	ComputeRootDirSectors();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1259
 	ComputeBytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1260
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG, "FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1261
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG,"FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1262
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1263
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1264
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1265
@@ -195,8 +195,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1266
 		// 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
  1267
 		aFatString.append((totalFatEntries - clusterCounter)*2, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1268
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1269
-	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1270
-								   "FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1271
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1272
+	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,"FAT16");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1273
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1274
 	// 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
  1275
 	unsigned int noOfFats = iFAT16BootSector.NumberOfFats();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1276
@@ -313,6 +313,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1277
 	catch(...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1278
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1279
 		delete dirRegionPtr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1280
-		throw ErrorHandler(UNKNOWNERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1281
+		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1282
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1283
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1284
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
  1285
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1286
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32bootsector.cpp	2010-05-08 14:48:14.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1287
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1288
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1289
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1290
 #include "fat32bootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1291
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1292
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1293
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1294
 Constructor of the fat16 boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1295
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
  1296
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1297
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fat32filesystem.cpp	2010-05-12 14:34:09.953097477 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1298
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1299
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1300
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1301
 #include"fat32filesystem.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1302
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1303
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1304
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1305
 Initializes the boot sector of a FAT 32 volume
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1306
@@ -90,59 +91,59 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1307
 	//copying of boot sector values in to the array
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1308
 	iData = new unsigned char[BytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1309
 	unsigned int pos = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1310
-	memcpy(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1311
+	memmove(&iData[pos],JmpBoot,3);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1312
 	pos += 3;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1313
-	memcpy(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1314
+	memmove(&iData[pos],OEMName,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1315
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1316
-	memcpy(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1317
+	memmove(&iData[pos],&BytesPerSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1318
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1319
-	memcpy(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1320
+	memmove(&iData[pos],&SectorsPerCluster,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1321
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1322
-	memcpy(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1323
+	memmove(&iData[pos],&ReservedSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1324
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1325
-	memcpy(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1326
+	memmove(&iData[pos],&NumFats,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1327
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1328
-	memcpy(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1329
+	memmove(&iData[pos],&RootDirEntries,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1330
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1331
-	memcpy(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1332
+	memmove(&iData[pos],&LowSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1333
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1334
-	memcpy(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1335
+	memmove(&iData[pos],&Media,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1336
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1337
-	memcpy(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1338
+	memmove(&iData[pos],&FatSectors,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1339
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1340
-	memcpy(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1341
+	memmove(&iData[pos],&SectorPerTrack,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1342
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1343
-	memcpy(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1344
+	memmove(&iData[pos],&NumberOfHeads,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1345
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1346
-	memcpy(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1347
+	memmove(&iData[pos],&HiddenSectors,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1348
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1349
-	memcpy(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1350
+	memmove(&iData[pos],&HighSectorsCount,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1351
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1352
-	memcpy(&iData[pos],&FatSectors32,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1353
+	memmove(&iData[pos],&FatSectors32,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1354
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1355
-	memcpy(&iData[pos],&ExtFlags,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1356
+	memmove(&iData[pos],&ExtFlags,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1357
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1358
-	memcpy(&iData[pos],&FileSystemVersion,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1359
+	memmove(&iData[pos],&FileSystemVersion,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1360
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1361
-	memcpy(&iData[pos],&RootCluster,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1362
+	memmove(&iData[pos],&RootCluster,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1363
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1364
-	memcpy(&iData[pos],&FSInfo,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1365
+	memmove(&iData[pos],&FSInfo,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1366
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1367
-	memcpy(&iData[pos],&BackUpBootSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1368
+	memmove(&iData[pos],&BackUpBootSector,2);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1369
 	pos += 2;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1370
-	memcpy(&iData[pos],FutureReserved,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1371
+	memmove(&iData[pos],FutureReserved,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1372
 	pos += 12;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1373
-	memcpy(&iData[pos],&BootSectorDriveNumber,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1374
+	memmove(&iData[pos],&BootSectorDriveNumber,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1375
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1376
-	memcpy(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1377
+	memmove(&iData[pos],&ReservedByte,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1378
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1379
-	memcpy(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1380
+	memmove(&iData[pos],&BootSignature,1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1381
 	pos += 1;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1382
-	memcpy(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1383
+	memmove(&iData[pos],&VolumeId,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1384
 	pos += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1385
-	memcpy(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1386
+	memmove(&iData[pos],VolumeLab,11);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1387
 	pos += 11;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1388
-	memcpy(&iData[pos],FileSystemType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1389
+	memmove(&iData[pos],FileSystemType,8);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1390
 	pos += 8;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1391
 	while(pos < BytesPerSector)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1392
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1393
@@ -159,7 +160,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1394
 	ComputeClusterSizeInBytes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1395
 	ComputeRootDirSectors();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1396
 	ComputeBytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1397
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG, "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1398
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORCREATEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1399
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1400
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1401
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1402
@@ -172,7 +173,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1403
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1404
 void CFat32FileSystem::WriteBootSector(ofstream& aOutPutStream)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1405
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1406
-	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORWRITEMSG, "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1407
+	MessageHandler::ReportMessage (INFORMATION,BOOTSECTORWRITEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1408
 	aOutPutStream.write(reinterpret_cast<char*>(&iData[0]),iFAT32BootSector.BytesPerSector());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1409
 	aOutPutStream.flush();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1410
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1411
@@ -228,8 +229,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1412
 		// 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
  1413
 		aFatString.append((totalFatEntries - clusterCounter)*4, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1414
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1415
-	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1416
-								   "FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1417
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1418
+	MessageHandler::ReportMessage (INFORMATION,FATTABLEWRITEMSG,"FAT32");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1419
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1420
 	//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
  1421
 	unsigned int noOfFats = iFAT32BootSector.NumberOfFats();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1422
 	for(unsigned int i=0; i<noOfFats; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1423
@@ -254,19 +256,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1424
 	unsigned int bytesPerSector = iFAT32BootSector.BytesPerSector();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1425
 	FSinfoData = new unsigned char[bytesPerSector];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1426
 	iFSInfo.SetFSInfo();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1427
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_LeadSign,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1428
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_LeadSign,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1429
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1430
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Reserved,480);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1431
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Reserved,480);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1432
 	counter += 480;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1433
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_StrucSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1434
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_StrucSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1435
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1436
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Free_Count,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1437
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Free_Count,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1438
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1439
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Nxt_Free,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1440
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Nxt_Free,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1441
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1442
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_Reserved2,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1443
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_Reserved2,12);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1444
 	counter += 12;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1445
-	memcpy(&FSinfoData[counter], &iFSInfo.FSI_TrailSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1446
+	memmove(&FSinfoData[counter], &iFSInfo.FSI_TrailSig,4);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1447
 	counter += 4;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1448
 	counter += (bytesPerSector-KSizeOfFatBootSector);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1449
 	aOutPutStream.write(reinterpret_cast<char*>(&FSinfoData[0]),counter);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1450
@@ -367,11 +369,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1451
  	iTotalClusters = totalDataSectors / iFAT32BootSector.SectorsPerCluster();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1452
 	if(iTotalClusters < KMinimumFat32Clusters)
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
-		throw ErrorHandler(BOOTSECTORERROR,"Low Partition Size",__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1455
+		throw ErrorHandler(BOOTSECTORERROR,"Low Partition Size",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1456
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1457
 	else if(iTotalClusters > KMaximumFat32Clusters)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1458
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1459
-		throw ErrorHandler(BOOTSECTORERROR,"high Partition Size",__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1460
+		throw ErrorHandler(BOOTSECTORERROR,"high Partition Size",__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1461
 	}
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1464
@@ -424,7 +426,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1465
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1466
 		delete dirRegionPtr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1467
 		dirRegionPtr = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1468
-		throw ErrorHandler(UNKNOWNERROR, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1469
+		throw ErrorHandler(UNKNOWNERROR,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1470
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1471
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1472
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1473
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
  1474
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1475
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/fatbasebootsector.cpp	2010-05-08 14:43:16.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1476
@@ -22,6 +22,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1477
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1478
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1479
 #include "fatbasebootsector.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1480
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1481
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1482
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1483
 Constructor of the base boot sector class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1484
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
  1485
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1486
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/filesysteminterface.cpp	2010-05-12 14:36:03.421601378 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1487
@@ -62,7 +62,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1488
 		iOutputStream.open(aImageFileName,ios::out|ios::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1489
 		if(iOutputStream.fail() == true )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1490
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1491
-			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1492
+			throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__,__LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1493
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1494
 		switch(aFileSystem)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1495
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1496
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
  1497
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1498
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/longname.cpp	2010-05-12 14:40:22.881098047 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1499
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1500
 
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
 #include "longname.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1503
+#include <cstring>
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
@@ -48,7 +49,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1508
 	iLongNameLength = iLongName.length();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1509
 	if(iLongNameLength == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1510
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1511
-		throw ErrorHandler(EMPTYFILENAME, __FILE__, __LINE__);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1512
+		throw ErrorHandler(EMPTYFILENAME,__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
 	FormatLongFileName(iLongName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1515
 	iShortName = GetShortEntryName();
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/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
  1517
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1518
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messagehandler.cpp	2010-05-12 19:48:34.396830339 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1519
@@ -51,7 +51,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1520
 @param aFileName
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1521
 Name of the Log File
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1522
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1523
-void MessageHandler::StartLogging(char *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1524
+void MessageHandler::StartLogging(char const *aFileName)
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
     GetInstance()->StartLogging(aFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1527
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1528
@@ -74,7 +74,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1529
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1530
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1531
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1532
-void MessageHandler::ReportMessage(int aMsgType, int aMsgIndex,char* aName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1533
+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
  1534
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1535
 	GetInstance()->ReportMessage(aMsgType,aMsgIndex,aName);
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
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
  1538
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1539
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/filesystem/source/messageimplementation.cpp	2010-05-12 19:52:40.993330164 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1540
@@ -23,15 +23,17 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1541
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1542
 #include "messageimplementation.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1543
 #include "errorhandler.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1544
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1545
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1546
 using std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1547
 using std::cout;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1548
 typedef std::string String;
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
-char *errorMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1551
-char *warnMssgPrefix="FileSystem : Warning:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1552
-char *infoMssgPrefix="FileSystem : Information:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1553
-char *Space=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1554
+char const *errorMssgPrefix="FileSystem : Error:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1555
+char const *warnMssgPrefix="FileSystem : Warning:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1556
+char const *infoMssgPrefix="FileSystem : Information:";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1557
+char const *Space=" ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1558
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1559
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1560
 enum MessageArraySize{MAX=16};
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1561
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1562
@@ -202,7 +204,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1563
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1564
 @param aFileName - 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 MessageImplementation::StartLogging(char *aFileName)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1567
+void MessageImplementation::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
 	char logFile[1024];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1570
 	FILE *fptr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1571
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
  1572
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1573
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/host/h_utl.cpp	2010-05-08 14:36:18.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1574
@@ -177,7 +177,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1575
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1576
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1577
 	TInt build=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1578
-	memset(&aVersion, sizeof(TVersion), 0);	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1579
+	memset(&aVersion, 0, sizeof(TVersion));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1580
 	TInt i;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1581
 	TInt len=strlen(str);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1582
 	for (i=0; i<len; i++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1583
@@ -192,7 +192,7 @@
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
 		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
  1586
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1587
-	char* pMinor = strchr(str, '.');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1588
+	char const * pMinor = strchr(str, '.');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1589
 	if (pMinor)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1590
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1591
 		pMinor++; 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1592
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
  1593
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1594
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/inc/h_utl.h	2010-05-08 14:39:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1595
@@ -65,9 +65,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1596
 #define _stricmp strcasecmp		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1597
 #define strnicmp strncasecmp	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1598
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1599
-// 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
  1600
-#define memcpy memmove
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
 // 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
  1603
 char* strupr(char *a);
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
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
  1606
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1607
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/imglib/parameterfileprocessor/source/parameterfileprocessor.cpp	2010-05-08 14:35:28.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1608
@@ -21,6 +21,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1609
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1610
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1611
 #include "parameterfileprocessor.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1612
+#include <cstring>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1613
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1614
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1615
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1616
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
  1617
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/BLD.INF	2010-05-13 19:14:23.517082109 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1618
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/BLD.INF	2010-04-29 15:03:58.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1619
@@ -15,13 +15,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1620
 *
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1621
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1622
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1623
+#include <productvariant.hrh>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1624
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1625
 PRJ_PLATFORMS
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1626
 TOOLS2
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
 PRJ_EXPORTS
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
-../maksym/fixupsym.bat              /epoc32/tools/fixupsym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1631
+../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
  1632
 ../maksym/hpsym.bat                 /epoc32/tools/hpsym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1633
 ../maksym/maksym.bat                /epoc32/tools/maksym.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1634
 ../maksym/maksymrofs.bat            /epoc32/tools/maksymrofs.bat
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/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
  1636
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/group/readimage.mmp	2010-05-13 19:14:23.517082109 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1637
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/group/readimage.mmp	2010-05-08 14:49:50.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1638
@@ -45,15 +45,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1639
 userinclude     ..\..\imglib\compress 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1640
 userinclude		..\..\imglib\patchdataprocessor\include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1641
 userinclude		..\..\sisutils\inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1642
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1643
 userinclude   ..\..\imglib\boostlibrary
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1644
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1645
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1646
 USERINCLUDE ..\..\imglib\inc
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1647
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1648
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1649
 staticlibrary 	sisutils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1650
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1651
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1652
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1653
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1654
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1655
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1656
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1657
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
  1658
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1659
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/common.h	2010-05-12 20:12:58.285330621 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1660
@@ -46,7 +46,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1661
 #define DLL_UID1	10000079
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1662
 #define EXE_UID1	1000007a
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
-typedef enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1665
+enum EImageType
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1666
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1667
 	EUNKNOWN_IMAGE,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1668
 	EROM_IMAGE,
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1669
@@ -98,7 +98,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1670
 	void Report();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1671
 };
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
-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
  1674
-				   char aFiller='0', TUint aMaxDescWidth=28);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1675
+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
  1676
+			TUint aDataWidth=8, char aFiller='0', TUint aMaxDescWidth=28);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1677
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1678
 #endif //__IMAGE_READER_COMMON_H_
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1679
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
  1680
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1681
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/image_reader.h	2010-05-08 15:02:34.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1682
@@ -27,7 +27,19 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1683
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1684
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1685
 #include "common.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1686
-#include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1687
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1688
+	#include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1689
+	#define GETCWD	_getcwd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1690
+	#define CHDIR	_chdir
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1691
+	#define MKDIR(dir)	_mkdir(dir)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1692
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1693
+	#include <sys/stat.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1694
+	#include <unistd.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1695
+	#define GETCWD	getcwd
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1696
+	#define CHDIR	chdir
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1697
+	#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
  1698
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1699
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1700
 #include <map>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1701
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1702
 typedef struct tag_FILEINFO
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1703
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
  1704
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1705
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/inc/rofs_image_reader.h	2010-05-12 14:54:55.029099961 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1706
@@ -65,10 +65,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1707
 	void DumpDirStructure();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1708
 	void DumpFileAttributes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1709
 	void MarkNodes();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1710
-	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
  1711
+	void SetSeek(streampos aOff, std::ios_base::seekdir aStartPos);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1712
 	void ExtractImageContents();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1713
 	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
  1714
-	void GetCompleteNodePath(TRomNode* aNode,string& aName,char* aAppStr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1715
+	void GetCompleteNodePath(TRomNode* aNode,string& aName,char const* aAppStr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1716
 	void WriteEntryToFile(char* aFileName,TRomNode* aNode,ofstream& aLogFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1717
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1718
 	void GetFileInfo(FILEINFOMAP &aFileMap);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1719
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
  1720
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1721
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/common.cpp	2010-05-12 20:18:29.509331018 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1722
@@ -40,7 +40,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1723
 	*out << "Usage Error:" << iErrMessage.c_str() << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1724
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1725
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1726
-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
  1727
+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
  1728
 				   char aFiller, TUint aMaxDescWidth)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1729
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1730
 	TUint aDescLen = strlen(aDesc);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1731
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
  1732
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1733
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/e32_image_reader.cpp	2010-05-12 15:03:06.013600086 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1734
@@ -75,26 +75,26 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1735
 	bool aContinue = true;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1736
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1737
 	DumpInHex("Size", aE32Image.iSize ) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1738
-	DumpInHex("Uids",aE32Image.iOrigHdr->iUid1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1739
-	DumpInHex(" ",aE32Image.iOrigHdr->iUid2, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1740
-	DumpInHex(" ",aE32Image.iOrigHdr->iUid3, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1741
-	DumpInHex(" ",aE32Image.iOrigHdr->iUidChecksum, aContinue) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1742
+	DumpInHex("Uids", aE32Image.iOrigHdr->iUid1);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1743
+	DumpInHex(" ", aE32Image.iOrigHdr->iUid2, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1744
+	DumpInHex(" ", aE32Image.iOrigHdr->iUid3, aContinue);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1745
+	DumpInHex(" ", aE32Image.iOrigHdr->iUidChecksum, aContinue) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1746
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1747
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1748
 	DumpInHex("Entry point", aE32Image.iOrigHdr->iEntryPoint ) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1749
-	DumpInHex("Code start addr" ,aE32Image.iOrigHdr->iCodeBase)<< endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1750
-	DumpInHex("Data start addr" ,aE32Image.iOrigHdr->iDataBase) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1751
-	DumpInHex("Text size" ,aE32Image.iOrigHdr->iTextSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1752
-	DumpInHex("Code size" ,aE32Image.iOrigHdr->iCodeSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1753
-	DumpInHex("Data size" ,aE32Image.iOrigHdr->iDataSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1754
-	DumpInHex("Bss size" ,aE32Image.iOrigHdr->iBssSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1755
-	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
  1756
-	DumpInHex("Heap min" ,aE32Image.iOrigHdr->iHeapSizeMin) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1757
-	DumpInHex("Heap max" ,aE32Image.iOrigHdr->iHeapSizeMax) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1758
-	DumpInHex("Stack size" ,aE32Image.iOrigHdr->iStackSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1759
-	DumpInHex("Export directory" ,aE32Image.iOrigHdr->iExportDirOffset) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1760
-	DumpInHex("Export dir count" ,aE32Image.iOrigHdr->iExportDirCount) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1761
-	DumpInHex("Flags" ,aE32Image.iOrigHdr->iFlags) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1762
+	DumpInHex("Code start addr", aE32Image.iOrigHdr->iCodeBase)<< endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1763
+	DumpInHex("Data start addr", aE32Image.iOrigHdr->iDataBase) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1764
+	DumpInHex("Text size", aE32Image.iOrigHdr->iTextSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1765
+	DumpInHex("Code size", aE32Image.iOrigHdr->iCodeSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1766
+	DumpInHex("Data size", aE32Image.iOrigHdr->iDataSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1767
+	DumpInHex("Bss size", aE32Image.iOrigHdr->iBssSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1768
+	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
  1769
+	DumpInHex("Heap min", aE32Image.iOrigHdr->iHeapSizeMin) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1770
+	DumpInHex("Heap max", aE32Image.iOrigHdr->iHeapSizeMax) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1771
+	DumpInHex("Stack size", aE32Image.iOrigHdr->iStackSize) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1772
+	DumpInHex("Export directory", aE32Image.iOrigHdr->iExportDirOffset) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1773
+	DumpInHex("Export dir count", aE32Image.iOrigHdr->iExportDirCount) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1774
+	DumpInHex("Flags", aE32Image.iOrigHdr->iFlags) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1775
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1776
 	TUint aHeaderFmt = E32ImageHeader::HdrFmtFromFlags(aE32Image.iOrigHdr->iFlags);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1777
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1778
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
  1779
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1780
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_handler.cpp	2010-05-12 14:59:42.797598037 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1781
@@ -392,7 +392,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1782
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1783
 		if(iInputFileName.empty())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1784
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1785
-			throw SisUtilsException("Usage Error", "No SIS file passed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1786
+			throw SisUtilsException("Usage Error","No SIS file passed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1787
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1788
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1789
 		iSisUtils = new Sis2Iby((char*)iInputFileName.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1790
@@ -409,7 +409,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1791
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1792
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1793
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1794
-			throw SisUtilsException("Error:", "Cannot create Sis2Iby object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1795
+			throw SisUtilsException("Error:","Cannot create Sis2Iby object");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1796
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1797
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1798
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1799
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
  1800
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1801
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/image_reader.cpp	2010-05-08 14:57:10.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1802
@@ -173,7 +173,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1803
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1804
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1805
 	// get the current working directory and store in buffer.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1806
-	if( _getcwd(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1807
+	if( GETCWD(currWorkingDir,_MAX_BUFFER_SIZE_) == NULL )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1808
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1809
 		// 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
  1810
 		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
  1811
@@ -191,7 +191,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1812
 			changeToDrive.append(aDelimiter);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1813
 			
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1814
 			// change the current working directory to the specified directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1815
-			if( _chdir(changeToDrive.c_str()) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1816
+			if( CHDIR(changeToDrive.c_str()) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1817
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1818
 				// 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
  1819
 				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
  1820
@@ -200,23 +200,23 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1821
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1822
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1823
 			// if not,then create a cPtr directory. 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1824
-			_mkdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1825
+			MKDIR(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1826
 			// change the current working directory to cPtr.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1827
-			_chdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1828
+			int r = CHDIR(cPtr); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1829
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1830
 		// repeat till cPtr is NULL.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1831
 		while (cPtr!=NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1832
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1833
-			if (cPtr = strtok(NULL,aDelimiter))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1834
+			if ((cPtr = strtok(NULL,aDelimiter)) != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1835
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1836
 				// create the directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1837
-				_mkdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1838
+				MKDIR(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1839
 				// change current working directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1840
-				_chdir(cPtr);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1841
+				int r = CHDIR(cPtr); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1842
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1843
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1844
 		// revert back the working directory.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1845
-		_chdir(currWorkingDir);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1846
+		int r = CHDIR(currWorkingDir); (void)r;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1847
 		// replace the source path with the original path information.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1848
 		strcpy(aSrcPath,origPath.c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1849
 		delete[] currWorkingDir;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1850
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
  1851
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1852
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rofs_image_reader.cpp	2010-05-12 20:14:02.065330046 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1853
@@ -42,7 +42,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1854
 	delete iImageReader;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1855
 }
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
-void RofsImageReader::SetSeek(streampos aOff, ios::seek_dir aStartPos)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1858
+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
  1859
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1860
 	if(!iInputFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1861
 		return;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1862
@@ -417,7 +417,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1863
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1864
 		// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1865
 		path.assign( (char*)aNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1866
-		GetCompleteNodePath( aNode, path, "\\\\" );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1867
+		GetCompleteNodePath( aNode, path,"\\\\");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1868
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1869
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1870
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1871
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1872
@@ -462,7 +463,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1873
 @param aAppStr	- string to append.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1874
 @return - returns full path of the given file.
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
-void RofsImageReader::GetCompleteNodePath(TRomNode* aNode,string& aName,char* aAppStr)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1877
+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
  1878
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1879
 	// check if the entry has a parent.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1880
 	TRomNode* NodeParent = aNode->GetParent();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1881
@@ -496,7 +497,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1882
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1883
 		// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1884
 		path.assign( (char*)aNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1885
-		GetCompleteNodePath( aNode, path, "\\" );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1886
+		GetCompleteNodePath( aNode, path,"\\");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1887
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1888
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1889
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1890
@@ -549,7 +550,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1891
 				{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1892
 					// get the complete path 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1893
 					fileName.assign( (char*)currNode->iName );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1894
-					GetCompleteNodePath( currNode, fileName, (char*)DIR_SEPARATOR );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1895
+					GetCompleteNodePath( currNode, fileName,DIR_SEPARATOR );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1896
 				}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1897
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1898
 			else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1899
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
  1900
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1901
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/readimage/src/rom_image_reader.cpp	2010-05-12 20:14:55.472828545 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1902
@@ -20,6 +20,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1903
 #include <e32rom.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1904
 #include "rom_image_reader.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1905
 #include "r_rom.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1906
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1907
+	#define ALLOCA _alloca
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1908
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1909
+	#include <alloca.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1910
+	#define ALLOCA alloca
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1911
+#endif
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
 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
  1914
 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
  1915
@@ -495,7 +502,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1916
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1917
 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
  1918
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1919
-	char* temp = (char*)_alloca((aLen << 1) + 1) ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1920
+	char* temp = (char*)ALLOCA((aLen << 1) + 1) ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1921
 	size_t n = wcsrtombs(temp,&aUnicodeName,aLen,NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1922
 	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
  1923
 		aName = "???";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1924
@@ -695,8 +702,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1925
 	*out << left << prefix;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1926
 	out->width(40);	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1927
 	*out << right << file->Name() << "[" ;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1928
-	DumpInHex( "", aRomImgEntry->iHardwareVariant, true) << "] ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1929
-	DumpInHex( " DataSize=", (aRomImgEntry->iBssSize + aRomImgEntry->iDataSize), true) << endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1930
+	DumpInHex("", aRomImgEntry->iHardwareVariant, true) << "] ";
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1931
+	DumpInHex(" DataSize=", (aRomImgEntry->iBssSize + aRomImgEntry->iDataSize), true) << endl;
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
 }
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
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
  1936
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1937
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_build.cpp	2010-05-08 15:04:00.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1938
@@ -29,7 +29,7 @@
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
 #if defined(__MSVCDOTNET__) || defined(__TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1941
 	#include <iomanip>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1942
-	#include <strstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1943
+	#include <sstream>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1944
 #else //!__MSVCDOTNET__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1945
 	#include <iomanip.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1946
 #endif //__MSVCDOTNET__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1947
@@ -1218,22 +1218,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1948
 				f.UpdateHeaderCrc();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1949
 				if (overflow)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1950
 					{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1951
-					char * buffer = new char [size];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1952
-					// 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
  1953
-   					#if defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1954
- 					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
  1955
-					#elif defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1956
-  					ostrstream os((char*)buffer, size,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1957
-  					#elif defined( __TOOLS2__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1958
-   					ostrstream os((char*)buffer, size,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1959
-					#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1960
-					ostrstream os( (char*)buffer, size, (ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1961
-					#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1962
+					ostringstream os(ios_base::out|ios_base::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1963
 					os << f;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1964
-					TUint compressedSize = os.pcount();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1965
+					TUint compressedSize = os.str().size();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1966
 					if (compressedSize <= aMaxSize)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1967
 						overflow = EFalse;	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1968
-					delete[] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1969
 					}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1970
 				}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1971
 			if (overflow)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1972
@@ -1242,15 +1231,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1973
 				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
  1974
 				exit(667);
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
-  			#if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1977
-  			ostrstream os((char*)aDest, aMaxSize,(ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1978
-  			#elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1979
-			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
  1980
-			#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1981
-			ostrstream os((char*)aDest, aMaxSize, (ios::out+ios::binary));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1982
-			#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1983
+  			ostringstream os(ios_base::out|ios_base::binary);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1984
 			os << f;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1985
-			size = os.pcount();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1986
+			size = os.str().size();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1987
 			compression = f.iHdr->CompressionType();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1988
 			memcpy(&iUids[0], aDest, sizeof(iUids));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1989
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1990
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
  1991
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1992
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.cpp	2010-05-12 15:56:04.265098243 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1993
@@ -305,7 +305,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1994
 @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
  1995
 @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
  1996
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1997
-TInt RCoreImageReader::ImageError(int aItemsRead, int aExpected, char *aInfo)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  1998
+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
  1999
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2000
 	if (aItemsRead != aExpected)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2001
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2002
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
  2003
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2004
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_coreimage.h	2010-05-12 15:56:07.345100720 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2005
@@ -103,7 +103,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2006
 	TText* Filename();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2007
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2008
 	TInt ReadIdentifier();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2009
-	TInt ImageError(int aBytesRead, int aExpected, char* aInfo);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2010
+	TInt ImageError(int aBytesRead, int aExpected, char const* aInfo);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2011
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2012
 	/** Image type of the file being read */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2013
 	TImageType iImageType;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2014
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
  2015
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2016
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveimage.cpp	2010-04-21 13:27:26.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2017
@@ -254,7 +254,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2018
 	fileName.append("/");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2019
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2020
 	// Go through each entry
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2021
-	while(dirEntry = readdir(dirHandler))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2022
+	while((dirEntry = readdir(dirHandler)) != NULL)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2023
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2024
 		if(dirEntry->d_type != DT_DIR) 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2025
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2026
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
  2027
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2028
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.cpp	2010-05-08 15:05:24.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2029
@@ -82,7 +82,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2030
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2031
 Time Stamp for Log file.
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
-TAny GetLocalTime(TAny)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2034
+TAny GetLocalTime()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2035
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2036
 	struct tm *aNewTime = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2037
 	time_t aTime = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2038
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
  2039
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2040
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_driveutl.h	2010-05-08 15:08:42.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2041
@@ -24,6 +24,6 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2042
 #include <e32def.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2043
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2044
 TInt Getlogfile(TText *aDriveObeyFileName,TText* &aPadLogFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2045
-TAny GetLocalTime(TAny);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2046
+TAny GetLocalTime();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2047
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2048
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2049
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
  2050
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2051
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_obey.cpp	2010-05-12 09:50:42.805097594 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2052
@@ -47,6 +47,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2053
 #include <time.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2054
 #include <assert.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2055
 #include <errno.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2056
+#include <limits.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2057
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2058
 #include <e32std.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2059
 #include <e32std_private.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2060
@@ -283,7 +284,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2061
 	iCurrentLine++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2062
 	iCurrentMark = ftell(iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2063
 	iLine[0]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2064
-	fgets((char*)iLine,imaxLength+1,iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2065
+	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
  2066
 	iCurrentObeyStatement = new TText[imaxLength+1];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2067
 	strcpy((char*)iCurrentObeyStatement,(char*)iLine);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2068
 	iNumWords = Parse();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2069
@@ -646,13 +647,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2070
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2071
 		  if (keyword == EKeywordCoreImage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2072
 			  {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2073
-  			  #if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2074
-  			  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
  2075
-  			  #elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2076
-  			  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
  2077
-			  #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2078
-			  istrstream val(iReader.Word(1),strlen(iReader.Word(1)));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2079
-			  #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2080
+			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
  2081
 			  iReader.CopyWord(1, coreImageFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2082
 			  iReader.MarkNext(); // ready for processing extension
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2083
 			  break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2084
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
  2085
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-13 19:14:23.533081838 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2086
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/rofsbuild.mmp	2010-05-08 15:07:32.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2087
@@ -43,15 +43,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2088
 USERINCLUDE   ../../imglib/inc ../../imglib/compress ../../imglib/filesystem/include 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2089
 USERINCLUDE   ../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2090
 USERINCLUDE	  ../../imglib/memmap/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2091
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2092
 USERINCLUDE   ../../imglib/boostlibrary/
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2093
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2094
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2095
 STATICLIBRARY 	filesystem 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2096
 STATICLIBRARY   patchdataprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2097
 STATICLIBRARY   parameterfileprocessor
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2098
 STATICLIBRARY	memmap
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2099
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2100
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2101
-OPTION    GCC -pthread -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2102
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2103
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2104
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2105
 OPTION    GCC -mthreads -O2 -Wno-uninitialized
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2106
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
  2107
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2108
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rofsbuild/r_rofs.cpp	2010-05-08 15:08:18.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2109
@@ -584,9 +584,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2110
 			coffhead[0x54] = 0x20;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2111
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2112
 			// now fill in the text segment size
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2113
-			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2114
-			*(TUint32 *) (&coffhead[0x40]) = ALIGN4K(iSizeUsed);
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
+			TUint32 * p0x18 = reinterpret_cast<TUint32 *>(&coffhead[0x18]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2117
+			*p0x18 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2118
+			TUint32 * p0x40 = reinterpret_cast<TUint32 *>(&coffhead[0x40]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2119
+			*p0x40 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2120
 			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2121
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2122
 		break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2123
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
  2124
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2125
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.cpp	2010-05-12 14:47:03.881119838 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2126
@@ -47,7 +47,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2127
 Area::~Area()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2128
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2129
 	ReleaseAllFiles();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2130
-	free(const_cast<char*>(iName));	// allocated with strdup()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2131
+	free(iName);	// allocated with strdup()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2132
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2133
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2134
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2135
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
  2136
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2137
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_areaset.h	2010-05-12 14:47:02.317600179 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2138
@@ -104,7 +104,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2139
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2140
 	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2141
 private:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2142
-	const char* iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2143
+	char* iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2144
 	TLinAddr iDestBaseAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2145
 	TLinAddr iSrcBaseAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2146
 	TLinAddr iSrcLimitAddr;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2147
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
  2148
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2149
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_obey.cpp	2010-05-08 14:50:44.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2150
@@ -301,7 +301,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2151
 	iCurrentLine++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2152
 	iCurrentMark = ftell(iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2153
 	iLine[0]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2154
-	fgets((char*)iLine,imaxLength+1,iObeyFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2155
+	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
  2156
 	iNumWords = Parse();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2157
 	return KErrNone;
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
@@ -2973,13 +2973,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2160
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2161
 		if (keyword == EKeywordCoreImage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2162
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2163
-#if defined(__TOOLS2__) && defined (_STLP_THREADS)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2164
-			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
  2165
-#elif __TOOLS2__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2166
-			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
  2167
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2168
-			istrstream val(iReader.Word(1),strlen(iReader.Word(1)));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2169
-#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2170
+			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
  2171
 			iReader.CopyWord(1, coreImageFileName);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2172
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2173
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2174
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
  2175
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-13 19:14:23.541082016 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2176
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/rombuild.mmp	2010-05-08 14:52:22.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2177
@@ -41,7 +41,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2178
 userinclude	../../imglib/compress 	../../imglib/inc 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2179
 userinclude	../../imglib/patchdataprocessor/include ../../imglib/parameterfileprocessor/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2180
 userinclude ../../imglib/memmap/include
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2181
+#ifndef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2182
 userinclude	../../imglib/boostlibrary/
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2183
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2184
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2185
 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2186
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2187
@@ -50,8 +52,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2188
 staticlibrary 	memmap
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2189
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2190
 #ifdef TOOLS2_LINUX
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2191
-STATICLIBRARY   boost_thread-mgw34-mt-1_39_linux
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2192
-OPTION    GCC -O2 -Wno-uninitialized -pthread
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2193
+OPTION    GCC -pthread -O2 -Wno-uninitialized -lboost_thread-mt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2194
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2195
 STATICLIBRARY   boost_thread-mgw34-mt-1_39_win32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2196
 OPTION    GCC -O2 -Wno-uninitialized -mthreads
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2197
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
  2198
--- /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
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2199
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/romtools/rombuild/r_rom.cpp	2010-05-08 14:51:46.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2200
@@ -1835,7 +1835,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2201
 			TRomFile** l=rf->iPDeps;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2202
 			FindMarked(MARK_EXE, MARK_EXE, l);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2203
 			TInt nx=l-rf->iPDeps;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2204
-			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
  2205
+			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
  2206
 				{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2207
 				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
  2208
 				TInt j;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2209
@@ -2198,8 +2198,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2210
 			coffhead[0x54] = 0x20;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2211
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2212
 			// now fill in the text segment size
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2213
-			*(TUint32 *) (&coffhead[0x18]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2214
-			*(TUint32 *) (&coffhead[0x40]) = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2215
+			TUint32 * p0x18 = reinterpret_cast<TUint32 *>(&coffhead[0x18]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2216
+			*p0x18 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2217
+			TUint32 * p0x40 = reinterpret_cast<TUint32 *>(&coffhead[0x40]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2218
+			*p0x40 = ALIGN4K(iSizeUsed);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2219
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2220
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2221
 			os.write(reinterpret_cast<char *>(coffhead), sizeof(coffhead));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2222
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2223
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
  2224
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2225
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkgfileparser.h	2010-05-12 19:15:05.824830894 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2226
@@ -33,6 +33,10 @@
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
 #include "pkglanguage.h"
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
+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
  2231
+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
  2232
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2233
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2234
 typedef class PkgParser PKGPARSER, *PPKGPARSER;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2235
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2236
 //Data structures for pkg file parsing
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2237
@@ -147,7 +151,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2238
 	int OpenFile();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2239
 	void DeleteAll();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2240
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2241
-	HANDLE iPkgHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2242
+	FILE * iPkgHandle;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2243
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2244
 	LANGUAGE_LIST iLangList;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2245
 	PKG_HEADER iPkgHeader;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2246
@@ -162,7 +166,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2247
 	void GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2248
 	void GetNextToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2249
 	bool GetStringToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2250
-	WORD ParseEscapeChars();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2251
+	unsigned short ParseEscapeChars();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2252
 	void GetAlphaNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2253
 	bool IsNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2254
 	void GetNumericToken();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2255
@@ -193,12 +197,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2256
 	VARIANTVAL m_tokenValue;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2257
 	int m_nLineNo;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2258
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2259
-	void ParserError(char* msg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2260
+	void ParserError(char const* msg);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2261
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2262
 	friend String wstring2string (const std::wstring& aWide);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2263
 	friend std::wstring string2wstring (const String& aNarrow);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2264
-	friend int CompareTwoString(wchar_t* string ,wchar_t* option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2265
-	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
  2266
+    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
  2267
+    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
  2268
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2269
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2270
 #endif //__PKGFILEPARSER_H__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2271
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
  2272
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/pkglanguage.h	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2273
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/pkglanguage.h	2010-05-08 15:21:16.000000000 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2274
@@ -26,7 +26,7 @@
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
 typedef struct
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2277
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2278
-	wchar_t*		iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2279
+	wchar_t const *		iName;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2280
 	unsigned long	iId;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2281
 } SKeyword;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2282
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2283
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
  2284
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sis2iby.h	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2285
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sis2iby.h	2010-05-12 20:09:01.404831073 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2286
@@ -38,7 +38,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2287
 class Sis2Iby : public SisUtils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2288
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2289
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2290
-	Sis2Iby(char* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2291
+	Sis2Iby(char const* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2292
 	~Sis2Iby();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2293
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2294
 	void ProcessSisFile();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2295
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
  2296
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/inc/sisutils.h	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2297
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/inc/sisutils.h	2010-05-12 20:03:18.901331124 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2298
@@ -40,6 +40,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2299
 #ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2300
 #define PATHSEPARATOR  "\\"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2301
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2302
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2303
+#define PATHSEPARATOR  "/"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2304
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2305
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2306
 //typedefs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2307
 typedef std::string String;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2308
@@ -53,7 +56,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2309
 class SisUtils
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2310
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2311
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2312
-	SisUtils(char* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2313
+	SisUtils(char const* aFile);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2314
 	virtual ~SisUtils();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2315
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2316
 	void SetVerboseMode();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2317
@@ -81,7 +84,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2318
 class SisUtilsException
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2319
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2320
 public:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2321
-	SisUtilsException(char* aFile, char* aErrMessage);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2322
+	SisUtilsException(char const* aFile, char const* aErrMessage);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2323
 	virtual ~SisUtilsException();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2324
 	virtual void Report();
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/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
  2327
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2328
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/pkgfileparser.cpp	2010-05-12 19:35:03.692828442 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2329
@@ -18,13 +18,15 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2330
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2331
 #include "sisutils.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2332
 #include "pkgfileparser.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2333
+#include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2334
+#include <wchar.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2335
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2336
 // Parse options lookups
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2337
 #define MAXTOKENLEN	30
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2338
 struct SParseToken
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2339
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2340
-	WCHAR pszOpt[MAXTOKENLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2341
-	DWORD dwOpt;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2342
+	wchar_t pszOpt[MAXTOKENLEN];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2343
+	unsigned dwOpt;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2344
 };
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2345
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2346
 const SParseToken KTokens[] =
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2347
@@ -46,6 +48,10 @@
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
 #define NUMPARSETOKENS (sizeof(KTokens)/sizeof(SParseToken))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2350
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2351
+std::wstring string2wstring (const String& aNarrow);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2352
+String wstring2string (const std::wstring& aWide);
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
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2355
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2356
 Constructor: PkgParser class
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2357
 Initilize the parameters to data members.
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2358
@@ -68,9 +74,9 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2359
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2360
 PkgParser::~PkgParser()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2361
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2362
-	if(iPkgHandle != INVALID_HANDLE_VALUE)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2363
+	if(iPkgHandle)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2364
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2365
-		::CloseHandle(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2366
+		std::fclose(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2367
 	}
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
 	DeleteAll();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2370
@@ -84,9 +90,14 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2371
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2372
 int PkgParser::OpenFile()
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
-	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
  2375
+#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2376
+	iPkgHandle = _wfopen(string2wstring(iPkgFile).c_str(),L"r");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2377
+#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2378
+	// *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
  2379
+	iPkgHandle = std::fopen(iPkgFile.c_str(),"r");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2380
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2381
+	return iPkgHandle ? 1 : 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2382
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2383
-	return (iPkgHandle != INVALID_HANDLE_VALUE) ? 1 : 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2384
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2385
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2386
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2387
@@ -164,7 +175,7 @@
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
 	if(!OpenFile())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2390
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2391
-		throw SisUtilsException((char*)iPkgFile.data(), "Could not open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2392
+		throw SisUtilsException(iPkgFile.c_str(),"Could not open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2393
 	}
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
 	GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2396
@@ -273,7 +284,7 @@
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
 	// process application names
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2399
 	ExpectToken('{');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2400
-	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2401
+	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2402
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2403
 		GetNextToken ();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2404
 		ExpectToken(QUOTED_STRING_TOKEN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2405
@@ -771,7 +782,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2406
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2407
 void PkgParser::ParseOptionsBlockL()
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
-	WORD wNumLangs;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2410
+	unsigned short wNumLangs;
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
 	ExpectToken('(');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2413
 	GetNextToken ();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2414
@@ -838,7 +849,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2415
 void PkgParser::ParseVendorNameL()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2416
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2417
 	ExpectToken('{');
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2418
-	for (WORD wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2419
+	for (unsigned short wNumLangs = 0; wNumLangs < iLangList.size(); wNumLangs++)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2420
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2421
 		GetNextToken ();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2422
 		ExpectToken(QUOTED_STRING_TOKEN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2423
@@ -990,14 +1001,8 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2424
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2425
 void PkgParser::GetNextChar()
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
-#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2428
-	DWORD dwBytesRead;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2429
-	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
  2430
-		dwBytesRead!=sizeof(wchar_t))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2431
-		m_pkgChar='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2432
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2433
-#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
  2434
-#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2435
+	wint_t wch = std::fgetwc(iPkgHandle);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2436
+	m_pkgChar = (wch == WEOF) ? 0 : wch;
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
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2440
@@ -1105,10 +1110,10 @@
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
 bool PkgParser::GetStringToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2443
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2444
-	DWORD wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2445
+	unsigned wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2446
 	bool done=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2447
 	bool finished=false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2448
-	DWORD escapeChars = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2449
+	unsigned escapeChars = 0;
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
 	while (!finished)
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
@@ -1153,15 +1158,16 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2454
 @internalComponent
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2455
 @released
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2456
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2457
-WORD PkgParser::ParseEscapeChars()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2458
+unsigned short PkgParser::ParseEscapeChars()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2459
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2460
-	WORD found=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2461
-	WCHAR temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2462
-#ifdef WIN32
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2463
+	unsigned short found=0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2464
+	wchar_t temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2465
+
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2466
 	while (m_pkgChar == '<')
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2467
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2468
 		wcscpy(temp,m_tokenValue.pszString);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2469
-		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2470
+		std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2471
+		std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2472
 		try
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2473
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2474
 			GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2475
@@ -1170,32 +1176,29 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2476
 				found++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2477
 			else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2478
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2479
-				::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2480
+				std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2481
 				break;
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
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2484
 		catch (...)
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
 			wcscpy(m_tokenValue.pszString,temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2487
-			::SetFilePointer(iPkgHandle, fileOffset, NULL, FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2488
+			std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2489
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2490
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2491
-		DWORD num=m_tokenValue.dwNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2492
+		unsigned num=m_tokenValue.dwNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2493
 		// 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
  2494
 		if (num>=0x80 && num<=0x9F) ParserError("Invalid Escape");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2495
-		DWORD len=wcslen(temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2496
+		unsigned len=wcslen(temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2497
 		wcscpy(m_tokenValue.pszString,temp);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2498
 		if (len+2<=MAX_STRING)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2499
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2500
-			m_tokenValue.pszString[len]=(WCHAR)num;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2501
+			m_tokenValue.pszString[len]=(wchar_t)num;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2502
 			len++;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2503
 			m_tokenValue.pszString[len]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2504
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2505
 		GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2506
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2507
-#else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2508
-#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
  2509
-#endif 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2510
 	return found;
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2513
@@ -1207,7 +1210,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2514
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2515
 void PkgParser::GetAlphaNumericToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2516
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2517
-	WORD wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2518
+	unsigned short wCount = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2519
 	while(m_pkgChar && (isalnum(m_pkgChar) || ((m_pkgChar) == '_')))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2520
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2521
 		if(wCount < (MAX_STRING - 1))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2522
@@ -1232,12 +1235,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2523
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2524
 		// 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
  2525
 		
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2526
-		WCHAR oldChar = m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2527
-		DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2528
+		wchar_t oldChar = m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2529
+		std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2530
+		std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2531
 		GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2532
 		lexemeIsNumber = iswdigit(m_pkgChar) != FALSE;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2533
 		m_pkgChar = oldChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2534
-		::SetFilePointer(iPkgHandle,fileOffset,NULL,FILE_BEGIN);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2535
+		std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2536
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2537
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2538
 	return lexemeIsNumber;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2539
@@ -1251,23 +1255,30 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2540
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2541
 void PkgParser::GetNumericToken()
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2542
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2543
-	WCHAR temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2544
-	LPWSTR end;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2545
+	wchar_t temp[MAX_STRING];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2546
+	wchar_t * end;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2547
 	bool hexString = false;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2548
-	DWORD dwBytesRead;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2549
-	DWORD fileOffset=::SetFilePointer(iPkgHandle, 0L, NULL, FILE_CURRENT);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2550
+	std::fpos_t foff;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2551
+	std::fgetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2552
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2553
 	temp[0]=m_pkgChar;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2554
-	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
  2555
-		dwBytesRead==0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2556
+	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
  2557
+	if (!wchRead)
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
 		ParserError("Read failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2560
-	temp[1+dwBytesRead/sizeof(WCHAR)]='\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2561
-	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
  2562
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2563
+	temp[1+wchRead] = 0;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2564
+	hexString = (!CompareNString(temp,L"0x", 2) ||
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2565
+		!CompareNString(&temp[1],L"0x", 2));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2566
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2567
 	m_tokenValue.dwNumber = wcstoul(temp, &end, (hexString) ? 16 : 10);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2568
 	
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2569
-	if (end==temp) ParserError("Read failed"); 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2570
-	::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
  2571
+	if (end==temp)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2572
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2573
+		ParserError("Read failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2574
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2575
+	std::fsetpos(iPkgHandle,&foff);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2576
+	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
  2577
 	GetNextChar();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2578
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2579
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2580
@@ -1338,13 +1349,13 @@
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
 @param msg - error message to be thrown
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2583
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2584
-void PkgParser::ParserError(char* msg)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2585
+void PkgParser::ParserError(char const* msg)
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
 	std::ostringstream str;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2588
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2589
 	str << (char*)iPkgFile.data() << "(" << m_nLineNo << "): " << msg;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2590
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2591
-	throw SisUtilsException("PakageFile-Parser Error", (char*)(str.str()).data());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2592
+	throw SisUtilsException("PackageFile-Parser Error",str.str().c_str());
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2593
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2594
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2595
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2596
@@ -1357,22 +1368,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2597
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2598
 String wstring2string (const std::wstring& aWide)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2599
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2600
-	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
  2601
-	String reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2602
-	if (max > 0 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2603
-	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2604
-		char* buffer = new char [max];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2605
-		try
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2606
+	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
  2607
+	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
  2608
+	if (nchars == (size_t)-1)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2609
 		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2610
-			::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
  2611
-			reply = String (buffer, max);
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
-		catch (...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2614
-		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2615
-			throw SisUtilsException("ParserError", "wstring to string conversion failed");
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
-		delete [] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2618
+		throw SisUtilsException("ParserError","wstring to string conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2619
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2620
+	String reply(&buffer[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2621
 	return reply;
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2624
@@ -1386,22 +1388,13 @@
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
 std::wstring string2wstring (const String& aNarrow)
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
-	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
  2629
-	std::wstring reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2630
-	if (max > 0 )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2631
+	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
  2632
+	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
  2633
+	if (nchars == (size_t)-1)
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
-		wchar_t* buffer = new wchar_t [max];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2636
-		try
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
-			::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
  2639
-			reply = std::wstring (buffer, max);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2640
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2641
-		catch (...)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2642
-		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2643
-			throw SisUtilsException("ParserError", "string to wstring conversion failed");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2644
-		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2645
-		delete [] buffer;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2646
+		throw SisUtilsException("ParserError","string to wstring conversion failed");
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
+	std::wstring reply((wchar_t *)&buffer[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2649
 	return reply;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2650
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2651
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2652
@@ -1414,9 +1407,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2653
 @param string - first string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2654
 @param option - second string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2655
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2656
-int CompareTwoString(wchar_t* string ,wchar_t* option)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2657
+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
  2658
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2659
+#if defined(WIN32)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2660
 	return wcsicmp(string,option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2661
+#elif defined(__LINUX__)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2662
+	return wcscasecmp(string,option);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2663
+#endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2664
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2665
 
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
@@ -1429,7 +1426,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2668
 @param option - second string
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2669
 @param len - no of wide characters to be compared
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2670
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2671
-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
  2672
+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
  2673
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2674
-	return wcsnicmp(string,option,len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2675
+	return wmemcmp(string,option,len);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2676
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2677
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
  2678
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sis2iby.cpp	2010-05-13 19:14:23.545083223 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2679
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sis2iby.cpp	2010-05-12 20:09:54.737329069 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2680
@@ -28,7 +28,7 @@
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
 @param aFile	- SIS file name
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2683
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2684
-Sis2Iby::Sis2Iby(char* aFile) : SisUtils(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2685
+Sis2Iby::Sis2Iby(char const* aFile) : SisUtils(aFile)
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
 }
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
@@ -70,7 +70,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2690
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2691
 	if(IsVerboseMode())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2692
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2693
-		std::cout << "Processing " << (char*)sisFile.data() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2694
+		std::cout << "Processing " << sisFile.c_str() << std::endl;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2695
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2696
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2697
 	if(IsFileExist(sisFile))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2698
@@ -86,12 +86,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2699
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2700
 		case STAT_FAILURE:
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2701
 			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2702
-				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
  2703
+				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
  2704
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2705
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2706
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2707
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2708
-		throw SisUtilsException((char*)sisFile.data(), "File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2709
+		throw SisUtilsException(sisFile.c_str(),"File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2710
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2711
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2712
 /**
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2713
@@ -128,18 +128,18 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2714
 	ibyFile.append(".iby");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2715
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2716
 	if( !MakeDirectory(iOutputPath) )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2717
-		throw SisUtilsException((char*)iOutputPath.data(), "Failed to create path");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2718
+		throw SisUtilsException(iOutputPath.c_str(),"Failed to create path");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2719
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2720
 	if(IsVerboseMode())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2721
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2722
-		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
  2723
+		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
  2724
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2725
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2726
 	ibyHandle.open((char*)ibyFile.data(),(std::ios::out));
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2727
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2728
 	if(!ibyHandle.good())
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2729
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2730
-		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
  2731
+		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
  2732
 	}
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
 	// Generating Header
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2735
@@ -239,10 +239,10 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2736
 			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2737
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2738
 		else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2739
-			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
  2740
+			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
  2741
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2742
 	else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2743
-		throw SisUtilsException((char*)pkgFileName.data(), "File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2744
+		throw SisUtilsException(pkgFileName.c_str(),"File not found");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2745
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2746
 
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
@@ -551,7 +551,12 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2749
 		aFile.assign(fPath);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2750
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2751
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2752
-#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
  2753
+	char fPath[FILENAME_MAX];
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2754
+	if (realpath(aFile.c_str(),fPath))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2755
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2756
+		aFile.assign(fPath);
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
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2760
 	return;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2761
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2762
@@ -652,7 +657,7 @@
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
 	if( !aIfs.is_open() )
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2765
 	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2766
-		throw SisUtilsException((char*)aFile.data(), "Cannot open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2767
+		throw SisUtilsException(aFile.c_str(),"Cannot open file");
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2768
 	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2769
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2770
 	aIfs.seekg(0,std::ios::end);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2771
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
  2772
--- /home/imk/symbian/epocroot-pdk-3.0.h/latest_build/build/imgtools/sisutils/src/sisutils.cpp	2010-05-13 19:14:23.549082823 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2773
+++ /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/imgtools/sisutils/src/sisutils.cpp	2010-05-12 20:02:59.113330633 +0100
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2774
@@ -20,6 +20,13 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2775
 #include <windows.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2776
 #include <direct.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2777
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2778
+#ifdef __LINUX__
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2779
+#include <vector>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2780
+#include <cerrno>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2781
+#include <sys/wait.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2782
+#include <sys/stat.h>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2783
+#endif
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
 #include "sisutils.h"
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2787
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2788
@@ -33,7 +40,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2789
 @param aFile	- Name of the file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2790
 @param aErrMessage - Error message
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2791
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2792
-SisUtilsException::SisUtilsException(char* aFile, char* aErrMessage) : \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2793
+SisUtilsException::SisUtilsException(char const* aFile, char const* aErrMessage) : \
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2794
 	iSisFileName(aFile), iErrMessage(aErrMessage)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2795
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2796
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2797
@@ -72,7 +79,7 @@
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
 @param aFile	- Name of the SIS file
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2800
 */
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2801
-SisUtils::SisUtils(char* aFile) :  iVerboseMode(EFalse),iSisFile(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2802
+SisUtils::SisUtils(char const* aFile) :  iVerboseMode(EFalse),iSisFile(aFile)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2803
 {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2804
 }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2805
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2806
@@ -201,9 +208,47 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2807
 	::CloseHandle( pi.hProcess );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2808
 	::CloseHandle( pi.hThread );
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2809
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2810
-#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
  2811
+	String::iterator pch = cmd.begin();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2812
+	String::iterator end = cmd.end();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2813
+	char *token = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2814
+	std::vector<char *> args;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2815
+	for ( ;pch != end; ++pch)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2816
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2817
+		if (isspace(*pch))
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2818
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2819
+			*pch = '\0';
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2820
+			if (token) {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2821
+				token = NULL;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2822
+			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2823
+		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2824
+		else if (!token)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2825
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2826
+			token = &*pch;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2827
+			args.push_back(token);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2828
+		}  
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2829
+	}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2830
+	args.push_back(NULL);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2831
+    pid_t pid = fork();
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2832
+    if (pid == 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2833
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2834
+        execv(args[0],&args[0]);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2835
+    }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2836
+    else if (pid < 0)
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
+        iExitCode = static_cast<TUint32>(STAT_FAILURE);
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
+    else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2841
+	{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2842
+		int rtc;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2843
+        pid_t ws = waitpid( pid, &rtc, 0);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2844
+        if (ws != pid) {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2845
+            iExitCode = static_cast<TUint32>(STAT_FAILURE);
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2846
+        }
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2847
+		else {
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2848
+			iExitCode = rtc;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2849
+		}
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
 #endif
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
 	return iExitCode;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2854
 }
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
@@ -281,7 +326,13 @@
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
 		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2859
 #else
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2860
-#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
  2861
+		if(mkdir(dir.data(),777) != 0)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2862
+		{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2863
+			if(errno != EEXIST)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2864
+			{
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2865
+				status = EFalse;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2866
+			}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2867
+		}
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2868
 #endif
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2869
 		if(status == EFalse)
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2870
 			break;
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2871
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
  2872
--- /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
  2873
+++ /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
  2874
@@ -15,6 +15,6 @@
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
 */
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
-../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
  2879
-../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
  2880
-../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
  2881
+../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
  2882
+../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
  2883
+../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
  2884
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
  2885
--- /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
  2886
+++ /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
  2887
@@ -15,209 +15,209 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2888
 *
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
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2891
-../RELEASE-NOTES.txt /tools/sbs/RELEASE-NOTES.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2892
-../bin/sbs /tools/sbs/bin/sbs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2893
-../bin/fixmeta.py /tools/sbs/bin/fixmeta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2894
-../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
  2895
-../bin/countbinaries.sh /tools/sbs/bin/countbinaries.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2896
-../bin/gethost.sh /tools/sbs/bin/gethost.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2897
-../bin/failedstats.py /tools/sbs/bin/failedstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2898
-../bin/sbs.bat /tools/sbs/bin/sbs.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2899
-../bin/unsplitdirs.py /tools/sbs/bin/unsplitdirs.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2900
-../bin/buildstats.py /tools/sbs/bin/buildstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2901
-../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
  2902
-../bin/sbsv2cache.py /tools/sbs/bin/sbsv2cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2903
-../bin/whatsource.py /tools/sbs/bin/whatsource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2904
-../bin/oby2linux.py /tools/sbs/bin/oby2linux.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2905
-../bin/createrfifile.pl /tools/sbs/bin/createrfifile.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2906
-../bin/vartoxml.py /tools/sbs/bin/vartoxml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2907
-../bin/readme.txt /tools/sbs/bin/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2908
-../bin/squashlog.py /tools/sbs/bin/squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2909
-../bin/statcollate.py /tools/sbs/bin/statcollate.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2910
-../bin/createvmap.py /tools/sbs/bin/createvmap.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2911
-../bin/raptorlog.py /tools/sbs/bin/raptorlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2912
-../bin/osbuild.sh /tools/sbs/bin/osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2913
-../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
  2914
-../bin/msvcr71.dll /tools/sbs/bin/msvcr71.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2915
-../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
  2916
-../bin/mkgetfailed.py /tools/sbs/bin/mkgetfailed.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  2917
-../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
  2918
-../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
  2919
-../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
  2920
-../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
  2921
-../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
  2922
-../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
  2923
-../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
  2924
-../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
  2925
-../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
  2926
-../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
  2927
-../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
  2928
-../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
  2929
-../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
  2930
-../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
  2931
-../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
  2932
-../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
  2933
-../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
  2934
-../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
  2935
-../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
  2936
-../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
  2937
-../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
  2938
-../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
  2939
-../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
  2940
-../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
  2941
-../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
  2942
-../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
  2943
-../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
  2944
-../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
  2945
-../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
  2946
-../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
  2947
-../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
  2948
-../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
  2949
-../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
  2950
-../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
  2951
-../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
  2952
-../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
  2953
-../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
  2954
-../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
  2955
-../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
  2956
-../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
  2957
-../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
  2958
-../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
  2959
-../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
  2960
-../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
  2961
-../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
  2962
-../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
  2963
-../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
  2964
-../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
  2965
-../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
  2966
-../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
  2967
-../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
  2968
-../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
  2969
-../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
  2970
-../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
  2971
-../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
  2972
-../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
  2973
-../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
  2974
-../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
  2975
-../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
  2976
-../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
  2977
-../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
  2978
-../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
  2979
-../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
  2980
-../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
  2981
-../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
  2982
-../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
  2983
-../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
  2984
-../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
  2985
-../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
  2986
-../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
  2987
-../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
  2988
-../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
  2989
-../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
  2990
-../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
  2991
-../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
  2992
-../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
  2993
-../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
  2994
-../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
  2995
-../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
  2996
-../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
  2997
-../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
  2998
-../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
  2999
-../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
  3000
-../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
  3001
-../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
  3002
-../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
  3003
-../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
  3004
-../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
  3005
-../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
  3006
-../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
  3007
-../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
  3008
-../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
  3009
-../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
  3010
-../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
  3011
-../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
  3012
-../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
  3013
-../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
  3014
-../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
  3015
-../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
  3016
-../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
  3017
-../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
  3018
-../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
  3019
-../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
  3020
-../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
  3021
-../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
  3022
-../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
  3023
-../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
  3024
-../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
  3025
-../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
  3026
-../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
  3027
-../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
  3028
-../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
  3029
-../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
  3030
-../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
  3031
-../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
  3032
-../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
  3033
-../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
  3034
-../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
  3035
-../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
  3036
-../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
  3037
-../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
  3038
-../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
  3039
-../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
  3040
-../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
  3041
-../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
  3042
-../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
  3043
-../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
  3044
-../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
  3045
-../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
  3046
-../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
  3047
-../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
  3048
-../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
  3049
-../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
  3050
-../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
  3051
-../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
  3052
-../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
  3053
-../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
  3054
-../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
  3055
-../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
  3056
-../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
  3057
-../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
  3058
-../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
  3059
-../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
  3060
-../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
  3061
-../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
  3062
-../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
  3063
-../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
  3064
-../python/pyparsing.py /tools/sbs/python/pyparsing.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3065
-../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
  3066
-../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
  3067
-../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
  3068
-../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
  3069
-../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
  3070
-../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
  3071
-../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
  3072
-../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
  3073
-../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
  3074
-../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
  3075
-../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
  3076
-../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
  3077
-../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
  3078
-../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
  3079
-../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
  3080
-../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
  3081
-../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
  3082
-../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
  3083
-../python/pluginbox.py /tools/sbs/python/pluginbox.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3084
-../python/dos2unix.py /tools/sbs/python/dos2unix.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3085
-../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
  3086
-../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
  3087
-../python/raptor.py /tools/sbs/python/raptor.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3088
-../python/mmpparser.py /tools/sbs/python/mmpparser.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3089
-../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
  3090
-../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
  3091
-../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
  3092
-../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
  3093
-../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
  3094
-../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
  3095
-../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
  3096
-../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
  3097
+../RELEASE-NOTES.txt ../../tools/sbs/RELEASE-NOTES.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3098
+../bin/sbs ../../tools/sbs/bin/sbs
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3099
+../bin/fixmeta.py ../../tools/sbs/bin/fixmeta.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3100
+../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
  3101
+../bin/countbinaries.sh ../../tools/sbs/bin/countbinaries.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3102
+../bin/gethost.sh ../../tools/sbs/bin/gethost.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3103
+../bin/failedstats.py ../../tools/sbs/bin/failedstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3104
+../bin/sbs.bat ../../tools/sbs/bin/sbs.bat
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3105
+../bin/unsplitdirs.py ../../tools/sbs/bin/unsplitdirs.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3106
+../bin/buildstats.py ../../tools/sbs/bin/buildstats.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3107
+../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
  3108
+../bin/sbsv2cache.py ../../tools/sbs/bin/sbsv2cache.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3109
+../bin/whatsource.py ../../tools/sbs/bin/whatsource.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3110
+../bin/oby2linux.py ../../tools/sbs/bin/oby2linux.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3111
+../bin/createrfifile.pl ../../tools/sbs/bin/createrfifile.pl
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3112
+../bin/vartoxml.py ../../tools/sbs/bin/vartoxml.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3113
+../bin/readme.txt ../../tools/sbs/bin/readme.txt
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3114
+../bin/squashlog.py ../../tools/sbs/bin/squashlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3115
+../bin/statcollate.py ../../tools/sbs/bin/statcollate.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3116
+../bin/createvmap.py ../../tools/sbs/bin/createvmap.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3117
+../bin/raptorlog.py ../../tools/sbs/bin/raptorlog.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3118
+../bin/osbuild.sh ../../tools/sbs/bin/osbuild.sh
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3119
+../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
  3120
+../bin/msvcr71.dll ../../tools/sbs/bin/msvcr71.dll
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3121
+../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
  3122
+../bin/mkgetfailed.py ../../tools/sbs/bin/mkgetfailed.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3123
+../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
  3124
+../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
  3125
+../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
  3126
+../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
  3127
+../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
  3128
+../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
  3129
+../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
  3130
+../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
  3131
+../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
  3132
+../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
  3133
+../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
  3134
+../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
  3135
+../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
  3136
+../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
  3137
+../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
  3138
+../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
  3139
+../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
  3140
+../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
  3141
+../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
  3142
+../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
  3143
+../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
  3144
+../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
  3145
+../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
  3146
+../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
  3147
+../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
  3148
+../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
  3149
+../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
  3150
+../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
  3151
+../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
  3152
+../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
  3153
+../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
  3154
+../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
  3155
+../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
  3156
+../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
  3157
+../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
  3158
+../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
  3159
+../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
  3160
+../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
  3161
+../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
  3162
+../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
  3163
+../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
  3164
+../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
  3165
+../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
  3166
+../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
  3167
+../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
  3168
+../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
  3169
+../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
  3170
+../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
  3171
+../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
  3172
+../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
  3173
+../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
  3174
+../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
  3175
+../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
  3176
+../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
  3177
+../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
  3178
+../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
  3179
+../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
  3180
+../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
  3181
+../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
  3182
+../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
  3183
+../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
  3184
+../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
  3185
+../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
  3186
+../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
  3187
+../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
  3188
+../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
  3189
+../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
  3190
+../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
  3191
+../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
  3192
+../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
  3193
+../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
  3194
+../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
  3195
+../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
  3196
+../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
  3197
+../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
  3198
+../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
  3199
+../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
  3200
+../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
  3201
+../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
  3202
+../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
  3203
+../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
  3204
+../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
  3205
+../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
  3206
+../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
  3207
+../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
  3208
+../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
  3209
+../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
  3210
+../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
  3211
+../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
  3212
+../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
  3213
+../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
  3214
+../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
  3215
+../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
  3216
+../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
  3217
+../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
  3218
+../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
  3219
+../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
  3220
+../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
  3221
+../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
  3222
+../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
  3223
+../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
  3224
+../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
  3225
+../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
  3226
+../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
  3227
+../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
  3228
+../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
  3229
+../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
  3230
+../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
  3231
+../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
  3232
+../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
  3233
+../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
  3234
+../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
  3235
+../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
  3236
+../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
  3237
+../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
  3238
+../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
  3239
+../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
  3240
+../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
  3241
+../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
  3242
+../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
  3243
+../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
  3244
+../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
  3245
+../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
  3246
+../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
  3247
+../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
  3248
+../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
  3249
+../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
  3250
+../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
  3251
+../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
  3252
+../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
  3253
+../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
  3254
+../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
  3255
+../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
  3256
+../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
  3257
+../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
  3258
+../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
  3259
+../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
  3260
+../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
  3261
+../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
  3262
+../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
  3263
+../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
  3264
+../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
  3265
+../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
  3266
+../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
  3267
+../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
  3268
+../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
  3269
+../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
  3270
+../python/pyparsing.py ../../tools/sbs/python/pyparsing.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3271
+../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
  3272
+../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
  3273
+../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
  3274
+../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
  3275
+../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
  3276
+../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
  3277
+../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
  3278
+../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
  3279
+../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
  3280
+../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
  3281
+../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
  3282
+../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
  3283
+../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
  3284
+../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
  3285
+../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
  3286
+../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
  3287
+../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
  3288
+../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
  3289
+../python/pluginbox.py ../../tools/sbs/python/pluginbox.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3290
+../python/dos2unix.py ../../tools/sbs/python/dos2unix.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3291
+../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
  3292
+../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
  3293
+../python/raptor.py ../../tools/sbs/python/raptor.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3294
+../python/mmpparser.py ../../tools/sbs/python/mmpparser.py
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3295
+../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
  3296
+../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
  3297
+../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
  3298
+../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
  3299
+../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
  3300
+../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
  3301
+../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
  3302
+../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
  3303
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
  3304
--- /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
  3305
+++ /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
  3306
@@ -26,7 +26,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3307
 		<!-- used by FLM code -->
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3308
 		<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
  3309
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3310
-		<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
  3311
+		<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
  3312
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3313
 		<!-- 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
  3314
 		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
  3315
@@ -45,7 +45,7 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3316
 		<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
  3317
 		<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
  3318
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3319
-		<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
  3320
+		<set name='INC.COMPILER' value='$(EPOCINCLUDE)/gcc/gcc.h'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3321
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3322
 		<set name='OPT.D' value='-D'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3323
 		<set name='OPT.L' value='-L'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3324
@@ -55,12 +55,11 @@
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3325
 		<set name='OPT.SYSTEMINCLUDE' value='-isystem '/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3326
 		<set name='OPT.USERINCLUDE' value='-I '/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3327
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3328
-		<!-- always use stlport headers -->
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3329
-		<set name='SYSTEMINCLUDE' value='$(EPOCINCLUDE)/tools/stlport'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3330
+		<set name='SYSTEMINCLUDE' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3331
 
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3332
 		<set name='LINKER' value='$(GCC)'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3333
 		<set name='LFLAGS' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3334
-		<set name='STATICLIBRARY' value='stlport.5.1'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3335
+		<set name='STATICLIBRARY' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3336
 		<set name='LIBS' value=''/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3337
 		<set name='LIBS.WIN32' value='$(LIBS)'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3338
 		<set name='LIBS.LINUX' value='$(LIBS) pthread'/>
67f8bb81b054 1) Updating the .hgignore to exclude Raptor's built binaries
mikek
parents:
diff changeset
  3339
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
  3340
Only in /home/imk/symbian/epocroot-pdk-3.0.h/linux_build/sbsv2/raptor/util: build