Skip to content

Commit 0d537df

Browse files
author
Oren Miller
committed
Merge branch 'master' of https://github.com/quickfix/quickfix
2 parents fb75991 + 948d679 commit 0d537df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+21188
-9397
lines changed

.gitignore

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Makefile
1616
*.o
1717
*.d
1818
*.a
19+
.libs
20+
*.la
21+
*.so
22+
*.dylib
1923
ChangeLog
2024
UnitTest++/TestUnitTest++
2125
aclocal.m4
@@ -35,23 +39,11 @@ stamp-h1
3539
bin/executor
3640
bin/ordermatch
3741
bin/tradeclient
38-
examples/executor/C++/.libs/
3942
examples/executor/C++/executor
40-
examples/ordermatch/.libs/
4143
examples/ordermatch/ordermatch
42-
examples/ordermatch/test/.libs/
4344
examples/ordermatch/test/ordermatch_ut
44-
examples/tradeclient/.libs/
4545
examples/tradeclient/tradeclient
4646
include/
47-
lib/libquickfix.dylib
48-
lib/libquickfix.la
49-
lib/libquickfix.so
50-
src/.libs/
51-
src/C++/.libs/
52-
src/C++/libquickfix.la
53-
src/C++/test/.libs/
54-
src/C++/test/libquickfixcpptest.la
5547
src/at
5648
src/pt
5749
src/ut
@@ -62,3 +54,6 @@ test/ut_debug
6254
test/cfg
6355
test/store
6456
autom4te.cache/
57+
lib/python
58+
COPYING
59+
INSTALL

NEWS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
1.14.1
2+
------
3+
Replaced libxml2 and MSXML dependencies with embedded pugixml.
4+
5+
Fixed all warnings from -Wshorten-64-to-32.
6+
7+
Added python api to PyPi. Can be installed with 'pip install quickfix'.
8+
19
1.14.0
210
------
311
Major performance improvement sending/receiving messages. Thanks to

configure.ac

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
AC_PREREQ([2.59])
55

6-
AC_INIT([QuickFIX], [1.14.0], [ask@quickfixengine.org])
6+
AC_INIT([QuickFIX], [1.14.1], [ask@quickfixengine.org])
77
AC_CONFIG_MACRO_DIR([m4])
88
m4_include([m4/ax_lib_mysql.m4])
99
m4_include([m4/ax_lib_postgresql.m4])
@@ -36,23 +36,6 @@ AX_PYTHON()
3636
AX_RUBY()
3737
AX_JAVA()
3838

39-
########################################
40-
# CALLSTACK
41-
########################################
42-
use_callstack=no
43-
AC_ARG_ENABLE(callstack,
44-
[ --enable-callstack display c++ call stack after crashing],
45-
[use_callstack=$enableval],
46-
use_callstack=no
47-
)
48-
49-
if test $use_callstack = yes
50-
then
51-
AC_DEFINE(ENABLE_CALLSTACK, 1,
52-
Define if you want a C++ callstack to be displayed after crashing)
53-
fi
54-
########################################
55-
5639
########################################
5740
# TBB
5841
########################################
@@ -94,12 +77,6 @@ then
9477
fi
9578
########################################
9679

97-
########################################
98-
# LIBXML
99-
########################################
100-
AM_PATH_XML2('2.0.0', , AC_MSG_ERROR(libxml2 must be installed.))
101-
########################################
102-
10380
# libs
10481
LIBS="$STLPORT_LIBS $XML_LIBS $MYSQL_LIBS $POSTGRESQL_LDFLAGS $TBB_LIBS $LIBS"
10582
# gcc flags
@@ -111,7 +88,7 @@ fi
11188

11289
CFLAGS="$CFLAGS $SHAREDFLAGS"
11390
AC_SUBST(CFLAGS)
114-
CXXFLAGS="$CXXFLAGS $SHAREDFLAGS"
91+
CXXFLAGS="$CXXFLAGS $SHAREDFLAGS -std=c++0x"
11592
AC_SUBST(CXXFLAGS)
11693

11794

doc/html/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*.map
33
*_*.html
44
index*.html
5-
struct_*.html
5+
struct*.html
66
class_*.html
77
namespace*.html
88
functions*.html

doc/html/building.html

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ <h1>Windows</h1>
6969
enable this option, the postgres include and library
7070
directories must be in the Visual Studio search paths.</td>
7171
</tr>
72-
73-
<tr>
74-
<td><font color="#0000FF">#define HAVE_LIBXML 1</font></td>
75-
</tr>
76-
77-
<tr>
78-
<td>Compile and link XML parsing code against the libxml
79-
library instead of the default MSXML3.</td>
80-
</tr>
8172
</table>
8273

8374
<h1>Linux / Solaris / FreeBSD / Mac OS X</h1>
@@ -95,8 +86,7 @@ <h1>Linux / Solaris / FreeBSD / Mac OS X</h1>
9586

9687
<table>
9788
<tr>
98-
<td><font color="#0000FF">--with-python=&lt;include
99-
directory&gt;</font></td>
89+
<td><font color="#0000FF">--with-python</font></td>
10090
</tr>
10191

10292
<tr>

doc/html/dependencies.html

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ <h1>Required Dependencies</h1>
3232
<tr bgcolor="#FFFFFF">
3333
<td align="center"><b>Windows</b></td>
3434

35-
<td>MSXML3 or libxml2</td>
35+
<td></td>
3636

3737
<td>
3838
<a href="http://msdn.microsoft.com/visualc/">Microsoft
3939
Visual C++</a><br>
40-
MSXML3 or libxml2
4140
</td>
4241

