File tree Expand file tree Collapse file tree 6 files changed +22
-4
lines changed
Expand file tree Collapse file tree 6 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1- Version 1.5.3 - xx xxx 2011
1+ Version 1.5.3 - xx xxx 2012
22
33 * Fix detection of gmcs by configure.
44 * Fix examples to use lazy initialization of the Columns to better
@@ -7,7 +7,9 @@ Version 1.5.3 - xx xxx 2011
77 * Make sure that SearchResultSet::GetColumn doesn't attempt to use
88 an empty string.
99 * Apply patches provided by Matthew Schultz.
10- * Default to BOOST_FILESYSTEM_3 and boost 1.44 or later. Ticke #166.
10+ * Default to BOOST_FILESYSTEM_3 and boost 1.44 or later. Ticket #166.
11+ * Recognize RETS/1.8.0.
12+ * Pass exceptions through to Java.
1113
1214Version 1.5.2 - 11 Feb 2011
1315
Original file line number Diff line number Diff line change @@ -12,5 +12,6 @@ CPPFLAGS="-L/opt/local/lib -I/opt/local/include" \
1212 --with-expat-prefix=/opt/local \
1313 --with-boost-prefix=/opt/local \
1414 --with-java-prefix=` javaconfig Headers` \
15+ --with-snk-file=no \
1516 --prefix=/tmp/librets
1617
Original file line number Diff line number Diff line change @@ -507,6 +507,7 @@ class RetsSession : public MetadataLoader
507507 static const char * RETS_1_7_STRING;
508508 static const char * RETS_1_7_2_STRING;
509509 static const char * RETS_1_8_STRING;
510+ static const char * RETS_1_8_0_STRING;
510511
511512 void RetrieveAction ();
512513
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ enum RetsVersion
4949 /* *
5050 * This is a RETS 1.8 server.
5151 */
52- RETS_1_8
52+ RETS_1_8,
53+ /* *
54+ * This is a RETS 1.8.0 server.
55+ */
56+ RETS_1_8_0
5357};
5458
5559}
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ const char * CLASS::RETS_1_5_STRING = "RETS/1.5";
5252const char * CLASS::RETS_1_7_STRING = " RETS/1.7" ;
5353const char * CLASS::RETS_1_7_2_STRING = " RETS/1.7.2" ;
5454const char * CLASS::RETS_1_8_STRING = " RETS/1.8" ;
55+ const char * CLASS::RETS_1_8_0_STRING = " RETS/1.8.0" ;
5556
5657const int CLASS::MODE_CACHE = 0x01 ;
5758const int CLASS::MODE_NO_STREAM = 0x02 ;
@@ -700,6 +701,10 @@ string CLASS::RetsVersionToString(RetsVersion retsVersion)
700701 {
701702 return RETS_1_8_STRING;
702703 }
704+ else if (retsVersion == RETS_1_8_0)
705+ {
706+ return RETS_1_8_0_STRING;
707+ }
703708 else
704709 {
705710 throw RetsException (str_stream () << " Invalid RetsVersion: "
@@ -729,6 +734,10 @@ RetsVersion CLASS::RetsVersionFromString(string versionString)
729734 {
730735 return RETS_1_8;
731736 }
737+ else if (versionString == RETS_1_8_0_STRING)
738+ {
739+ return RETS_1_8_0;
740+ }
732741 else if (versionString.empty ())
733742 {
734743 return RETS_1_0;
Original file line number Diff line number Diff line change @@ -1332,7 +1332,8 @@ enum RetsVersion
13321332 RETS_1_5,
13331333 RETS_1_7,
13341334 RETS_1_7_2,
1335- RETS_1_8
1335+ RETS_1_8,
1336+ RETS_1_8_0
13361337};
13371338
13381339enum EncodingType
You can’t perform that action at this time.
0 commit comments