Skip to content

Commit 7086778

Browse files
committed
Updated readme and reformatted news.
1 parent 5db0a9d commit 7086778

File tree

11 files changed

+206
-217
lines changed

11 files changed

+206
-217
lines changed

.bzrignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ wheelhouse
1414
./.git
1515
./.gitignore
1616
./venv
17+
./python.bat
18+
./NEWS.html

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ docs/manual/.build/html/*
77
venv/
88
dist/
99
MANIFEST
10+
python.bat
11+
NEWS.html
File renamed without changes.

MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include AUTHORS.txt
1+
include AUTHORS.rst
22
include LICENSE.txt
3-
include News.txt
4-
include Readme.rst
3+
include NEWS.rst
4+
include README.rst

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ all:
44
@echo Available targets:
55
@echo clean - clean build directory
66
@echo test - run unittest
7-
@echo epydoc - run epydoc to create API documentation
7+
@echo epydoc - run epydoc to create API documentation (python 2)
88
@echo wininst - Windows installer for Python
99
@echo docs - build docs with ReST and Sphinx
1010
@echo wheel - build python wheel binary archive

NEWS.rst

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
*****************
2+
IntelHex releases
3+
*****************
4+
5+
2.2 (2018-01-28)
6+
----------------
7+
* API changes: ``IntelHex.write_hex_file`` method: added support for new
8+
parameter: ``eolstyle = native | CRLF``. (Alexander Belchenko)
9+
* API changes: ``IntelHex.write_hex_file()`` method gets new optional
10+
parameter ``byte_count`` to specify how many bytes should be written
11+
to each data record in output file. Default value is 16.
12+
(patch from GitHub user erki1993)
13+
* Unit tests: Fixed xrange overflow test for Python 2.7 on 64-bit platforms.
14+
Use ``sys.maxint`` to ensure we trigger an exception. (Masayuki Takeda)
15+
* Script ``hexinfo.py``: Python 3 compatibility for processing start address
16+
dict keys. (patch from GitHub user mentaal)
17+
* Added ``get_memory_size()`` method: approx memory footprint of IntelHex object
18+
plus data. (Alexander Belchenko)
19+
* Better compatibility with Python 3. (Alexander Belchenko)
20+
21+
2.1 (2016-03-31)
22+
----------------
23+
* API changes: added ``IntelHex.segments()`` method that returns
24+
a list of ordered tuple objects, representing contiguous occupied data
25+
addresses. (Andrew Fernandes)
26+
* New command-line script ``hexinfo.py`` to print summary about hex files
27+
contents (file name, start address, address ranges covered by the data)
28+
in YAML format. (Andrew Fernandes)
29+
* Better Python 3 compatibility when ``hex2bin.py`` and ``bin2hex.py``
30+
scripts are trying to read/write binary data from stdin or to stdout.
31+
(GitHub issue https://github.com/bialix/intelhex/issues/4)
32+
* The main activity of the IntelHex project slowly drifting towards
33+
GitHub - the main social network for OSS developers.
34+
I'd really like to get some help from additional maintainer though.
35+
* API changes: ``IntelHex.dump()`` method gets new optional parameters:
36+
``width``, ``withpadding`` to control generation of output text.
37+
(patch from GitHub user durexyl)
38+
* Script ``hex2dump.py`` gets new option ``--width`` to support
39+
corresponding parameter in ``IntelHex.dump()`` method.
40+
41+
2.0 (2015-04-12)
42+
----------------
43+
* The same codebase can be run on both Python 2 (2.4-2.7)
44+
and Python 3 (3.2+). No need to use 2to3.
45+
* ``compat.py``: provide more helper functions and aliases to reduce changes
46+
required to convert python 2 compatible sources to python 3.
47+
The code becomes quite ugly, but such compatibility has its price.
48+
* Python 3 compatibility: tobinstr should return bytes not unicode string
49+
(Bug #1212698).
50+
* Python 2: better support for long int addresses (over 2GB)
51+
(Bug #1408934)
52+
53+
1.5 (2013-08-02)
54+
----------------
55+
* API changes: Functions tobinarray/tobinstr/tobinfile:
56+
pad parameter is deprecated and will be removed in
57+
future releases. Use IntelHex.padding attribute instead,
58+
and don't pass pad as None explicitly please.
59+
If you need to use size parameter, then use syntax like that:
60+
``ih.tobinarray(start=xxx, size=yyy)``
61+
* API changes: Functions tobinarray/tobinstr/tobinfile:
62+
default value of pad is None now (was ``0xFF``)
63+
to allow using value of ``IntelHex.padding``
64+
if no explicit pad specified.
65+
* Fixed bug: wrong ``getopt`` error handling in some scripts.
66+
(Thanks to Andy Mozhevilov for bug report)
67+
* PEP-8 style improvements. (Thanks to Stefan Schmitt)
68+
* ``IntelHex16bit.tobinarray`` method returns array of unsigned short
69+
(words) values. (Feature request from Stefan Schmitt)
70+
* Improved Python 3 compatibility (don't use old file() function).
71+
(Thanks to Luis Panadero Guardeño for bug report)
72+
73+
1.4 (2012-04-25)
74+
----------------
75+
* New feature: compare 2 hex files using hex dump
76+
as string representation. Feature available as
77+
worker function diff_dumps() and as command-line
78+
utility hexdiff.py (#627924).
79+
* Changes in the codebase suggested by 2to3 tool to provide
80+
compatibility with Python3. Now sources can be successfully
81+
converted to Python3 with 2to3 utility.
82+
See Python 3 notes in README.txt and documentation.
83+
(Thanks to Bernhard Leiner for his help)
84+
* Fixed bug #988148: ``IntelHex16bit`` should copy all public attributes
85+
from source IntelHex 8-bit object. (Thanks to Morgan McClure)
86+
87+
1.3 (2010-11-24)
88+
----------------
89+
* ``hex2dump``: show 0x7F character as dot for better compatibility
90+
with GNU less utility.
91+
* tobinarray, tobinfile, tobinstr: added size parameter. (Bug #408748)
92+
* fixed error in ``hexmerge.py`` script. (#676023)
93+
94+
1.2 (2009-08-04)
95+
----------------
96+
* Fixed bug 372620: tobinarray on empty file should return pad bytes
97+
when address range explicitly specified.
98+
* Improved docstrings: explicitly say that ``end`` param of to-* methods
99+
is always inclusive. (see bug #372625 for details).
100+
* Improved documentation on ``ih.dump(tofile)``.
101+
102+
1.1 (2009-03-12)
103+
----------------
104+
* Fixed bug in writing hex files with small chains of bytes
105+
* Improved Python 2.6 compatibility
106+
107+
1.0 (2009-01-01)
108+
----------------
109+
* Improved API, better performance
110+
* New User Manual (Zachary Clifford)
111+
112+
0.9 (2007-06-16)
113+
----------------
114+
New API release.
115+
116+
* New API
117+
* Performance improvements: read hex file now ~45% faster
118+
119+
0.8.6 (2007-04-27)
120+
------------------
121+
Bug fixes and performance improvements.
122+
123+
* ``IntelHex`` is able to read/write start address records
124+
(HEX record type ``03`` and ``05``). (fix bug #109872)
125+
* Backport (from 0.9 branch) of performance improvements
126+
for reading hex files
127+
128+
0.8.5 (2007-02-26)
129+
------------------
130+
BugFix Release.
131+
132+
Performance improvements for writing big hex files
133+
when starting address is far from 0. Patch from Heiko Henkelmann.
134+
135+
0.8.4 (2007-02-26)
136+
------------------
137+
License added.
138+
139+
The code is actually licensed under BSD, but there was
140+
no LICENSE file in sources archive. Added license file
141+
and explicit declaration in the source code.
142+
143+
0.8.3 (2006-09-05)
144+
------------------
145+
BugFix Release.
146+
147+
Fix writing hex files with extended linear records
148+
(when address overlaps 64K boundary). Patch from Henrik Maier.
149+
150+
0.8.2 (2006-04-11)
151+
------------------
152+
Major improvements release.
153+
154+
* Introduced new class ``IntelHex16bit`` for manipulate data as 16-bit values
155+
* You can manipulate data using dictionary-like interface
156+
(i.e. syntax like: ``ih[addr] = value``)
157+
* Added new method ``writefile(file)`` for writing data to hex file
158+
* Using unittest for testing functionality
159+
160+
0.6 (2006-03)
161+
-------------
162+
Convertor engine ``hex2bin`` extracted to stand-alone function
163+
for using by external clients of intelhex.
164+
165+
0.5 (2005)
166+
----------
167+
First public release.

News.txt

Lines changed: 0 additions & 162 deletions
This file was deleted.

0 commit comments

Comments
 (0)