| 1 |
2009-01-06 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 2 |
include/pqxx/strconv.hxx: |
|---|
| 3 |
- Export throw_null_conversion, thanks Andrew Maclean |
|---|
| 4 |
win32/INSTALL.txt: |
|---|
| 5 |
- Tiny wording fix |
|---|
| 6 |
2009-01-05 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 7 |
win32/vc-test.mak.template: |
|---|
| 8 |
- Link individual tests' object files into test runner |
|---|
| 9 |
- Consistently place all object files and executables in $(INTDIR) |
|---|
| 10 |
- Fixed typo in filename "runner.success" |
|---|
| 11 |
2009-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 12 |
configitems, configure.ac.in, include/pqxx/util.hxx, src/util.cxx, |
|---|
| 13 |
test/unit/test_thread_safety_model.cxx: |
|---|
| 14 |
- Provide thread-safety information to the program |
|---|
| 15 |
tools/Makefile.am, tools/pqxxthreadsafety.cxx: |
|---|
| 16 |
- New tool to print thread-safety information |
|---|
| 17 |
tools/rmlo.cxx: |
|---|
| 18 |
- Use PGSTD, not std |
|---|
| 19 |
2009-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 20 |
include/pqxx/util.hxx: |
|---|
| 21 |
- Separate doc page about accessing results |
|---|
| 22 |
2009-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 23 |
include/pqxx/binarystring.hxx, include/pqxx/result.hxx, |
|---|
| 24 |
include/pqxx/util.hxx, src/connection_base.cxx, src/binarystring.cxx, |
|---|
| 25 |
src/result.cxx: |
|---|
| 26 |
- Made PQAlloc API conform more (almost entirely) to shared_ptr |
|---|
| 27 |
- Renamed scoped_array::clear() to reset() to match shared_ptr |
|---|
| 28 |
- Hid PQAlloc's derivation from shared_ptr a bit more to narrow interface |
|---|
| 29 |
2009-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 30 |
configitems, configure.ac.in, include/pqxx/util.hxx: |
|---|
| 31 |
- Check for separate TR1 header directory |
|---|
| 32 |
- Configure check & option for TR1 namespace |
|---|
| 33 |
- Include <tr1/memory> if available, or <memory> otherwise |
|---|
| 34 |
2009-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 35 |
include/pqxx/util.hxx: |
|---|
| 36 |
- Yet more introductory documentation |
|---|
| 37 |
README-UPGRADE: |
|---|
| 38 |
- Added 3.1 section |
|---|
| 39 |
2009-01-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 40 |
include/pqxx/basic_connection.hxx, src/binarystring.cxx, src/util.cxx: |
|---|
| 41 |
- Added includes that may be needed in some situations |
|---|
| 42 |
test/test000.cxx: |
|---|
| 43 |
- More consistent spacing |
|---|
| 44 |
2009-01-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 45 |
include/Makefile.am: |
|---|
| 46 |
- Forgot to add new strconv headers |
|---|
| 47 |
include/pqxx/pqxx: |
|---|
| 48 |
- Ordered alphabetically |
|---|
| 49 |
- Updated for completeness (probably no practical difference) |
|---|
| 50 |
include/pqxx/strconv.hxx: |
|---|
| 51 |
- Provide string_traits<> for non-const "char *" |
|---|
| 52 |
include/pqxx/util.hxx: |
|---|
| 53 |
- Added extra example to "getting started" page |
|---|
| 54 |
- Compile fixes for examples |
|---|
| 55 |
src/connection_base.cxx, src/cursor.cxx: |
|---|
| 56 |
- Include strconv where (sometimes) needed |
|---|
| 57 |
2008-12-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 58 |
include/pqxx/connection_base.hxx, include/pqxx/prepared_statement.hxx, |
|---|
| 59 |
include/pqxx/result.hxx, include/pqxx/strconv, include/pqxx/strconv.hxx, |
|---|
| 60 |
include/pqxx/util.hxx, src/Makefile.am, src/strconv.cxx, src/util.cxx: |
|---|
| 61 |
- Broke string conversion out into its own module |
|---|
| 62 |
2008-12-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 63 |
doc/libpqxx.xml: |
|---|
| 64 |
- Restructured chapters for more balance |
|---|
| 65 |
- Made text less tedious in places |
|---|
| 66 |
include/pqxx/connection_base.hxx, src/connection_base.cxx, src/cursor.cxx, |
|---|
| 67 |
src/dbtransaction.cxx: |
|---|
| 68 |
- Added capability for read-only transactions |
|---|
| 69 |
- Added capability for cursor "fetch 0" |
|---|
| 70 |
include/pqxx/cursor.hxx, include/pqxx/tablewriter.hxx, |
|---|
| 71 |
include/pqxx/transaction_base.hxx: |
|---|
| 72 |
- Documented some more parameters to keep doxygen happy. |
|---|
| 73 |
include/pqxx/util.hxx: |
|---|
| 74 |
- Updated threading documentation |
|---|
| 75 |
- Created "getting started" page |
|---|
| 76 |
- Linked to threading & getting-started pages from front page |
|---|
| 77 |
2008-12-27 Eugene V. Lyubimkin <jackyf.devel@gmail.com> |
|---|
| 78 |
debian/rules, debian/control: |
|---|
| 79 |
- Deal better with config.{sub,guess} files, thanks Roger Leigh. |
|---|
| 80 |
- Prepare for future 3.1 release, now Debian package builds correctly. |
|---|
| 81 |
2008-12-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 82 |
include/pqxx/dbstransaction.hxx, src/dbtransaction.cxx: |
|---|
| 83 |
- Use regular transaction if backend doesn't support read transactions |
|---|
| 84 |
src/binarystring.cxx: |
|---|
| 85 |
- Workaround for 7.3 libpq without PQunescape() still used m_str |
|---|
| 86 |
- Missing include for workaround |
|---|
| 87 |
- Use memcpy(), not strcpy() in workaround; there may be nul bytes |
|---|
| 88 |
- Fixed int-to-unsigned-char warnings in workaround |
|---|
| 89 |
src/util.cxx: |
|---|
| 90 |
- Missing include for workaround to missing PQfreemem() |
|---|
| 91 |
- Fixed const error in workaround |
|---|
| 92 |
tools/pqxx-fulltest: |
|---|
| 93 |
- Rearranged "find" options to silence warning. |
|---|
| 94 |
2008-12-26 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 95 |
include/pqxx/binarystring.hxx, include/pqxx/util.hxx, src/binarystring.cxx, |
|---|
| 96 |
src/connection_base.cxx: |
|---|
| 97 |
- Disallow pointer-to-smart-pointer assignment, thanks Kirit Saelensminde |
|---|
| 98 |
- Removed caching of str(); binarystring is now immutable |
|---|
| 99 |
2008-12-25 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 100 |
include/pqxx/binarystring.hxx: |
|---|
| 101 |
- Made binarystring contents const |
|---|
| 102 |
2008-12-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 103 |
configitems, configure.ac.in, include/pqxx/result.hxx, include/pqxx/util.hxx, |
|---|
| 104 |
src/util.cxx: |
|---|
| 105 |
- Check for shared_ptr (still needs work; won't always be in std::tr1) |
|---|
| 106 |
- Implement PQAlloc as a shared_ptr if available |
|---|
| 107 |
- Turn PQ memory freeing functions into shared_ptr-style deleters |
|---|
| 108 |
- Make result's result_data const. |
|---|
| 109 |
2008-12-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 110 |
include/pqxx/dbtransaction.hxx, include/pqxx/transaction.hxx, |
|---|
| 111 |
src/dbtransaction.cxx, src/transaction.cxx, |
|---|
| 112 |
test/unit/test_read_transaction.cxx: |
|---|
| 113 |
- Added support for read-only transactions. |
|---|
| 114 |
tools/pqxx-fulltest: |
|---|
| 115 |
- Tried to augment postgresql.conf in wrong place |
|---|
| 116 |
- Build postgres without readline |
|---|
| 117 |
2008-12-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 118 |
include/pqxx/Makefile.am: |
|---|
| 119 |
- Fixed glitch that broke with Solaris "make," thanks Doug. |
|---|
| 120 |
test/test_helpers.hxx: |
|---|
| 121 |
- Bounds check failure message now includes value of violated boundary |
|---|
| 122 |
2008-11-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 123 |
tools/pqxx-fulltest: |
|---|
| 124 |
- Write postgres config data after initdb, not after building. |
|---|
| 125 |
2008-11-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 126 |
tools/extract_version, tools/preprelease, tools/release: |
|---|
| 127 |
- Automating part of release process |
|---|
| 128 |
VERSION |
|---|
| 129 |
- Use 2-level versions for x.0; more stability among 3-level versions |
|---|
| 130 |
2008-10-31 Eugene V. Lyubimkin <jackyf.devel@gmail.com> |
|---|
| 131 |
test/unit/Makefile.am.template: |
|---|
| 132 |
- Added includes to fill 'make check' missing includes when building in |
|---|
| 133 |
non-stardard build directory. |
|---|
| 134 |
debian/rules: |
|---|
| 135 |
- Updated, deleted some cruft. |
|---|
| 136 |
- Corrected to pass '--enable-maintainer-mode' to configure. Now 'make |
|---|
| 137 |
check' in 'debian/build' directory creats properly linked 'runner'. |
|---|
| 138 |
2008-10-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 139 |
include/pqxx/tablewriter.hxx, src/tablewriter.cxx, |
|---|
| 140 |
test/unit/test_tablestream.cxx: |
|---|
| 141 |
- Turned private WriteRawLine() into public write_raw_line() |
|---|
| 142 |
- Now supports tablereader-to-tablewriter copying |
|---|
| 143 |
tools/pqxx-fulltest: |
|---|
| 144 |
- Starting postmaster again, but was still killing postgres |
|---|
| 145 |
2008-10-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 146 |
tools/pqxx-fulltest: |
|---|
| 147 |
- Went back to invoking postmaster for compatibility with older versions |
|---|
| 148 |
2008-10-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 149 |
include/pqxx/pipeline.hxx: |
|---|
| 150 |
- Removed warning; pipeline is stable now |
|---|
| 151 |
tools/pqxx-fulltest: |
|---|
| 152 |
- Sod testing against the 7.3 backend; too complicated for now |
|---|
| 153 |
2008-10-22 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 154 |
tools/pqxx-fulltest: |
|---|
| 155 |
- More tweaks to backend startup |
|---|
| 156 |
2008-10-21 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 157 |
tools/pqxx-fulltest: |
|---|
| 158 |
- Allow some time for database to be created |
|---|
| 159 |
- Run postgres instead of postmaster |
|---|
| 160 |
2008-10-16 Eugene V. Lyubimkin <jackyf.devel@gmail.com> |
|---|
| 161 |
include/pqxx/largeobject.hxx, test/unit/test_prepared_statement.cxx: |
|---|
| 162 |
- Fixed last g++ 4.3 warnings on 64-bit platforms. |
|---|
| 163 |
2008-10-16 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 164 |
include/pqxx/largeobject.hxx: |
|---|
| 165 |
- Fixed more g++ 4.3 warnings, thanks Eugene V. Lyubimkin |
|---|
| 166 |
2008-10-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 167 |
include/pqxx/largeobject.hxx, include/pqxx/result.hxx, test/test009.cxx, |
|---|
| 168 |
test/test028.cxx: |
|---|
| 169 |
- Fixed g++ 4.3 warnings, thanks Eugene V. Lyubimkin |
|---|
| 170 |
2008-10-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 171 |
README-UPGRADE: |
|---|
| 172 |
- Updated for 3.0. |
|---|
| 173 |
src/util.cxx: |
|---|
| 174 |
- Preserve slightly more precision in floats, thanks Kirit Saelensminde |
|---|
| 175 |
test/test005.cxx: |
|---|
| 176 |
- Removed use of "IF EXISTS" in DROP TABLE (older backends don't have it) |
|---|
| 177 |
test/test_main.hxx: |
|---|
| 178 |
- Test runner no longer considers "unsupported feature" a test failure |
|---|
| 179 |
test/unit/test_sql_cursor.cxx: |
|---|
| 180 |
- Fixed test failure on old backends that need test workaround |
|---|
| 181 |
2008-10-11 Eugene V. Lyubimkin <jackyf.devel@gmail.com> |
|---|
| 182 |
debian/libpqxx*, debian/rules, debian/compat, debian/control, |
|---|
| 183 |
debian/watch: |
|---|
| 184 |
- Significantly reworked to make ready for upcoming 3.0.0 release. |
|---|
| 185 |
debian/Makefile.am: |
|---|
| 186 |
- Corrected to let 'make deb' working. |
|---|
| 187 |
2008-10-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 188 |
include/pqxx/prepared_statement.hxx: |
|---|
| 189 |
- Made treat_direct the default, thanks maho at pagema net |
|---|
| 190 |
test/test062.cxx: |
|---|
| 191 |
- Made it easier to diagnose a test failure, maybe even solved it |
|---|
| 192 |
2008-10-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 193 |
configitems, config/sample-headers/libpq/8.*/pqxx/config-internal-libpq.h, |
|---|
| 194 |
configure.ac.in: |
|---|
| 195 |
- Check for PQcancel() (and friends, PQgetCancel() and PQfreeCancel()) |
|---|
| 196 |
include/pqxx/connection_base.hxx, include/pqxx/pipeline.hxx, |
|---|
| 197 |
src/connection_base.cxx, src/pipeline.cxx, test/unit/test_pipeline.cxx: |
|---|
| 198 |
- Implemented pipeline::cancel_query() |
|---|
| 199 |
2008-10-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 200 |
src/largeobject.cxx, src/pipeline.cxx, src/prepared_statement.cxx, |
|---|
| 201 |
src/result.cxx, src/util.cxx: |
|---|
| 202 |
- Fixed gcc 4.3 warnings (I hope), thanks Eugene V. Lyubimkin |
|---|
| 203 |
2008-09-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 204 |
test/Makefile.am.template, test/runner.cxx, test/test/helpers.hxx, |
|---|
| 205 |
test/test_main.hxx, test/unit/runner.cxx: |
|---|
| 206 |
- Moved test runners' main() into a header of its own; not a macro anymore |
|---|
| 207 |
- Test runners check for failure |
|---|
| 208 |
2008-09-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 209 |
src/connection_base.cxx: |
|---|
| 210 |
- Fixed compile warning on poll(), thanks Eugene V. Lyubimkin |
|---|
| 211 |
2008-09-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 212 |
config/sampledata/*: |
|---|
| 213 |
- Moved all sample headers into "pqxx" subdirectories |
|---|
| 214 |
- No longer need to copy headers, thanks Kirit Saelensminde |
|---|
| 215 |
include/pqxx/util.hxx: |
|---|
| 216 |
- Simplified default_null, eliminated warning; thanks Kirit Saelensminde |
|---|
| 217 |
src/connection_base.cxx: |
|---|
| 218 |
- Suppressed stupid Visual C++ warnings, thanks Kirit Saelensminde |
|---|
| 219 |
2008-09-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 220 |
include/pqxx/except.hxx, src/result.cxx: |
|---|
| 221 |
- PL/pgSQL exceptions, thanks Michal Jankowsk |
|---|
| 222 |
2008-08-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 223 |
include/pqxx/connection_base.hxx, test/test085.cxx, |
|---|
| 224 |
test/unit/test_prepared_statement.cxx: |
|---|
| 225 |
- Re-branded test085 as a unit test |
|---|
| 226 |
include/pqxx/transaction_base.hxx, sr/transaction_base.cxx: |
|---|
| 227 |
- New function activate() for explicit bracketing |
|---|
| 228 |
- Activate before executing prepared statement, thanks qelo |
|---|
| 229 |
2008-08-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 230 |
include/pqxx/compiler-public.hxx: |
|---|
| 231 |
- Apply PQXX_AUTOLINK to static link as well, thanks Kirit |
|---|
| 232 |
2008-08-25 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 233 |
include/pqxx/connection_base.hxx: |
|---|
| 234 |
- Export encrypt_password, thanks boto |
|---|
| 235 |
2008-08-23 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 236 |
test/test_helpers.hxx: |
|---|
| 237 |
- Fixed nested template syntax, thanks Bjorn Munch |
|---|
| 238 |
2008-08-19 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 239 |
test/test000.cxx, test/test001.cxx, test/test002.cxx, test/test004.cxx, |
|---|
| 240 |
test/test006.cxx, test/test007.cxx, test/test020.cxx, test/test023.cxx, |
|---|
| 241 |
test/test075.cxx, test/test079.cxx, test/test084.cxx, test/test087.cxx, |
|---|
| 242 |
test/test089.cxx, test/test092.cxx, test/test094.cxx: |
|---|
| 243 |
- Replaced throws with test helpers. |
|---|
| 244 |
test/unit/test_sql_cursor.cxx: |
|---|
| 245 |
- Fixed test failure that only showed up on older gcc versions |
|---|
| 246 |
win32/vc-test.mak.template: |
|---|
| 247 |
- First stab at adjusting to new test configuration |
|---|
| 248 |
2008-08-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 249 |
test/Makefile.am.template, test/runner.cxx, test/test027.cxx, |
|---|
| 250 |
test/test028.cxx, test/test029.cxx, test/test039.cxx, test/test_helpers.hxx, |
|---|
| 251 |
test/unit/Makefile.am.template, test/unit/runner.cxx: |
|---|
| 252 |
- Missed some spots in converting to test framework |
|---|
| 253 |
- Run all tests in directory as single program! |
|---|
| 254 |
- Test build & run now 20% faster on my laptop |
|---|
| 255 |
- Should be easier to build tests with Visual C++'s stupid project files |
|---|
| 256 |
2008-08-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 257 |
test/test072.cxx, test/test073.cxx, test/test074.cxx, test/test075.cxx, |
|---|
| 258 |
test/test076.cxx, test/test077.cxx, test/test078.cxx, test/test079.cxx, |
|---|
| 259 |
test/test080.cxx, test/test082.cxx, test/test083.cxx, test/test084.cxx, |
|---|
| 260 |
test/test085.cxx, test/test086.cxx, test/test087.cxx, test/test088.cxx, |
|---|
| 261 |
test/test090.cxx, test/test092.cxx, test/test093.cxx, test/test094.cxx: |
|---|
| 262 |
- Converted to test framework |
|---|
| 263 |
- All tests done now! |
|---|
| 264 |
2008-08-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 265 |
test/test001.cxx, test/test013.cxx, test/test016.cxx, test/test017.cxx, |
|---|
| 266 |
test/test018.cxx, test/test020.cxx, test/test021.cxx, test/test023.cxx, |
|---|
| 267 |
test/test024.cxx, test/test025.cxx, test/test026.cxx, test/test030.cxx, |
|---|
| 268 |
test/test031.cxx, test/test032.cxx, test/test033.cxx, test/test034.cxx, |
|---|
| 269 |
test/test035.cxx, test/test036.cxx, test/test037.cxx, test/test038.cxx, |
|---|
| 270 |
test/test035.cxx, test/test046.cxx, test/test048.cxx, test/test049.cxx, |
|---|
| 271 |
test/test050.cxx, test/test051.cxx, test/test052.cxx, test/test053.cxx, |
|---|
| 272 |
test/test054.cxx, test/test055.cxx, test/test056.cxx, test/test057.cxx, |
|---|
| 273 |
test/test058.cxx, test/test059.cxx, test/test060.cxx, test/test061.cxx, |
|---|
| 274 |
test/test062.cxx, test/test063.cxx, test/test064.cxx, test/test065.cxx, |
|---|
| 275 |
test/test066.cxx, test/test067.cxx, test/test068.cxx, test/test069.cxx, |
|---|
| 276 |
test/test070.cxx, test/test071.cxx, test/test085.cxx, test/test088.cxx, |
|---|
| 277 |
test/test089.cxx, test/test090.cxx, test/test092.cxx, |
|---|
| 278 |
test/test_helpers.hxx, test/unit/test_test_helpers.cxx: |
|---|
| 279 |
- Converted lots more tests to test framework |
|---|
| 280 |
- Removed all asserts from tests |
|---|
| 281 |
- New test helper: boundary check |
|---|
| 282 |
- Removed non-encoded "text" output from test062. |
|---|
| 283 |
2008-08-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 284 |
test/test011.cxx, test/test012.cxx, test/test013.cxx, test/test014.cxx, |
|---|
| 285 |
test/test015.cxx, test/test016.cxx, test/test_helpers.hxx: |
|---|
| 286 |
- Converted to test framework |
|---|
| 287 |
- Replaced assertions with test helpers |
|---|
| 288 |
- Testing string conversions for result tuples & iterators |
|---|
| 289 |
- Simplified testing string conversion for result |
|---|
| 290 |
2008-08-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 291 |
include/pqxx/connection.hxx, src/connection.cxx: |
|---|
| 292 |
- Doc/comment update |
|---|
| 293 |
include/pqxx/util.hxx: |
|---|
| 294 |
- Fixed broken is_null for C-style strings |
|---|
| 295 |
test/test000.cxx, test/test001.cxx, test/test002.cxx, test/test004.cxx, |
|---|
| 296 |
test/test005.cxx, test/test006.cxx, test/test007.cxx, test/test008.cxx, |
|---|
| 297 |
test/test009.cxx, test/test010.cxx, test/test085.cxx, test/test090.cxx, |
|---|
| 298 |
test/test092.cxx, test/test_helpers.hxx, test/unit/test_escape.cxx, |
|---|
| 299 |
test/unit/test_pipeline.cxx, test/unit/test_simultaneous_transactions.cxx, |
|---|
| 300 |
test/unit/test_sql_cursor.cxx, test/unit/test_test_helpers.cxx: |
|---|
| 301 |
- New TestCase::run() so normal tests don't need pqxx::test::pqxxtest() |
|---|
| 302 |
- Rigged up test setup so it runs with nullconnection |
|---|
| 303 |
- Standard main() macro for tests, so later we can do all tests in 1 program |
|---|
| 304 |
- Improved PQXX_CHECK_THROWS |
|---|
| 305 |
- More thorough testing of test helpers |
|---|
| 306 |
2008-08-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 307 |
test/test000.cxx, test/test002.cxx, test/test004.cxx, test/test007.cxx, |
|---|
| 308 |
test/test085.cxx, test/test090.cxx, test/test092.cxx, test/test_helpers.hxx, |
|---|
| 309 |
test/unit/test_float.cxx, test/unit/test_pipeline.cxx, |
|---|
| 310 |
test/unit/test_sql_cursor.cxx, test/unit/test_stateless_cursor.cxx, |
|---|
| 311 |
test/unit/test_test_helpers.cxx: |
|---|
| 312 |
- Fixed PQXX_CHECK_THROWS ignoring std::exception-derived exceptions |
|---|
| 313 |
- Made PQXX_CHECK_* macros rely more on functions--less preprocessor magic |
|---|
| 314 |
- PQXX_CHECK_* macros consistently require semicolon at end of invocation |
|---|
| 315 |
- Fixed some signedness warnings in PQXX_CHECK_[NOT_]EQUAL invocations |
|---|
| 316 |
- Reused PQXX_CHECK_NOTREACHED to simplify PQXX_CHECK_THROWS |
|---|
| 317 |
2008-08-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 318 |
configure.ac.in: |
|---|
| 319 |
- Fixed ordering of library search, thanks Jorgen Austvik |
|---|
| 320 |
src/connection.cxx: |
|---|
| 321 |
- Fixed memory leak when connection fails, thanks Matthew Fanto |
|---|
| 322 |
test/test_helpers.hxx, test085.cxx: |
|---|
| 323 |
- Moved string_traits<result> into test helpers for reuse. |
|---|
| 324 |
test/test008.cxx, test/test009.cxx: |
|---|
| 325 |
- Converted to test framework. |
|---|
| 326 |
2008-08-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 327 |
test/test004.cxx, test/test005.cxx, test/test006.cxx, test/test007.cxx: |
|---|
| 328 |
- Converted to test framework. |
|---|
| 329 |
2008-08-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 330 |
test/test002.cxx: |
|---|
| 331 |
- Converted to test framework. |
|---|
| 332 |
2008-07-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 333 |
test/test085.cxx, test/test092.cxx: |
|---|
| 334 |
- Converted to test framework. |
|---|
| 335 |
test/test_helpers.hxx, test/unit/test_test_helpers.cxx: |
|---|
| 336 |
- PQXX_CHECK_THROWS() swallowed all std::exception throws! |
|---|
| 337 |
2008-07-25 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 338 |
src/connection_base.cxx: |
|---|
| 339 |
- Don't escape whitespace (which isn't always isprint()) |
|---|
| 340 |
- Closer match to what libpq's escaping functions seem to do |
|---|
| 341 |
test/test_helpers.hxx: |
|---|
| 342 |
- New "fail if you got here" macro |
|---|
| 343 |
- Check for bad_alloc as a special case |
|---|
| 344 |
test/test000.cxx, test/test001.cxx, test/test090.cxx, test/test092.cxx: |
|---|
| 345 |
- Use test helpers. Really helps! |
|---|
| 346 |
2008-07-23 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 347 |
include/pqxx/util.hxx, src/connection_base.cxx, src/util.cxx: |
|---|
| 348 |
- Retired old, unsafe escaping functions. |
|---|
| 349 |
- Moved last-ditch escaping workaround into only place it's used. |
|---|
| 350 |
- Made escape_param() safe where possible. |
|---|
| 351 |
- Moved explanation of SQL injection from util to connection. |
|---|
| 352 |
2008-07-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 353 |
config/sample-headers/compiler/gcc-4.2/config-internal-compiler.h, |
|---|
| 354 |
config/sample-headers/compiler/gcc-4.2/config-public-compiler.h, |
|---|
| 355 |
config/sample-headers/compiler/VisualC++.NET-2003/config-public-compiler.h: |
|---|
| 356 |
- Enable "long long" support. |
|---|
| 357 |
config/sample-headers/libpq/8.3/config-internal/libpq.h: |
|---|
| 358 |
- Added sample headers for more recent gcc and libpq. |
|---|
| 359 |
include/pqxx/compiler-public.h, win32/vc-libpqxx.mak.template: |
|---|
| 360 |
- New PQXX_AUTOLINK for Visual C++, thanks Kirit Saelensminde |
|---|
| 361 |
2008-07-18 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 362 |
configure.ac.in: |
|---|
| 363 |
- Removed -Wno-long-double; current gcc doesn't know it--thanks Roger Leigh |
|---|
| 364 |
include/pqxx/compiler-internal.hxx: |
|---|
| 365 |
- Sun Studio fix: use ptrdiff_t, not iterator_traits, thanks Jorgen Austvik |
|---|
| 366 |
- distance() workaround for Sun Studio was completely broken |
|---|
| 367 |
src/util.cxx: |
|---|
| 368 |
- Hopefully fixed gcc 4.3 warning, thanks Roger Leigh |
|---|
| 369 |
2008-07-17 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 370 |
include/pqxx/connection_base.hxx, include/pqxx/transaction_base.hxx, |
|---|
| 371 |
test/unit/test_escape.cxx: |
|---|
| 372 |
- New quote() function templates, using string_traits |
|---|
| 373 |
- New test |
|---|
| 374 |
include/pqxx/except.hxx, include/pqxx/util.hxx, src/util.cxx: |
|---|
| 375 |
- New exception type conversion_error |
|---|
| 376 |
- Added name() and has_null() to string_traits<> |
|---|
| 377 |
- Better error messages for null conversions |
|---|
| 378 |
test/unit/test_sql_cursor.cxx: |
|---|
| 379 |
- Simpler way of running multiple tests from one main() |
|---|
| 380 |
2008-06-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 381 |
include/pqxx/except.hxx, include/pqxx/result.hxx, src/connection_base.cxx, |
|---|
| 382 |
src/cursor.cxx, src/except.cxx, src/largeobject.cxx, src/result.cxx, |
|---|
| 383 |
src/robusttransaction.cxx, src/tablereader.cxx, src/transaction_base.cxx, |
|---|
| 384 |
src/util.cxx: |
|---|
| 385 |
- Throw pqxx_exception-derived exceptions instead of std ones, thanks yrs90. |
|---|
| 386 |
2008-06-26 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 387 |
include/pqxx/tablewriter.hxx: |
|---|
| 388 |
- Peephole optimization, thanks Daniel Frey. |
|---|
| 389 |
2008-06-22 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 390 |
test/unit/test_simultaneous_transactions.cxx: |
|---|
| 391 |
- Added test against being allowed to have two nontransactions open. |
|---|
| 392 |
2008-06-21 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 393 |
include/pqxx/compiler-internal.hxx, src/pipeline.cxx, test/test085.cxx: |
|---|
| 394 |
- Re-did workaround for missing std::distance() in safer way. |
|---|
| 395 |
2008-06-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 396 |
autogen.sh: |
|---|
| 397 |
- Don't force LC_ALL=C; breaks on Solaris, thanks Bjorn Munch & Geir Green. |
|---|
| 398 |
2008-06-18 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 399 |
include/pqxx/result.hxx: |
|---|
| 400 |
- Make streaming operator act on basic_ostream, thanks Richard B. Kreckel |
|---|
| 401 |
- Should resolve ambiguity error, sorry Carlos Moreno! |
|---|
| 402 |
2008-06-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 403 |
include/pqxx.pipeline.hxx, src/pipeline.cxx: |
|---|
| 404 |
- Auto-detach after complete() or flush(). |
|---|
| 405 |
test/unit/Makefile.am.template: |
|---|
| 406 |
- Added new pipeline unit test. |
|---|
| 407 |
test/unit/test_pipeline.cxx: |
|---|
| 408 |
- Added |
|---|
| 409 |
- Test detaching of pipeline after complete() or flush(). |
|---|
| 410 |
2008-06-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 411 |
include/pqxx/basic_connection, include/pqxx/basic_connection.hxx, |
|---|
| 412 |
include/pqxx/binarystring, include/pqxx/binarystring.hxx, |
|---|
| 413 |
include/pqxx/connection, include/pqxx/connection.hxx, |
|---|
| 414 |
include/pqxx/connection_base, include/pqxx/connection_base.hxx, |
|---|
| 415 |
include/pqxx/connectionpolicy, include/pqxx/connectionpolicy.hxx, |
|---|
| 416 |
include/pqxx/cursor, include/pqxx/cursor.hxx, |
|---|
| 417 |
include/pqq/dbtransaction, include/pqq/dbtransaction.hxx, |
|---|
| 418 |
include/pqxx/except, include/pqxx/except.hxx, include/pqxx/isolation, |
|---|
| 419 |
include/pqxx/isolation.hxx, include/pqxx/largeobject, |
|---|
| 420 |
include/pqxx/largeobject.hxx, include/pqxx/nontransaction, |
|---|
| 421 |
include/pqxx/nontransaction.hxx, include/pqxx/notify-listen, |
|---|
| 422 |
include/pqxx/notify-listen.hxx, include/pqxx/pipeline, |
|---|
| 423 |
include/pqxx/pipeline.hxx, include/pqxx/prepared_statement, |
|---|
| 424 |
include/pqxx/prepared_statement.hxx, include/pqxx/result, |
|---|
| 425 |
include/pqxx/result.hxx, include/pqxx/robusttransaction, |
|---|
| 426 |
include/pqxx/robusttransaction.hxx, include/pqxx/subtransaction, |
|---|
| 427 |
include/pqxx/subtransaction.hxx, include/pqxx/tablereader, |
|---|
| 428 |
include/pqxx/tablereader.hxx, include/pqxx/tablestream, |
|---|
| 429 |
include/pqxx/tablestream.hxx, include/pqxx/tablewriter, |
|---|
| 430 |
include/pqxx/tablewriter.hxx, include/pqxx/transaction, |
|---|
| 431 |
include/pqxx/transaction.hxx, include/pqxx/transaction_base, |
|---|
| 432 |
include/pqxx/transaction_base.hxx, include/pqxx/transaction, |
|---|
| 433 |
include/pqxx/transaction.hxx, include/pqxx/transactor, |
|---|
| 434 |
include/pqxx/transactor.hxx, include/pqxx/trigger, include/pqxx/trigger.hxx, |
|---|
| 435 |
include/pqxx/util, include/pqxx/util.hxx: |
|---|
| 436 |
- Moved double-inclusion check from <pqxx/foo> to <pqxx/foo.hxx>. |
|---|
| 437 |
- Made header-guard #defines more recognizable. |
|---|
| 438 |
include/pqxx/result.h: |
|---|
| 439 |
- Removed (was still from 1.0 API). |
|---|
| 440 |
2008-06-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 441 |
include/pqxx/basic_connection.hxx: |
|---|
| 442 |
- Typo in documentation. |
|---|
| 443 |
2008-06-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 444 |
include/pqxx/util.hxx, src/util.cxx: |
|---|
| 445 |
- Clean up from_string null checking (Daniel Frey) |
|---|
| 446 |
- Other minor cleanups (Daniel Frey) |
|---|
| 447 |
- Broke some overlong lines |
|---|
| 448 |
2008-06-06 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 449 |
configitems, configure.ac.in, src/pipeline.cxx, test/test085.cxx: |
|---|
| 450 |
- Workaround for missing distance() in Sun compiler. |
|---|
| 451 |
2008-05-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 452 |
src/connection_base.cxx, src/pipeline.cxx: |
|---|
| 453 |
- Fixes for Sun Studio, thanks jgilje. |
|---|
| 454 |
2008-05-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 455 |
autogen.sh: |
|---|
| 456 |
- Fixed bug in replacing GNU-ism in sed. |
|---|
| 457 |
2008-05-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 458 |
autogen.sh: |
|---|
| 459 |
- Removed some GNU-isms. |
|---|
| 460 |
configure.ac.in, src/util.cxx, test/test_helpers.hxx, |
|---|
| 461 |
test/unit/test_float.cxx: |
|---|
| 462 |
- Support floating-point infinity. |
|---|
| 463 |
- Added PQXX_CHEC_NOT_EQUAL to test helpers. |
|---|
| 464 |
- Fixed mis-spelled macro in is_NaN() |
|---|
| 465 |
include/pqxx/compiler-public.hxx: |
|---|
| 466 |
- Defined PQXX_PRIVATE for SunPro compiler. |
|---|
| 467 |
include/pqxx/util.hxx, src/util.cxx: |
|---|
| 468 |
- Moved builtin to_string and from_string specializations into traits class. |
|---|
| 469 |
2008-05-26 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 470 |
include/pqxx/prepared_statement.hxx, include/pqxx/result.hxx, |
|---|
| 471 |
include/pqxx/util.hxx: |
|---|
| 472 |
- Handle nulls in string conversions using traits, thanks Daniel Frey |
|---|
| 473 |
src/util.cxx: |
|---|
| 474 |
- Use numeric_limits to get infinity, if possible. Thanks Andrew. |
|---|
| 475 |
2008-05-25 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 476 |
include/pqxx/compiler-public.hxx, include/pqxx/connection_base.hxx, |
|---|
| 477 |
include/pqxx/dbtransaction.hxx, include/pqxx/except.hxx, |
|---|
| 478 |
include/pqxx/notify-listen.hxx, include/pqxx/robusttransaction.hxx, |
|---|
| 479 |
include/pqxx/tablestream.hxx, include/pqxx/transaction_base.hxx: |
|---|
| 480 |
- Suppress vtables for abstract classes on Visual C++, thanks Kirit. |
|---|
| 481 |
2008-05-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 482 |
include/pqxx/transaction_base.hxx, src/connection_base.cxx, src/pipeline.cxx: |
|---|
| 483 |
- Check for errors during PQconsumeInput() |
|---|
| 484 |
- Fixed "endless network timeout." Thanks Dragomir Ivanov! |
|---|
| 485 |
- transaction_base::consume_input() now returns success value. |
|---|
| 486 |
2008-05-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 487 |
include/pqxx/util.hxx: |
|---|
| 488 |
- Changed fix for Visual C++ warning (was bad overload). |
|---|
| 489 |
2008-05-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 490 |
include/pqxx/util.hxx, src/connection_base.cxx, src/pipeline.cxx, |
|---|
| 491 |
src/prepared_statement.cxx, src/util.cxx: |
|---|
| 492 |
- Fixes for Visual C++ 8 warnings (correct ones)--thanks Kirit Saelensminde |
|---|
| 493 |
2008-04-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 494 |
tools/pqxx-fulltest: |
|---|
| 495 |
- Also look for compilers in /usr/local/bin |
|---|
| 496 |
2008-04-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 497 |
include/pqxx/util.hxx, src/binarystring.cxx, src/connection_base.cxx, |
|---|
| 498 |
src/cursor.cxx, src/pipeline.cxx, src/tablereader.cxx, src/util.cxx: |
|---|
| 499 |
- Fixed warnings in g++ 4.3 |
|---|
| 500 |
2008-04-17 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 501 |
test/unit/test_stateless_cursor.cxx: |
|---|
| 502 |
- Test most likely usage pattern: batched sequential retrieval |
|---|
| 503 |
2008-04-16 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 504 |
doc/Doxyfile.in: |
|---|
| 505 |
- Removed some unused options to improve Doxygen version compatibility |
|---|
| 506 |
src/robusttransaction.cxx: |
|---|
| 507 |
- Log failures while creating log table |
|---|
| 508 |
2008-04-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 509 |
include/pqxx/cursor.hxx, src/cursor.cxx: |
|---|
| 510 |
- Removed fetch_current_row() (it was odd, and hard to guarantee) |
|---|
| 511 |
test/unit/test_sql_cursor.cxx: |
|---|
| 512 |
- Test cursor existence using FETCH, not MOVE (to make failure more likely) |
|---|
| 513 |
- On older backends, test for cursor existence differently |
|---|
| 514 |
- Re-create series table when opening new transaction |
|---|
| 515 |
- WITH HOLD cursors require backend 7.4 or better |
|---|
| 516 |
2008-04-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 517 |
src/cursor.cxx: |
|---|
| 518 |
- Made init_empty_result() conditional on backend version |
|---|
| 519 |
test/test_helpers.hxx, test/unit/test_stateless_cursor.cxx, |
|---|
| 520 |
test/unit/test_sql_cursor.cxx: |
|---|
| 521 |
- Workaround for pre-8.0 backends, which lack generate_series() |
|---|
| 522 |
include/pqxx/transaction.hxx: |
|---|
| 523 |
- Cosmetic |
|---|
| 524 |
2008-04-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 525 |
doc/Doxyfile.in: |
|---|
| 526 |
- Upgraded from Doxygen 1.4.6 to 1.5.5. |
|---|
| 527 |
2008-04-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 528 |
include/pqxx/cachedresult.h, include/pqxx/cursor.h, src/oldcursor.cxx, |
|---|
| 529 |
test/src/cachedresult.cxx, test/test040.cxx, test/test041.cxx, |
|---|
| 530 |
test/test044.cxx, test/test047.cxx: |
|---|
| 531 |
- Deleted |
|---|
| 532 |
- Removed cachedresult and old Cursor classes |
|---|
| 533 |
include/Makefile.am, src/Makefile.am: |
|---|
| 534 |
- Retiring old *.h files and old cursor/cachedresult classes |
|---|
| 535 |
include/pqxx/cursor.hxx: |
|---|
| 536 |
- Made cursor_base::m_name const |
|---|
| 537 |
include/pqxx/nontransaction.h, include/pqxx/robusttransaction.h: |
|---|
| 538 |
- Deleted |
|---|
| 539 |
- Retired 1.x-style "*.h" headers |
|---|
| 540 |
2008-04-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 541 |
tools/pqxx-fulltest: |
|---|
| 542 |
- Create some directories on demand |
|---|
| 543 |
- Run under bash, not /bin/sh (pushd/popd are bash-specific) |
|---|
| 544 |
- Default to default postgres FTP server, not mirror.in.th |
|---|
| 545 |
- Make SVNURL overridable |
|---|
| 546 |
2008-04-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 547 |
autogen.sh, configure.ac.in, test/Makefile.am.template, |
|---|
| 548 |
test/test_helpers.hxx, test/unit/, test/unit/Makefile.am.template, |
|---|
| 549 |
test/unit/test_sql_cursor.cxx, test/unit/test_stateless_cursor.cxx, |
|---|
| 550 |
test/test_test_helpers.css: |
|---|
| 551 |
- New test framework for less verbose tests |
|---|
| 552 |
- Proper unit tests |
|---|
| 553 |
include/pqxx/cursor.hxx, include/pqxx/result.hxx, |
|---|
| 554 |
include/pqxx/transaction_base.hxx, src/cursor.cxx, test/Makefile.am.template, |
|---|
| 555 |
test/test050.cxx, test/test084.cxx: |
|---|
| 556 |
- Made sql_cursor "internal" |
|---|
| 557 |
- New stateless_cursor: better API, fewer bugs, smaller code |
|---|
| 558 |
- Made cursor_base entirely stateless |
|---|
| 559 |
include/pqxx/connection_base.hxx: |
|---|
| 560 |
- Documentation fix |
|---|
| 561 |
src/connection_base.cxx: |
|---|
| 562 |
- Cosmetic |
|---|
| 563 |
src/util.cxx: |
|---|
| 564 |
- Infinity support |
|---|
| 565 |
test/test003.cxx, test/test019.cxx, test/test022.cxx, test/test038.cxx, |
|---|
| 566 |
test/test042.cxx, test/test043.cxx, test/test045.cxx, test081.cxx, |
|---|
| 567 |
test/test091.cxx: |
|---|
| 568 |
- Removed tests for old cursor classes |
|---|
| 569 |
2008-02-05 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 570 |
include/pqxx/cursor.hxx: |
|---|
| 571 |
- <limits> fix for gcc 3.4, thanks Richard B. Kreckel |
|---|
| 572 |
2008-01-23 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 573 |
include/pqxx/transaction_base.hxx: |
|---|
| 574 |
- Let cursor_base access m_reactivation_avoidance, thanks Richard B. Kreckel |
|---|
| 575 |
2007-11-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 576 |
include/pqxx/except.hxx, src/result.cxx: |
|---|
| 577 |
- More detailed constraint error classes, thanks Peter Geoghegan |
|---|
| 578 |
2007-10-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 579 |
doc/libpqxx.xml: |
|---|
| 580 |
- Made the way result objects work clearer, thanks Carlos Moreno |
|---|
| 581 |
2007-09-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 582 |
src/cursor.cxx, src/transaction_base.cxx, test/test003.cxx, test/test011.cxx, |
|---|
| 583 |
test/test022.cxx, test/test030.cxx, test/test092.cxx: |
|---|
| 584 |
- Added <cstring> and <cstdlib> includes where missing, thanks Roger Leigh |
|---|
| 585 |
2007-09-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 586 |
src/binarystring.cxx, src/connection_base.cxx, src/result.cxx: |
|---|
| 587 |
- Added <cstring> include |
|---|
| 588 |
2007-09-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 589 |
include/pqxx/connection_base.hxx: |
|---|
| 590 |
- Made esc() and esc_raw() public |
|---|
| 591 |
2007-08-30 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 592 |
configure.ac.in: |
|---|
| 593 |
- Check for PQdescribePortal() |
|---|
| 594 |
2007-08-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 595 |
test/test088.cxx: |
|---|
| 596 |
- Test error handling in subtransactions, thanks Bert Hubert |
|---|
| 597 |
2007-08-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 598 |
win32/INSTALL.txt: |
|---|
| 599 |
- Solution to application link problems, thanks Peter Geoghegan |
|---|
| 600 |
2007-08-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 601 |
src/util.cxx: |
|---|
| 602 |
- Guess float precision if no numeric_limits, thanks Denis Dzyubenko |
|---|
| 603 |
win32/INSTALL.txt: |
|---|
| 604 |
- Yet more clarificatin, thanks Peter Geoghegan |
|---|
| 605 |
2007-08-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 606 |
src/util.cxx: |
|---|
| 607 |
- Convert float types with full precision, thanks Denis Dzyubenko |
|---|
| 608 |
win32/INSTALL.txt: |
|---|
| 609 |
- Don't use same libpq for debug and release, thanks Peter Geoghegan |
|---|
| 610 |
2007-08-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 611 |
win32/INSTALL.txt: |
|---|
| 612 |
- Made the bit about copying config headers a bit clearer. |
|---|
| 613 |
2007-07-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 614 |
include/pqxx/cursor.hxx, src/cursor.cxx, test/test043.cxx: |
|---|
| 615 |
- Use difference_type instead of size_type to indicate positions |
|---|
| 616 |
2007-07-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 617 |
README: |
|---|
| 618 |
- Documented PGPASSWORD, thanks Andrew Maclean |
|---|
| 619 |
- Documented how to set environment variables, thanks Andrew Maclean |
|---|
| 620 |
src/tablewriter.cxx: |
|---|
| 621 |
- Double-escape binary data, thanks Peter Schuller |
|---|
| 622 |
win32/INSTALL.txt: |
|---|
| 623 |
- Documented how to create Windows makefiles, thanks Andrew Maclean |
|---|
| 624 |
2007-07-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 625 |
src/tablewriter.cxx: |
|---|
| 626 |
- Fix for escaping binary data in COPY mode, thanks Peter Schuller |
|---|
| 627 |
2007-07-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 628 |
include/pqxx/prepared_statement.hxx: |
|---|
| 629 |
- Exported prepared_def, thanks Daniel Frey |
|---|
| 630 |
2007-06-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 631 |
include/pqxx/trigger.hxx: |
|---|
| 632 |
- Fixed wrong doxygen tag |
|---|
| 633 |
2007-06-06 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 634 |
include/Makefile.am: |
|---|
| 635 |
- Added notify-listen headers |
|---|
| 636 |
tools/preprelease: |
|---|
| 637 |
- Print errors to stderr |
|---|
| 638 |
2007-06-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 639 |
include/pqxx/util.hxx, libpqxx.spec.in, NEWS, README: |
|---|
| 640 |
- The thaiopensource.org hostname no longer works; it's now pqxx.org |
|---|
| 641 |
2007-05-30 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 642 |
include/pqxx/cursor.hxx: |
|---|
| 643 |
- Fixed some raw HTML that was showing up wrong in docs, thanks Trigve Siver |
|---|
| 644 |
2007-05-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 645 |
configure.ac.in: |
|---|
| 646 |
- Added some warning options for g++ 4.2.0 |
|---|
| 647 |
doc/libpqxx.xml, include/pqxx/connection_base.hxx, include/pqxx/pqx, |
|---|
| 648 |
src/connection_base.cxx, test/test004.cxx, test/test023.cxx, |
|---|
| 649 |
test/test078.cxx, test/test079.cxx, test/test087.cxx: |
|---|
| 650 |
- Renamed trigger to notify_listener |
|---|
| 651 |
include/pqxx/notify-listen, include/pqxx/notify-listen.hxx: |
|---|
| 652 |
- New |
|---|
| 653 |
include/pqxx/trigger, include/pqxx/trigger.hxx: |
|---|
| 654 |
- Marked as obsolete |
|---|
| 655 |
VERSION: |
|---|
| 656 |
- Proceeding to 3.0.0 |
|---|
| 657 |
2007-05-17 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 658 |
include/pqxx/connection_base.hxx, include/pqxx/transaction_base.hxx: |
|---|
| 659 |
- More explanation, particularly on exceptions. Thanks Gary Jefferson. |
|---|
| 660 |
2007-05-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 661 |
src/connection.cxx: |
|---|
| 662 |
- Pass on more error messages in broken_connection exceptions, thanks JuJu |
|---|
| 663 |
2007-05-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 664 |
src/connection_base.cxx: |
|---|
| 665 |
- Removed unnecessary retrieval of error message, thanks JuJu |
|---|
| 666 |
- Moved code around a bit |
|---|
| 667 |
2007-05-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 668 |
include/pqxx/compiler-public.hxx, win32/INSTALL.txt: |
|---|
| 669 |
- Define PQXX_PQ_STATIC to link to static libpq in Windows. Thanks JuJu. |
|---|
| 670 |
2007-05-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 671 |
src/robusttransaction.cxx: |
|---|
| 672 |
- Fixed constraint name clash in multi-user use, thanks anonymous |
|---|
| 673 |
test/test092.cxx: |
|---|
| 674 |
- Test "one parameter per line" style of invoking prepared statements |
|---|
| 675 |
2007-04-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 676 |
include/pqxx/prepared_statement.hxx: |
|---|
| 677 |
- m_statement shouldn't be a reference, thanks John Mudd |
|---|
| 678 |
2007-04-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 679 |
src/result.cxx: |
|---|
| 680 |
- Missing include: cstdlib, thanks Martin Michlmayr |
|---|
| 681 |
2007-03-06 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 682 |
include/pqxx/tablewriter.hxx: |
|---|
| 683 |
- A bit more explanation about column lists |
|---|
| 684 |
2007-02-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 685 |
src/connection_base.cxx: |
|---|
| 686 |
- Compile fix for libpq without PQserverVersion() |
|---|
| 687 |
2007-02-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 688 |
win32/common-sample, win32/vc-libpqxx.mak.template: |
|---|
| 689 |
- Removed quotes to fix problems with spaces, thanks Curran Schiefelbein |
|---|
| 690 |
- Thanks Bart Samwel for confirming |
|---|
| 691 |
2007-02-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 692 |
configitems, configure.ac.in: |
|---|
| 693 |
- Check for PQclientEncoding() |
|---|
| 694 |
- Check for PQmblen() |
|---|
| 695 |
include/pqxx/connection_base.hxx, include/pqxx/result.hxx, |
|---|
| 696 |
src/connection_base.cxx, src/cursor.cxx, src/pipeline.cxx, src/result.cxx, |
|---|
| 697 |
src/tablereader.cxx: |
|---|
| 698 |
- Keep track of client encoding in connections and results |
|---|
| 699 |
src/util.cxx: |
|---|
| 700 |
- Oops: strlcpy() is supposed to return something |
|---|
| 701 |
include/pqxx/transaction.hxx, include/pqxx/trigger.hxx, src/tablewriter.cxx: |
|---|
| 702 |
- Updated copyright notices |
|---|
| 703 |
2007-02-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 704 |
configitems, configure.ac.in, src/util.cxx: |
|---|
| 705 |
- Use strlcpy() instead of strncpy() where available |
|---|
| 706 |
2007-02-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 707 |
include/pqxx/result.hxx: |
|---|
| 708 |
- freemem_result_data() needs PQXX_LIBEXPORT, thanks drankevich@cosmostv.by |
|---|
| 709 |
tools/pqxx-fulltest: |
|---|
| 710 |
- Use pqxx.org instead of full thaiopensource.org URL |
|---|
| 711 |
- Ensure that local postgres instance is private |
|---|
| 712 |
win32/vc-libpqxx.mak.template: |
|---|
| 713 |
- Replaced obsolete /GZ option with /RTC1, thanks Trigve Siver |
|---|
| 714 |
2007-02-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 715 |
include/pqxx/robusttransaction.hxx, include/pqxx/transaction.hxx, |
|---|
| 716 |
include/pqxx/trigger.hxx, src/tablereader.cxx, src/tablewriter.cxx: |
|---|
| 717 |
- disable_noticer incorrectly qualified as internal::, thanks Trigve Siver |
|---|
| 718 |
include/pqxx/compiler-internal-pre.hxx: |
|---|
| 719 |
- Suppress warning that strncpy() "may be" unsafe, thanks Trigve Siver |
|---|
| 720 |
win32/vc-libpqxx.mak.template: |
|---|
| 721 |
- Always create lib directory, thanks Trigve Siver |
|---|
| 722 |
- Replace obsolete /GX compiler option with /EHsc, thanks Trigve Siver |
|---|
| 723 |
2007-01-30 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 724 |
include/pqxx/except.hxx, src/except.cxx, test/test000.cxx: |
|---|
| 725 |
- New mixin base class pqxx_exception, thanks Marcel Loose |
|---|
| 726 |
VERSION: |
|---|
| 727 |
- Bumped to 2.6.10 |
|---|
| 728 |
2007-01-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 729 |
test/test010.cxx: |
|---|
| 730 |
- Work around gcc bug with -fprofile-arcs in string initializer |
|---|
| 731 |
tools/pqxx-fulltest: |
|---|
| 732 |
- Allow FTPSERVER and FTPDIR to be overridden |
|---|
| 733 |
- Keep log of postgres builds--may require packages to be installed |
|---|
| 734 |
2007-01-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 735 |
include/pqxx/connection_base.hxx, test/test000.cxx: |
|---|
| 736 |
- Test password encryption |
|---|
| 737 |
include/pqxx/cursor.hxx, test/test003.cxx: |
|---|
| 738 |
- Test cursor_base::close() |
|---|
| 739 |
- Made cursor fetch()/move() functions pure-virtual |
|---|
| 740 |
- Full test coverage |
|---|
| 741 |
2007-01-05 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 742 |
test/test085.cxx: |
|---|
| 743 |
- Skip if backend version does not support prepared statements |
|---|
| 744 |
- Work around syntax error with prepared-statement parameters on 7.3 backend |
|---|
| 745 |
test/test091.cxx: |
|---|
| 746 |
- "Inert cursor" problem is fixed in backend 7.4, not 7.3. |
|---|
| 747 |
tools/maketemporary, tools/pqxx-fulltest, tools/preprelease: |
|---|
| 748 |
- Made "export" usage compatible with more shells |
|---|
| 749 |
- export TMPDIR |
|---|
| 750 |
- Skip documentation builds after the very first build |
|---|
| 751 |
2007-01-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 752 |
include/pqxx/connection_base.hxx, src/connection_base.cxx: |
|---|
| 753 |
- Added simulate_failure() for testing, thanks Joshua Moore-Oliva |
|---|
| 754 |
test/test094.cxx: |
|---|
| 755 |
- New |
|---|
| 756 |
- Tests transactor in-doubt handling, thanks Joshua Moore-Oliva |
|---|
| 757 |
tools/pqxx-fulltest: |
|---|
| 758 |
- Set TMPDIR to test directory to keep /tmp clean |
|---|
| 759 |
tools/preprelease: |
|---|
| 760 |
- Can leave its files in other places than /tmp (set by TMPDIR variable) |
|---|
| 761 |
2007-01-03 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 762 |
include/pqxx/connection_base.hxx, src/connection_base.cxx: |
|---|
| 763 |
- Eliminated unnecessary check_result() |
|---|
| 764 |
- Exec() cached protocol version across connection resets |
|---|
| 765 |
- PQprepare()/PQexecPrepared() only work with protocol 3.0 |
|---|
| 766 |
- Estimate server version if libpq doesn't have PQserverVersion() |
|---|
| 767 |
- Keep (estimated) server version in connection object |
|---|
| 768 |
src/result.cxx: |
|---|
| 769 |
- If result contains an error but has no PG_DIAG_SQLSTATE, throw sql_error |
|---|
| 770 |
test/test056.cxx: |
|---|
| 771 |
- Don't always get syntax_error even if we do have PQresultErrorField() |
|---|
| 772 |
2006-12-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 773 |
include/pqxx/transaction_base.hxx, src/transaction_base.cxx: |
|---|
| 774 |
- Just one version of exec(), taking const string references |
|---|
| 775 |
- May fix lifetime-of-temporaries bug (query string was dying early) |
|---|
| 776 |
2006-12-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 777 |
tools/pqxx-fulltest: |
|---|
| 778 |
- Print libpq/backend configurations to test logs |
|---|
| 779 |
2006-12-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 780 |
configitems, configure.ac.in, include/pqxx/connection_base.hxx, |
|---|
| 781 |
src/connection_base.cxx: |
|---|
| 782 |
- Support password encryption, thanks tometzky |
|---|
| 783 |
2006-12-18 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 784 |
tools/pqxx-fulltest: |
|---|
| 785 |
- Check for existence of /proc/cpuinfo before reading it |
|---|
| 786 |
- Set CONCURRENCY_LEVEL to 1 if no other value available |
|---|
| 787 |
2006-12-16 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 788 |
tools/splitconfig: |
|---|
| 789 |
- Blank lines before grep warnings (looks better in configure) |
|---|
| 790 |
- replaced "grepcode" variable with "GREPCODE" |
|---|
| 791 |
- Use "test -n" instead of "! test -z" |
|---|
| 792 |
2006-12-16 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 793 |
include/pqxx/cursor.hxx: |
|---|
| 794 |
- absolute_cursor is about ready for use |
|---|
| 795 |
include/pqxx/connection_base.hxx, src/connection_base.cxx: |
|---|
| 796 |
- Added capability cap_table_column |
|---|
| 797 |
- Warning about deactivated connections and supports() |
|---|
| 798 |
- Re-use server_version() and protocol_version() |
|---|
| 799 |
- Activate connection before checking prepared-statements capability |
|---|
| 800 |
- Don't use PQexecPrepared() with old backends |
|---|
| 801 |
src/cursor.cxx: |
|---|
| 802 |
- Activate connection before checking scroll capability |
|---|
| 803 |
test/test085.cxx, test/test091.cxx, test/test092.cxx, test/test093.cxx: |
|---|
| 804 |
- Skip test if essential backend features missing |
|---|
| 805 |
tools/pqxx-fulltest: |
|---|
| 806 |
- New |
|---|
| 807 |
- Tests across all available combinations of frontends and backends |
|---|
| 808 |
2006-12-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 809 |
include/pqxx/except.hxx, src/result.cxx: |
|---|
| 810 |
- New exception class: undefined_column |
|---|
| 811 |
- New exception class: undefined_function |
|---|
| 812 |
2006-12-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 813 |
include/pqxx/connection_base.hxx, include/pqxx/result.hxx, |
|---|
| 814 |
include/pqxx/util.hxx, src/connection_base.cxx, src/pipeline.cxx, |
|---|
| 815 |
src/result.cxx, src/util.cxx: |
|---|
| 816 |
- result::swap() didn't swap protocol fields |
|---|
| 817 |
- Keep shared result data (apart from PGresult) in new "shared_data" object |
|---|
| 818 |
- Early provision for thread synchronization in result |
|---|
| 819 |
- Results remember the queries that yielded them |
|---|
| 820 |
- result::CheckStatus() no longer takes argument (no longer need 2 versions) |
|---|
| 821 |
- Radically changed result class definition |
|---|
| 822 |
test/test070.cxx: |
|---|
| 823 |
- Test new result::query() |
|---|
| 824 |
2006-12-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 825 |
include/pqxx/connection_base.hxx, include/pqxx/except.hxx: |
|---|
| 826 |
- Documented SIGPIPE when connection breaks, thanks Leandro Lucarella |
|---|
| 827 |
- More grouping in connection documentation |
|---|
| 828 |
include/pqxx/connection.hxx: |
|---|
| 829 |
- Fleshed out "connections" documentation module |
|---|
| 830 |
test/test056.cxx: |
|---|
| 831 |
- Expected exception type is sql_error if PQresultErrorField() not available |
|---|
| 832 |
test/test091.cxx: |
|---|
| 833 |
- Don't test full cursor mobility on backend <= 7.3 (just wouldn't work) |
|---|
| 834 |
2006-11-30 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 835 |
autogen.sh: |
|---|
| 836 |
- Try for automake 1.9 |
|---|
| 837 |
- Minor cleanup |
|---|
| 838 |
test/test056.cxx, test/test091.cxx: |
|---|
| 839 |
- Fail with postgres/libpq 7.3 |
|---|
| 840 |
tools/preprelease: |
|---|
| 841 |
- Suppress a bit of unwanted output |
|---|
| 842 |
2006-10-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 843 |
src/connection_base.cxx: |
|---|
| 844 |
- Add trigger even if connection not open, thanks Markus Schmidleitner |
|---|
| 845 |
2006-10-23 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 846 |
include/pqxx/connection_base.hxx: |
|---|
| 847 |
- Published some more utility classes from pqxx::internal |
|---|
| 848 |
src/util.cxx: |
|---|
| 849 |
- Don't allocate 5n+1 bytes for escaping; 2n+1 really is enough |
|---|
| 850 |
test/test005.cxx, test/test013.cxx, test/test018.cxx, test/test032.cxx, |
|---|
| 851 |
test/test056.cxx, test/test060.cxx, test/test061.cxx, test/test064.cxx, |
|---|
| 852 |
test/test070.cxx, test/test072.cxx, test/test073.cxx, test/test083.cxx, |
|---|
| 853 |
test/test085.cxx, test/test086.cxx: |
|---|
| 854 |
- Suppress expected error output from notice processor |
|---|
| 855 |
- Correct typo: "existant" should be "existent" |
|---|
| 856 |
test/test089.cxx: |
|---|
| 857 |
- Account for different ways of detecting nested-transactions capability |
|---|
| 858 |
2006-10-18 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 859 |
include/pqxx/result.hxx: |
|---|
| 860 |
- Removed meaningless const in return type, thanks Jo Ellen Brandmeyer |
|---|
| 861 |
2006-10-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 862 |
test/test090.cxx: |
|---|
| 863 |
- Test esc_raw() as well as plain esc() |
|---|
| 864 |
- Test nul bytes only with esc_raw(), not with esc() |
|---|
| 865 |
2006-10-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 866 |
src/connection_base.cxx: |
|---|
| 867 |
- Fixed typo. How did this ever come through the regression test? |
|---|
| 868 |
- Fixed constness problem in esc_raw() for old libpq versions |
|---|
| 869 |
src/subtransaction.cxx: |
|---|
| 870 |
- If nested transactions not supported, throw feature_not_supported |
|---|
| 871 |
test/test093.cxx: |
|---|
| 872 |
- Work around missing PQftableCol() in older libpq versions |
|---|
| 873 |
2006-09-30 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 874 |
configure.ac.in, configitems, src/util.cxx, include/pqxx/util.hxx, |
|---|
| 875 |
test/test000.cxx: |
|---|
| 876 |
- Support "long long" and "unsigned long long" types |
|---|
| 877 |
- Redid from_string implementations as template |
|---|
| 878 |
2006-09-26 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 879 |
include/pqxx/cachedresult.h: |
|---|
| 880 |
- Include pqxx/result, not old pqxx/result.h |
|---|
| 881 |
test/test083.cxx |
|---|
| 882 |
- Fixed problem found by Visual Studio 8, thanks Xiaofeng Zhao |
|---|
| 883 |
2006-09-25 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 884 |
test/test085.cxx: |
|---|
| 885 |
- Fixed problem found by Visual Studio 8, thanks Xiaofeng Zhao |
|---|
| 886 |
2006-09-24 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 887 |
src/connection_base.cxx: |
|---|
| 888 |
- Fixed bug in removing trigger, thanks Xiaofeng Zhao and Bart Samwel |
|---|
| 889 |
2006-09-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 890 |
include/pqxx/cursor.hxx: |
|---|
| 891 |
- Convenience typedef abscursor for most common type of absolute_cursor |
|---|
| 892 |
test/test043.cxx: |
|---|
| 893 |
- Migrated from old Cursor to new absolute_cursor |
|---|
| 894 |
win32/INSTALL.txt |
|---|
| 895 |
- Need to run VCVARS32.BAT before building postgres as well as libpqxx |
|---|
| 896 |
- Thanks Bart Samwel and Jonathan Blitz |
|---|
| 897 |
2006-09-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 898 |
include/Makefile.am, include/pqxx/all.h, include/pqxx/connection.h, |
|---|
| 899 |
include/pqxx/connection_base.h, include/pqxx/connectionitf.h, |
|---|
| 900 |
include/pqxx/dbtransaction.h, include/pqxx/except.h, |
|---|
| 901 |
include/pqxx/isolation.h, include/pqxx/largeobject.h, |
|---|
| 902 |
include/pqxx/tablereader.h, include/pqxx/tablestream.h, |
|---|
| 903 |
include/pqxx/tablewriter.h, include/pqxx/transaction.h, |
|---|
| 904 |
include/pqxx/transaction_base.h, include/pqxx/transactionitf.h, |
|---|
| 905 |
include/pqxx/transactor.h, include/pqxx/trigger.h: |
|---|
| 906 |
- Retired old 1.x-style ".h" headers |
|---|
| 907 |
include/pqxx/result.hxx, include/pqxx/tablereader.hxx, |
|---|
| 908 |
include/pqxx/tablestream.hxx, include/pqxx/tablewriter.hxx: |
|---|
| 909 |
- Retired deprecated 1.x API functions |
|---|
| 910 |
include/pqxx/transaction_base.hxx, src/oldcursor.cxx, test/test041.cxx, |
|---|
| 911 |
src/cursor.cxx: |
|---|
| 912 |
- Forgot to quote cursor name in cursor_base::close() |
|---|
| 913 |
test/test043.cxx: |
|---|
| 914 |
- Retired deprecated 1.x API functions |
|---|
| 915 |
include/pqxx/transactor.hxx, test/test052.cxx, test/test054.cxx, |
|---|
| 916 |
test/test057.cxx: |
|---|
| 917 |
- Retired deprecated OnCommit() etc. callbacks |
|---|
| 918 |
include/pqxx/trigger.hxx: |
|---|
| 919 |
- Removed deprecated Name() function |
|---|
| 920 |
include/pqxx/util.hxx, src/utils.cxx, tools/rmlo.cxx: |
|---|
| 921 |
- Removed 1.x ToString(), FromString(), and Quote() functions |
|---|
| 922 |
2006-09-12 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 923 |
configitems, configure.ac.in, config/sample-headers/libpq/*/libpq-internal.h: |
|---|
| 924 |
- Check for PQftablecol() |
|---|
| 925 |
include/pqxx/result.cxx, src/result.cxx, src/connection_base.cxx: |
|---|
| 926 |
- Removed private assignment-to-PGresult * operator |
|---|
| 927 |
- Results can keep track of backend protocol |
|---|
| 928 |
test/test093.cxx: |
|---|
| 929 |
- New |
|---|
| 930 |
- Test querying of table columns' origins |
|---|
| 931 |
TODO: |
|---|
| 932 |
- Cleaned up old items |
|---|
| 933 |
- Being phased out in favour of online Trac environment |
|---|
| 934 |
win32/vc-libpqxx.mak.template: |
|---|
| 935 |
- Create $(OUTDIR) if needed, thanks xf10036@hotmail.com |
|---|
| 936 |
2006-09-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 937 |
include/pqxx/connection_base.hxx, src/connection_base.cxx, test/test085.cxx: |
|---|
| 938 |
- New function prepare_now(), thanks theo@crazygreek.co.uk |
|---|
| 939 |
2006-09-07 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 940 |
README: |
|---|
| 941 |
- Removed old pqxx.tk URL |
|---|
| 942 |
src/connection_base.cxx: |
|---|
| 943 |
- Forgot to check result of PQprepare(), thanks theo@crazygreek.co.uk |
|---|
| 944 |
2006-08-31 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 945 |
include/pqxx/cursor.hxx, src/cursor.cxx, test/test091.cxx: |
|---|
| 946 |
- Got absolute_cursor working, I think |
|---|
| 947 |
- Fixed infinite recursions on fetch() and move() |
|---|
| 948 |
- Extra two-argument move_to() |
|---|
| 949 |
- Test didn't account for "end()" element |
|---|
| 950 |
include/pqxx/util.hxx, src/util.cxx: |
|---|
| 951 |
- Factored reference-counting out of PQAlloc |
|---|
| 952 |
*: |
|---|
| 953 |
- Whitespace cleanup: spaces before tab |
|---|
| 954 |
- Whitespace cleanup: whitespace before end-of-line |
|---|
| 955 |
2006-08-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 956 |
include/pqxx/connection_base.hxx, include/pqxx/transaction_base.hxx, |
|---|
| 957 |
include/pqxx/util.hxx, src/connection_base.cxx, src/prepared_statement.cxx, |
|---|
| 958 |
src/transaction_base.cxx, src/util.cxx: |
|---|
| 959 |
- Binary args to prepared statements got truncated at 0! Thanks Lumir Vanek |
|---|
| 960 |
- New from_string<>() with length argument |
|---|
| 961 |
include/pqxx/pqxx: |
|---|
| 962 |
- Also include binarystring |
|---|
| 963 |
include/pqxx/result.hxx: |
|---|
| 964 |
- Use new from_string() for strings |
|---|
| 965 |
- No longer include field names in conversion errors |
|---|
| 966 |
test/test000.cxx: |
|---|
| 967 |
- Test new from_string<>() versions |
|---|
| 968 |
test/test091.cxx: |
|---|
| 969 |
- Still doesn't work |
|---|
| 970 |
- Now throw exception rather than go into infinite recursion |
|---|
| 971 |
test/test092.cxx: |
|---|
| 972 |
- New |
|---|
| 973 |
- Tests nul byte in binary parameter to prepared statement |
|---|
| 974 |
2006-08-21 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 975 |
include/pqxx/connection_base.hxx, test/test001.cxx, test/test090.cxx: |
|---|
| 976 |
- Test new functions protocol_version() and server_version() |
|---|
| 977 |
- Test adorn_name() |
|---|
| 978 |
- Back to full test coverage for connection classes |
|---|
| 979 |
include/pqxx/cursor.hxx: |
|---|
| 980 |
- Now testing most of absolute_cursor (but not ready for use yet) |
|---|
| 981 |
test/test091.cxx: |
|---|
| 982 |
- New |
|---|
| 983 |
- Tests absolute_cursor |
|---|
| 984 |
2006-08-20 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 985 |
include/pqxx/transaction_base.hxx, test/test062.cxx: |
|---|
| 986 |
- Test esc_raw(const unsigned char[], size_t) |
|---|
| 987 |
- Back to full test coverage for transaction classes |
|---|
| 988 |
2006-08-15 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 989 |
doc/Makefile.am: |
|---|
| 990 |
- More now-unnecessary output filtering removed |
|---|
| 991 |
2006-08-14 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 992 |
include/pqxx/connection_base.hxx: |
|---|
| 993 |
- Finally resolved Doxygen problems! |
|---|
| 994 |
- Corrected prepared-statement execution example |
|---|
| 995 |
include/pqxx/except.hxx: |
|---|
| 996 |
- too_many_connections is a broken_connection, not an insufficient_resources |
|---|
| 997 |
- New undefined_table class (too useful not to have) |
|---|
| 998 |
include/pqxx/subtransaction.hxx: |
|---|
| 999 |
- Documented class |
|---|
| 1000 |
src/result.cxx: |
|---|
| 1001 |
- Recognize undefined_table error |
|---|
| 1002 |
2006-08-13 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1003 |
doc/Doxyfile.in: |
|---|
| 1004 |
- Include libpqxx version number |
|---|
| 1005 |
- Suppress unneeded output |
|---|
| 1006 |
- Ignore PQXX_LIBEXPORT and PQXX_PRIVATE |
|---|
| 1007 |
doc/Makefile.am: |
|---|
| 1008 |
- No longer need to suppress unnecessary Doxygen output using grep |
|---|
| 1009 |
include/pqxx/pipeline.hxx, src/connection.cxx, src/connection_base.cxx, |
|---|
| 1010 |
src/cursor.cxx, src/dbtransaction.cxx, src/except.cxx, src/largeobject.cxx, |
|---|
| 1011 |
src/pipeline.cxx, src/prepared_statement.cxx, src/result.cxx, |
|---|
| 1012 |
src/robusttransaction.cxx, src/subtransaction.cxx, src/tablereader.cxx, |
|---|
| 1013 |
src/tablestream.cxx, src/tablewriter.cxx, src/transaction.cxx, |
|---|
| 1014 |
src/transaction_base.cxx: |
|---|
| 1015 |
- Qualified parameter types identically between declarations and definitions |
|---|
| 1016 |
- Works around Doxygen problem |
|---|
| 1017 |
include/pqxx/transactor.hxx: |
|---|
| 1018 |
- connection_base::perform() was documented in two places |
|---|
| 1019 |
2006-08-11 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1020 |
include/pqxx/trigger.hxx: |
|---|
| 1021 |
- Forbid copy construction and copy assignment (thanks Bart Samwel) |
|---|
| 1022 |
2006-08-09 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1023 |
configitems, configure.ac.in, config/sample-headers/libpq/7.4, |
|---|
| 1024 |
config/sample-headers/libpq/8.0, config/sample-headers/libpq/8.1, |
|---|
| 1025 |
include/pqxx/connection_base.hxx, src/connection_base.cxx: |
|---|
| 1026 |
- Allow server version to be queried |
|---|
| 1027 |
- Allow protocol version to be queried |
|---|
| 1028 |
- Compatibility fix: check for "std" namespace and gcc 3.4 |
|---|
| 1029 |
include/pqxx/util.hxx: |
|---|
| 1030 |
- Removed PQXX_LIBEXPORT directive from PQAlloc class template |
|---|
| 1031 |
2006-08-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1032 |
configure.ac.in: |
|---|
| 1033 |
- Allow test for gcc visibility attribute to fail if not GNU C++ |
|---|
| 1034 |
2006-08-04 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1035 |
configure.ac.in, configitems, src/connection_base.hxx: |
|---|
| 1036 |
- Use GNU/Linux poll() instead of select(), if available |
|---|
| 1037 |
2006-07-29 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1038 |
pqxx-config.in: |
|---|
| 1039 |
- Is deprecated, and now says so (thanks Roger Leigh) |
|---|
| 1040 |
2006-07-28 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1041 |
configure.ac.in: |
|---|
| 1042 |
- Test for pkg-config (Roger Leigh) |
|---|
| 1043 |
2006-07-27 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1044 |
doc/libpqxx.xml: |
|---|
| 1045 |
- Missing parenthesis. Thanks Koen Stegen. |
|---|
| 1046 |
2006-07-21 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1047 |
include/pqxx/except.hxx, include/pqxx/result.hxx, src/result.cxx: |
|---|
| 1048 |
- Lots of new, more specific sql_error-derived exception types |
|---|
| 1049 |
- Thanks Tomek Rydzynski for getting me going with this |
|---|
| 1050 |
2006-07-01 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1051 |
tools/preprelease, tools/splitconfig: |
|---|
| 1052 |
- Use new "maketemporary" script to work around mktemp differences |
|---|
| 1053 |
tools/maketemporary: |
|---|
| 1054 |
- New |
|---|
| 1055 |
- Slightly more portable wrapper for mktemp |
|---|
| 1056 |
2006-06-22 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1057 |
test/Makefile.am: |
|---|
| 1058 |
- Needed fixing after template2mak stopped changing directories |
|---|
| 1059 |
2006-06-21 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1060 |
configure.ac.in: |
|---|
| 1061 |
- Check for socket library before checking for libpq. Thanks Jason Sheets! |
|---|
| 1062 |
win32/INSTALL.txt: |
|---|
| 1063 |
- Warned MSYS users to update grep & install mktemp, thanks Jason Sheets |
|---|
| 1064 |
- Rewrote some text to be a little clearer |
|---|
| 1065 |
- Reduced duplication in description of "common" file |
|---|
| 1066 |
- Updated description of "common" file to current way of working |
|---|
| 1067 |
2006-06-18 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1068 |
win32/INSTALL.txt, win32/mingw.mak.template, tools/template2mak.py, |
|---|
| 1069 |
win32/vc-test.mak.template, win32/vc-libpqxx.mak.template: |
|---|
| 1070 |
- Make "make" work from main directory, thanks Trigve Siver |
|---|
| 1071 |
2006-06-10 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1072 |
configure.ac.in: |
|---|
| 1073 |
- MinGW socket library detection patch by tometzky@batory.org.pl |
|---|
| 1074 |
tools/preprelease: |
|---|
| 1075 |
- Fixed md5sum generation (wrote empty file before) |
|---|
| 1076 |
- Use "--" option on mv, rm, etc. |
|---|
| 1077 |
2006-06-08 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1078 |
configure.ac.in: |
|---|
| 1079 |
- Moved detection of and workaround for broken grep to tools/splitconfig |
|---|
| 1080 |
tools/Makefile.am: |
|---|
| 1081 |
- Added tools/splitconfig |
|---|
| 1082 |
tools/preprelease: |
|---|
| 1083 |
- Don't erase reference documentation every time (takes too much time) |
|---|
| 1084 |
tools/splitconfig: |
|---|
| 1085 |
- New |
|---|
| 1086 |
- Encapsulates workaround for broken greps |
|---|
| 1087 |
- Should now also detect latest bug with "grep -w -F" in some GNU greps |
|---|
| 1088 |
- Major cleanup of grep failure detection |
|---|
| 1089 |
2006-06-02 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|
| 1090 |
configitems: |
|---|
| 1091 |
- One item said "private" instead of "internal" |
|---|
| 1092 |
configure.ac.in: |
|---|
| 1093 |
- Fixed warning in PQprepare() (can't have those in maintainer mode) |
|---|
| 1094 |
include/pqxx/binarystring.hxx: |
|---|
| 1095 |
- Documented escape_binary() as deprecated |
|---|
| 1096 |
include/pqxx/connection_base.hxx, include/pqxx/transaction_base.hxx, |
|---|
| 1097 |
src/connection_base.cxx, src/transaction_base.cxx: |
|---|
| 1098 |
- Implemented bytea equivalents of esc() |
|---|
| 1099 |
test/test062.cxx: |
|---|
| 1100 |
- Use new transaction_base::esc_raw() function |
|---|
| 1101 |
2006-06-01 Jeroen T. Vermeulen <jtv@xs4all.nl> |
|---|