4342
<td>
@@ -52,9 +51,6 @@ <h1>Required Dependencies</h1>
5251
<a href=
5352
"http://www.rpmfind.net/linux/rpm2html/search.php?query=glibc">
5453
glibc</a><br>
55-
<a href=
56-
"http://www.rpmfind.net/linux/rpm2html/search.php?query=libxml">
57-
libxml2</a><br>
5854
</td>
5955

6056
<td>
@@ -67,9 +63,6 @@ <h1>Required Dependencies</h1>
6763
<a href=
6864
"http://www.rpmfind.net/linux/rpm2html/search.php?query=glibc-devel">
6965
glibc-devel</a><br>
70-
<a href=
71-
"http://www.rpmfind.net/linux/rpm2html/search.php?query=libxml-devel">
72-
libxml2-devel</a><br>
7366
<a href="ftp://ftp.gnu.org/pub/gnu/make/">gnu
7467
make</a><br>
7568
<a href=
@@ -90,9 +83,6 @@ <h1>Required Dependencies</h1>
9083
<td>
9184
<a href=
9285
"http://www.gnu.org/software/libc/#Availability">glibc</a><br>
93-
94-
<a href=
95-
"http://xmlsoft.org/downloads.html">libxml2</a><br>
9686
</td>
9787

9888
<td>
@@ -101,8 +91,6 @@ <h1>Required Dependencies</h1>
10191
or SunPRO<br>
10292
gcc-c++<br>
10393
glibc-devel<br>
104-
<a href=
105-
"http://xmlsoft.org/downloads.html">libxml2-devel</a><br>
10694

10795
<a href="ftp://ftp.gnu.org/pub/gnu/make/">gnu
10896
make</a><br>
@@ -121,11 +109,9 @@ <h1>Required Dependencies</h1>
121109
<td align="center"><b>FreeBSD</b></td>
122110

123111
<td>
124-
<a href="http://www.freebsd.org/ports/">libxml2</a><br>
125112
</td>
126113

127114
<td>
128-
<a href="http://www.freebsd.org/ports/">libxml2<br></a>
129115
</td>
130116

131117
<td>
@@ -137,18 +123,12 @@ <h1>Required Dependencies</h1>
137123
<td align="center"><b>Mac OS X</b></td>
138124

139125
<td>
140-
<a href=
141-
"http://www.macports.org/ports.php?by=library&amp;substr=libxml2">
142-
libxml2</a><br>
143126
</td>
144127

145128
<td>
146129
<a href=
147130
"http://developer.apple.com/tools/download/">Xcode
148131
Tools</a><br>
149-
<a href=
150-
"http://www.macports.org/ports.php?by=library&amp;substr=libxml2">
151-
libxml2</a><br>
152132
</td>
153133

154134
<td></td>

examples/executor/python/executor.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import sys
22
import time
3-
import thread
43
import quickfix as fix
54

65
class Application(fix.Application):
@@ -27,7 +26,6 @@ def fromApp(self, message, sessionID):
2726
clOrdID = fix.ClOrdID()
2827

2928
message.getField( ordType )
30-
print ordType
3129
if ordType.getValue() != fix.OrdType_LIMIT:
3230
raise fix.IncorrectTagValue( ordType.getField() )
3331

@@ -62,15 +60,15 @@ def fromApp(self, message, sessionID):
6260

6361
try:
6462
fix.Session.sendToTarget( executionReport, sessionID )
65-
except SessionNotFound, e:
63+
except SessionNotFound as e:
6664
return
6765

6866
def genOrderID(self):
6967
self.orderID = self.orderID+1
70-
return `self.orderID`
68+
return self.orderID
7169
def genExecID(self):
7270
self.execID = self.execID+1
73-
return `self.execID`
71+
return self.execID
7472

7573
try:
7674
file = sys.argv[1]
@@ -83,5 +81,5 @@ def genExecID(self):
8381

8482
while 1:
8583
time.sleep(1)
86-
except (fix.ConfigError, fix.RuntimeError), e:
87-
print e
84+
except (fix.ConfigError, fix.RuntimeError) as e:
85+
print(e)

examples/ordermatch/Market.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Order& Market::find( Order::Side side, std::string id )
107107
void Market::match( Order& bid, Order& ask )
108108
{
109109
double price = ask.getPrice();
110-
int quantity = 0;
110+
long quantity = 0;
111111

112112
if ( bid.getOpenQuantity() > ask.getOpenQuantity() )
113113
quantity = ask.getOpenQuantity();

examples/ordermatch/test/Market.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Order& Market::find( Order::Side side, std::string id )
107107
void Market::match( Order& bid, Order& ask )
108108
{
109109
double price = ask.getPrice();
110-
int quantity = 0;
110+
long quantity = 0;
111111

112112
if ( bid.getOpenQuantity() > ask.getOpenQuantity() )
113113
quantity = ask.getOpenQuantity();

m4/ax_python.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ AC_SUBST(PYTHON_PREFIX)
1818
1919
if test $has_python = true
2020
then
21-
PYTHON_INCLUDE_PATH=[`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_python_inc(1)'`]
21+
PYTHON_INCLUDE_PATH=[`$PYTHON -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
2222
PYTHON_CFLAGS="-I${PYTHON_INCLUDE_PATH}"
2323
AC_SUBST(PYTHON_CFLAGS)
24-
PYTHON_SITE_PACKAGES=[`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)'`]
24+
PYTHON_SITE_PACKAGES=[`$PYTHON -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
2525
AC_SUBST(PYTHON_SITE_PACKAGES)
2626
AC_DEFINE(HAVE_PYTHON, 1, Define if you have python)
2727
fi

0 commit comments

Comments
 (0)