summaryrefslogtreecommitdiff
path: root/utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-11 15:50:46 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-11 15:50:46 +0000
commit14c7f45cdae826f88dc539c8c38dd95caf305731 (patch)
tree832da054b7cfb2dc6fd63339af736625f31d21aa /utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt
parent7c84ede3781c27db73403bd6302f320c76a58c8c (diff)
downloadrockbox-14c7f45cdae826f88dc539c8c38dd95caf305731.tar.gz
rockbox-14c7f45cdae826f88dc539c8c38dd95caf305731.zip
Add zook's ZenUtils to SVN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18010 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt')
-rwxr-xr-xutils/zenutils/libraries/pelib-0.9/pelib/changelog.txt321
1 files changed, 321 insertions, 0 deletions
diff --git a/utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt b/utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt
new file mode 100755
index 0000000000..37a7c36229
--- /dev/null
+++ b/utils/zenutils/libraries/pelib-0.9/pelib/changelog.txt
@@ -0,0 +1,321 @@
1PeLib 0.09 alpha (February 09, 2005)
2
3Added:
4- Added PeHeaderT<x>::setIddBaseRelocRva(dword value)
5- Added PeHeaderT<x>::setIddBaseRelocSize(dword value)
6- Added PeHeaderT<x>::setIddArchitectureRva(dword value)
7- Added PeHeaderT<x>::setIddArchitectureSize(dword value)
8- Added PeHeaderT<x>::setIddComHeaderRva(dword value)
9- Added PeHeaderT<x>::setIddComHeaderSize(dword value)
10- Added void PeHeaderT<x>::setImageDataDirectoryRva(dword dwDirectory, dword value)
11- Added void PeHeaderT<x>::setImageDataDirectorySize(dword dwDirectory, dword value)
12- Added bool PeHeaderT<x>::isValid() const
13- Added int PeHeaderT<x>::read(const unsigned char* pcBuffer, unsigned int uiSize, unsigned int uiOffset);
14- Added int BoundImportDirectory::read(unsigned char* pcBuffer, unsigned int uiSize);
15- Added int BoundImportDirectory::read(InputBuffer& inpBuffer, unsigned char* data, unsigned int dwSize);
16- Added unsigned int BoundImportDirectory::totalModules()
17- Added DebugDirectory::setData to set the debug data of individual entries in the DebugDirectory.
18- Added DebugDirectory::getData to get the debug data of individual entries in the DebugDirectory.
19- Added int IatDirectory::read(unsigned char* buffer, unsigned int buffersize)
20- Optimized the size and rebuild methods to avoid duplicate strings for files that appear
21 more than once in the BoundImport Directory.
22- Added two read functions to TlsDirectory and updated the return values of the old read function.
23- Added two read functions to ComHeaderDirectory and updated the return values of the old read function.
24- Added two read functions to RelocationsDirectory and updated the return values of the old read function.
25- Added void RelocationsDirectory::addRelocation()
26- Added void RelocationsDirectory::removeRelocation(unsigned int index)
27- Added void DebugDirectory::clear()
28- Added void ExportDirectory::removeFunction(unsigned int index)
29- Added void ExportDirectory::clear()
30- Added unsigned int ExportDirectory::calcNumberOfFunctions()
31- Added void ExportDirectory::setAddressOfNameOrdinals(dword value)
32
33Bugfixes:
34- Fixed a bug in TlsDirectory<bits>::size()
35- Fixed a bug in PeHeaderT<64>::isValid(dword)
36- Fixed a bug in PeHeaderT<bits>::removeDataDirectory(dword)
37- Fixed a bug in BoundImportDirectory::rebuild()
38- Fixed a bug in BoundImportDirectory::read() (Potential buffer overflow)
39- Fixed a bug in BoundImportDirectory::read() (Bug caused incorrect results when reading the directory more than once)
40- Fixed a bug when reading the debug data of individual DebugDirectory entries.
41- Fixed a bug that caused non-existing data directories to be read (PeFile).
42- Fixed a bug that caused problems when reading import directories that were located close to the end of the file (ImportDirectory).
43- Fixed a minor bug in PeHeader::calcSizeOfImage
44- Fixed some return values and removed all exception handling blocks.
45
46Changes:
47- Changed return values of PeHeader::addSection
48- Changed return values of PeHeader::read
49- Changed behaviour: PeHeader::m_uiOffset is initialized to 0 in default constructors.
50- Changed return value of BoundImportDirectory::getNumberOfModules() from int to unsigned int
51- Changed name of BoundImportDirectory::getNumberOfModules to calcNumberOfModules
52- Changed the return values of the PeFile::read* functions.
53- Renamed IatDirectory::removeAll to IatDirectory::clear
54- Renamed IatDirectory::numberOfAddresses to IatDirectory::calcNumberOfAddresses
55- Changed the parameter types of IatDirectory::getAddress from dword to unsigned int
56- Changed the parameter types of IatDirectory::removeAddress from dword to unsigned int
57- All constants taken from windows.h that were redefined in PeLibAux.h now have the prefix PELIB_ to avoid
58 conflicts with windows.h if both files are included to a project.
59- Changed PELIB_IMAGE_TLS_DIRECTORY<bits>::size from an enum to a function.
60- Changed the name of RelocationsDirectory::getNumberOfRelocationData to calcNumberOfRelocationData
61- Changed void RelocationsDirectory::removeRelocationData(unsigned int ulRelocation, word wValue)
62 to void RelocationsDirectory::removeRelocationData(unsigned int relocindex, unsigned int dataindex)
63- Removed dword ExportDirectory::getNumberOfNameOrdinals()
64- Removed dword ExportDirectory::getNumberOfAddressOfFunctionNames()
65- Removed dword ExportDirectory::getNumberOfAddressOfFunctions()
66- Changed the parameters of some functions in ExportDirectory from dword to unsigned int.
67
68
69January 16, 2005 PeLib 0.08 alpha
70
71Added:
72- Added std::string ExportDirectory::getNameString()
73- Added resource type RT_MANIFEST to PeLibAux.h
74- Added the following functions of PeHeaderT<int x>: setIddDebugRva, setIddDebugSize,
75 setIddDelayImportRva, setIddDelayImportSize, setIddExceptionRva, setIddExceptionSize, setIddGlobalPtrRva,
76 setIddGlobalPtrSize, setIddIatRva, setIddIatSize, setIddLoadConfigRva, setIddLoadConfigSize,
77 setIddResourceRva, setIddResourceSize, setIddResourceRva, setIddResourceSize, setIddSecurityRva,
78 setIddSecuritySize, setIddTlsRva, setIddTlsSize
79- ImportDirectory32 and ImportDirectory64 are now available.
80- Added ImportDirectory<bits>::setFileName(dword, currdir, const std::string&)
81- Added ImportDirectory<bits>::setFirstThunk(dword, currdir, dword)
82- Added ImportDirectory<bits>::setForwarderChain(dword, currdir, dword)
83- Added ImportDirectory<bits>::setRvaOfName(dword, currdir, dword)
84- Added ImportDirectory<bits>::setOriginalFirstThunk(dword, currdir, dword)
85- Added ImportDirectory<bits>::setTimeDateStamp(dword, currdir, dword)
86- Added ImportDirectory<bits>::setOriginalFirstThunk(dword, dword, currdir, dword)
87- Added ImportDirectory<bits>::setFirstThunk(dword, dword, currdir, dword)
88- Added ImportDirectory<bits>::setFunctionHint(dword, dword, currdir, word)
89- Added ImportDirectory<bits>::setFunctionName(dword, dword, currdir, const std::string&)
90- Added dword BoundImportDirectory::getTimeDateStamp(dword dwBidnr, dword forwardedModule) const
91- Added word BoundImportDirectory::getOffsetModuleName(dword dwBidnr, dword forwardedModule) const
92- Added word BoundImportDirectory::getNumberOfModuleForwarderRefs(dword dwBidnr, dword forwardedModule) const
93- Added std::string BoundImportDirectory::getModuleName(dword dwBidnr, dword forwardedModule) const
94- Added void BoundImportDirectory::setTimeDateStamp(dword dwBidnr, dword forwardedModule, dword dwTds)
95- Added void BoundImportDirectory::setOffsetModuleName(dword dwBidnr, dword forwardedModule, word wOmn)
96- Added void BoundImportDirectory::setNumberOfModuleForwarderRefs(dword dwBidnr, dword forwardedModule, word wMfr)
97- Added void BoundImportDirectory::setModuleName(dword dwBidnr, dword forwardedModule, const std::string& strModuleName)
98- Added word calcNumberOfModuleForwarderRefs(dword dwBidnr) const
99- Added void addForwardedModule(dword dwBidnr, const std::string& name, dword timeStamp = 0, word offsetModuleName = 0, word forwardedModules = 0)
100- Added void removeForwardedModule(dword dwBidnr, word forwardedModule)
101- Added PeHeaderT<x>::addDataDirectory()
102- Added PeHeaderT<x>::removeDataDirectory(dword)
103
104Bugfixes:
105- Fixed a bug in MzHeader::isValid
106- Fixed a bug in PeHeaderT<x>::size()
107- Fixed a bug in PeHeaderT<x>::calcRva()
108- Fixed a bug in PeHeaderT<x>::calcSizeOfImage()
109- Fixed a bug in PeHeaderT<x>::getSectionName(dword)
110- Fixed a bug in PeHeaderT<x>::calcStartOfCode()
111- Fixed a bug in PELIB_THUNK_DATA<bits>::bool equalHint(word wHint) const
112- Fixed a bug in PELIB_IMAGE_THUNK_DATA<bits>::bool equalHint(word wHint) const
113- Fixed a bug in int ImportDirectory<bits>::removeFunction(const std::string& strFilename, word wHint)
114- Fixed a bug in int ImportDirectory<bits>::removeFile(const std::string& strFilename)
115- Function hints are now properly added when rebuilding import directories.
116- Reading and rebuilding bound import directories now works with forwarded modules.
117
118Changes:
119- Changed behaviour: Removed all exceptions from the MzHeader class. The functions work with return values now.
120- Changed behaviour: The MzHeader::read() functions stopped checking if the MzHeader begins with "MZ".
121- Changed behaviour: PeHeaderT<int x>::addSection(std::string, dword) doesn't use exceptions anymore.
122 Return values now indicate if the function succeeded or failed.
123- Changed behaviour: PeHeaderT<int x>::getSectionWithOffset(dword) doesn't use exceptions anymore.
124 Return values now indicate if the function succeeded or failed.
125- Changed behaviour: PeHeaderT<int x>::getSectionWithRva(dword) doesn't use exceptions anymore.
126 Return values now indicate if the function succeeded or failed.
127- Changed behaviour: PeHeaderT<int x>::rvaToOffset(dword) doesn't use exceptions anymore.
128 Return values now indicate if the function succeeded or failed.
129- Changed behaviour: PeHeaderT<int x>::write(std::string, unsigned int) doesn't use exceptions anymore.
130 Return values now indicate if the function succeeded or failed.
131- Changed behaviour: PeHeaderT<int x>::writeSectionData(const std::string& strFilename, word wSecnr,
132 const std::vector<byte>& vBuffer) doesn't use exceptions anymore.
133 Return values now indicate if the function succeeded or failed.
134- Changed behaviour: PeHeaderT<int x>::writeSections(std::string) doesn't use exceptions anymore.
135 Return values now indicate if the function succeeded or failed.
136- Changed behaviour: Return value of PeHeaderT<x>::calcSpaceAfterHeader() changed from unsigned long
137 to unsigned int.
138- Changed behaviour: Return value of PeHeaderT<x>::calcStartOfCode() changed from unsigned long
139 to unsigned int.
140- Changed behaviour: Return value of PeHeaderT<x>::calcOffset() changed from unsigned long
141 to unsigned int.
142- Changed behaviour: Return value of PeHeaderT<x>::offsetToRva(dword) changed from unsigned long
143 to unsigned int.
144- Changed behaviour: Return value of PeHeaderT<x>::offsetToVa(dword) changed from unsigned long
145 to unsigned int.
146- Renamed ExportDirectory::setName(std::string) to ExportDirectory::setNameString(std::string)
147- Renamed the PeHeaderT::getId* functions to PeHeaderT::getIdd*
148- Renamed PeHeaderT::getImageDirectoryRva to PeHeaderT::getImageDataDirectoryRva
149- Renamed PeHeaderT::getImageDirectorySize to PeHeaderT::getImageDataDirectorySize
150- Renamed void PeHeaderT<x>::setWinVersionValue(dword dwValue) to void PeHeaderT<x>::setWin32VersionValue(dword dwValue)
151- Renamed the following functions of PeHeaderT<int x>: setIdImportRva to setIddImportRva,
152 setIdImportSize to setIddImportSize, setIdExportRva to setIddExportRva, setIdExportSize to setIddExportSize
153- Renamed dword ImportDirectory<bits>::getName to dword ImportDirectory<bits>::getRvaOfName
154- Changed behaviour: All removeFunction and removeFile functions from ImportDirectory.h return int instead
155 of void now.
156- Changed behavior: ResourceDirectory::resourceTypeNameToIndex returns int instead of unsigned int.
157
158-------------------------------------------------------------------------------------------------------------
159
160July 18, 2004 PeLib 0.07 alpha
161
162Added:
163- Full support of the PE+ format.
164- ImportDirectory::getName(string, currdir)
165- ImportDirectory::getFirstThunk(dword, currdir)
166- ImportDirectory::getOriginalFirstThunk(dword, currdir)
167- ImportDirectory::getForwarderChain(dword, currdir)
168- ImportDirectory::getName(dword, currdir)
169- ImportDirectory::getTimeDateStamp(dword, currdir)
170- PeLib::getFileType(string)
171- PeLib::openPeFile(string)
172- Added class PeFileVisitor
173- Added PeFile::visit(PeFileVisitor&)
174
175Bugfixes:
176- Fixed a bug in PeHeader::rvaToOffset
177
178Changes:
179- Renamed ImportDirectory::OLD to PeLib::OLDDIR and ImportDirectory::NEW to PeLib::NEWDIR
180- Renamed Relocations to RelocationsDirectory
181- Renamed ImportAddressTable to IatDirectory
182- Renamed ComDescriptor to ComHeader
183- Renamed PeFile::comDescDir to PeFile::comDir
184- Changed unsigned long ExportDirectory::getFunctionIndex to unsigned int ExportDirectory::getFunctionIndex
185
186-------------------------------------------------------------------------------------------------------------
187
188July 4, 2004 PeLib 0.06 alpha
189
190Added:
191- TlsDirectory class
192
193Changes:
194- ResourceElement::read and ResourceElement::rebuild are now protected.
195
196Bugfixes:
197- Fixed a bug in PeHeader::rvaToOffset
198
199-------------------------------------------------------------------------------------------------------------
200
201June 26, 2004 PeLib 0.05 alpha
202
203Added:
204- Constructor, Copy constructor, assignment operator and destructor for ResourceChild.
205- ResourceDirectory::getRoot()
206- ResourceElement::isLeaf()
207- ResourceElement::getElementRva
208- 10 new functions in ResourceLeaf.
209- 22 new functions in ResourceNode.
210- Added the RT_* constants which identify resource types to PeLibAux.h
211- Added a new example (examples/ResourceTree) which shows how to use low level ResourceDirectory functions.
212- Added PELIB_IMAGE_DEBUG_DIRECTORY and PELIB_IMG_DEBUG_DIRECTORY
213- Added the new class DebugDirectory which handles the debug directory of PE files.
214- Added readDebugDirectory() and debugDir() to PeFile.
215
216Removed:
217- ~ResourceNode()
218
219-------------------------------------------------------------------------------------------------------------
220
221June 12, 2004 PeLib 0.04 alpha
222
223New:
224- Finally implemented the class ResourceDirectory. That means lots of new functions I won't explicitly list here.
225 Check the documentation.
226
227Removed:
228- The files buffer/ResTree.cpp and buffer/ResTree.h are obsolete and were removed.
229
230Bugfixes:
231- Fixed PeHeader::calcStartOfCode
232- Fixed PeHeader::getSectionWithRva
233
234Changes:
235- Changed PeHeader::read to throw an exception if the NT signature is not 'PE'\0\0
236- Changed the 2nd parameter of void MzHeader::read(unsigned char*, unsigned long) from unsigned long to unsigned int.
237- Changed the return value of MzHeader::size from long to int.
238- Changed parameters of MzHeader::getReservedWords1, MzHeader::getReservedWords2, MzHeader::setReservedWords1 and
239 MzHeader::setReservedWords2 from long to int.
240- Changed MzHeader::read(std::string) to MzHeader::read(const std::string&)
241- Changed return value of BoundImportDirectory::getModuleIndex from long to int.
242- Changed return value of BoundImportDirectory::size from long to int.
243- Changed return value of ComDescriptor::size from long to int.
244- Changed return value of ImportAddressTable::size from long to int.
245- Changed return value of Relocations::getNumberOfRelocations from long to int.
246- Changed return value of Relocations::getNumberOfRelocationData from long to int.
247- Changed return value of Relocations::size from long to int.
248- Changed parameter of Relocations::getVirtualAddress from long to int.
249- Changed parameter of Relocations::getSizeOfBlock from long to int.
250- Changed parameter of Relocations::getRelocationData from long to int.
251- Changed parameters of Relocations::setRelocationData from long to int.
252- Changed parameters of Relocations::setVirtualAddress from long to int.
253- Changed parameters of Relocations::setSizeOfBlock from long to int.
254- Changed parameters of Relocations::addRelocationData from long to int.
255- Changed parameters of Relocations::removeRelocationData from long to int.
256- Changed return value of ExportDirectory::getFunctionIndex(const std::string&) const from unsigned int to int.
257
258-------------------------------------------------------------------------------------------------------------
259
260May 31, 2004: PeLib 0.03 alpha
261
262Bugfixes:
263- Fixed some bugs in FileDump.cpp
264
265Changes:
266- Modified PeLibAux.cpp to make PeLib VC++ 7.1 compatible.
267- Changed vector access from .at to operator[] all over the project.
268 Real undefined behaviour is probably better than spontaniously terminating applications.
269
270New:
271- Added makefiles for Borland C++ commandline tools (tested on version 5.6.4)
272- Added makefiles for Digital Mars Compiler (tested on version 8.38n)
273 Note that support for DMC is not yet complete. PeLib compiles though, the examples don't yet but the
274 reason for this is that I am unable to correctly specifiy the PeLib object files when compiling.
275- Added makefiles for Visual C++ 7.1 (tested on compiler Version 13.10.3052)
276
277-------------------------------------------------------------------------------------------------------------
278
279Mai 1, 2004: PeLib 0.02 alpha
280
281Bugfixes:
282- Fixed a bug in FileDump's and OON2's makefile.g++
283- Fixed ImportDirectory::size
284- Changed parameter of PELIB_THUNK_DATA::equalHint from dword to word
285- Fixed a bug in PeHeader::read (PeLib always assumed 0x10 data directories in version 0.01 alpha)
286
287Changes:
288- Slightly changed ImportDirectory::removeFile (Changed function's signature)
289- Moved the definitions of byte, word and dword into the PeLib namespace.
290- Renamed PELIB_THUNK_DATA::equalName to PELIB_THUNK_DATA::equalFunctionName
291- Started to add size() functions to structs defined in PeLibAux.h
292- Moved PeFile::writeSectionData to PeHeader::writeSectionData
293- Moved PeFile::writeSections to PeHeader::writeSections
294
295New:
296- Added ImportDirectory::hasFunction
297- Wrote BoundImportDirectory::size
298- Added accumulate function to PeLibAux.h
299- Added PELIB_IMAGE_SECTION_HEADER::biggerFileOffset
300- Added PELIB_IMAGE_SECTION_HEADER::biggerVirtualAddress
301- Added PeHeader::calcSizeOfImage
302- Added PeHeader::enlargeLastSection
303
304Removed:
305- Removed PeFile::write
306- Removed PeFile::writeImportDirectory
307
308Other changes:
309- Rewrote parts of ImportDirectory::read
310- Rewrote ImportDirectory::removeFunction (both version).
311- Changed std::ios:: to std::ios_base:: in ImportDirectory
312- Changed ImportDirectory::addFunction (both versions)
313- Changed ExportDirectory::rebuild
314- Changed ExportDirectory::size
315- Rewrote ImportDirectory::size
316- Rewrote PeHeader::size
317- Rewrote ComDescriptor::size
318
319-------------------------------------------------------------------------------------------------------------
320
321April 9, 2004: PeLib 0.01 alpha Initial release \ No newline at end of file