1 2015-01-23 Don Porter <dgp@users.sourceforge.net>
3 * generic/tdbc.h: Advance version number to 1.0.3
6 * configure: autoconf-2.69
8 2014-10-23 Don Porter <dgp@users.sourceforge.net>
10 * generic/tdbc.h: Advance version number to 1.0.2
13 * configure: autoconf-2.59
15 * doc/*.[3n]: [Bug 00b792] OpenBSD friendly docs.
17 2014-08-14 Don Porter <dgp@users.sourceforge.net>
19 * generic/tdbc.h: Advance version number to 1.0.1
22 * configure: autoconf-2.59
24 2012-12-05 Harald Oehlmann <oehhar@users.sf.net>
26 * win/Makefile.vc: Install headers, stub file and fixed tdbcConfig.sh.
28 2012-11-08 Don Porter <dgp@users.sourceforge.net>
30 * generic/tdbc.h: Advance version number to 1.0.0
33 * configure: autoconf-2.59
35 2012-08-17 Jan Nijtmans <nijtmans@users.sf.net>
37 * win/nmakehlp.c: Add "-V<num>" option, in order to be able
38 to detect partial version numbers.
40 2012-07-26 Jan Nijtmans <jan.nijtmans@gmail.com>
42 * tclconfig/install-sh: Update to latest TEA
44 * configure: autoconf-2.59
46 2012-07-17 Jan Nijtmans <nijtmans@users.sf.net>
48 * win/makefile.vc: [Bug 3544932]: Visual studio compiler check fails
50 2012-07-12 Kevin B. Kenny <kennykb@acm.org>
53 * generic/tdbc.c: Restored Unix buildability for 'tdbc', and
54 removed code that swizzles TCL_STORAGE_CLASS
55 in favour of avoiding Tcl's EXTERN macro.
57 2012-06-10 Jan Nijtmans <jan.nijtmans@gmail.com>
63 * tools/genStubs.tcl: FRQ-b4029dc351: make all TDBC API functions
66 * generic/tdbcDecls.h:
67 * generic/tdbcStubInit.c:
68 * generic/tdbcStubLib.c: Regen
70 * configure: autoconf-2.59
72 2012-06-08 Jan Nijtmans <jan.nijtmans@gmail.com>
74 * tclconfig/ChangeLog:
75 * tclconfig/tcl.m4: Update to latest TEA
76 * configure: autoconf-2.59
78 2011-08-01 Don Porter <dgp@users.sourceforge.net>
80 * win/rules.vc: Extend support to MSVC10. Thanks to Twylite.
82 2011-07-19 Kevin B. Kenny <kennykb@acm.org>
84 * generic/tdbc.h: Advance version number to 1.0b17
87 * configure: autoconf-2.59
89 2011-07-18 Don Porter <dgp@users.sourceforge.net>
91 * configure.in: Update to latest TEA 3.9 revisions.
95 * configure: autoconf-2.59
97 2011-04-12 Kevin B. Kenny <kennykb@acm.org>
99 * generic/tdbcTokenize.c (Tdbc_Tokenize):
100 Added a special case for PostgreSQL's typecast syntax
101 :var::type. (Allows us to do things like 'select :var::type'
102 without tripping over 'cannot determine data type' errors.
103 * tests/tokenize.test (tokenize-2.1):
104 Added a test case for the above.
106 2011-02-21 Kevin B. Kenny <kennykb@acm.org>
108 * library/tdbc.tcl (tdbc::connection transaction):
109 Modified the 'transaction' method to attempt to rollback
110 if a commit fails, in order to clear out a failed
112 * doc/tdbc_connection.n:
113 Modified the 'tdbc_connection' manual page to reflect the
114 above behaviour. (Bug [d7dd97c402])
116 2011-02-20 Kevin B. Kenny <kennykb@acm.org>
119 Changed 'foreach' method on the connection, statement
120 and result set objects so that 'foreach' and 'allrows'
121 will iterate over multiple result sets. Added
122 default 'nextresults' method (does nothing, reports
123 that no further results are available) and
124 'outputparams' method (does nothing, reports no
125 output parameters) to the base 'resultset' class so
126 that drivers that lack multiple-results functionality
127 need not implement these.
128 * doc/tdbc_resultset.n:
129 Added description of the 'nextresults' method,
130 and its effect on 'allrows' and 'foreach'
132 2011-01-26 Kevin B. Kenny <kennykb@acm.org>
134 * doc/tdbc.n, doc/tdbc_connection.n, doc/tdbc_mapSqlState.n:
135 * doc/tdbc_resultset.n, doc/tdbc_statement.n, doc/tdbc_tokenize.n:
136 Added empty comment at the start of each manpage because 'man'
137 interprets comments there as directives. Thanks to Konstantin
138 Kohmoutov for reporting and diagnosing this error.
140 2011-01-23 Kevin B. Kenny <kennykb@acm.org>
142 * configure.in: Changed to put the absolute path name of the
143 source directory in tdbc_INCLUDE_PATH so that
144 drivers will build correctly against an uninstalled
145 tdbc. Thanks to Konstantin Khomoutov for reporting
147 * configure: autoconf2.59
149 2010-09-03 Kevin B. Kenny <kennykb@acm.org>
151 * doc/tdbc_connection.n:
152 Added description of the new 'primarykeys' and
153 'foreignkeys' methods to the manual.
156 Revised the 'keySequence' column in 'foreignkeys'
157 to be 'ordinalPosition' instead, for consistency
162 * pkgIndex.tcl.in (new file):
166 * tclconfig/: Upgraded the build to use TEA 3.9. Changed the
167 approach to pkgIndex.tcl generation. (It's now built
168 at configure time, rather than from the Makefile.)
169 Advanced version number to 1.0b16.
170 * configure: autoconf 2.59
172 2010-06-19 Kevin B. Kenny <kennykb@acm.org>
174 * Makefile.in: Revised the code at the suggestion
175 * generic/tdbc.c (Tdbc_Init): of Andreas Kupries to avoid using
176 * tests/all.tcl: 'tcl_findLibrary' and instead execute
177 * tests/tdbc.test: both 'source' and 'load' commands from
178 * tests/tokenize.test: 'pkgIndex.tcl'. Revised the 'make test'
179 rule, and the test scripts, to
180 test successfully under the new regime.
181 Thanks to Andreas for providing the
182 original patch, and to Joe English
183 for providing ideas for simplifying
184 and repairing 'make test' under the
187 2010-05-23 Kevin B. Kenny <kennykb@acm.org>
189 * library/tdbc.tcl: Add methods 'primarykeys' and 'foreignkeys'
190 on the 'tdbc::connection' object
191 to inspect database structure, and methods
192 'BuildPrimaryKeysStatement' and
193 'BuildForeignKeysStatement' to initialize the
194 'statement' objects that the methods use.
196 2010-05-10 Kevin B. Kenny <kennykb@acm.org>
198 * aclocal.m4: Add a TEAX_PATH_LINE rule to simplify emitting the
199 stub library paths in tdbcConfig.sh.
200 * tools/genExtStubs.tcl (ParseImports, writeStubDeclarations):
201 Add a new '* CONVENTION:' declaration to the
202 stub declarations that specifies the linkage
203 convention (e.g., __stdcall, WINAPI) that is
204 used in an imported library.
205 * configure.in: Add code to put the stub library path (build and
206 (install) in the tdbcConfig.sh file so that extensions
207 that import TDBC stubs can find it.
209 * README: Advance release to 1.0b15
211 2010-04-30 Kevin B. Kenny <kennykb@acm.org>
213 * Makefile.in: Updated 'make dist' to include the tools that
214 generate Stubs for external libs to support
216 * configure.in: Removed a stray backslash that caused a shell
217 error message while configuring (and otherwise
219 * tools/genExtStubs.tcl: Adjusted to generate the Stubs files in
220 Unix format only to avoid DOS-formatted files
221 sneaking into the repository.
223 2010-04-26 Kevin B. Kenny <kennykb@acm.org>
225 * tools/genStubs.tcl: Revised 'genStubs' to write files in Unix
226 format (-translation lf) so that 'make genstubs'
227 generates the same output on Unix and Windows.
229 * tdbcStubInit.h: make genstubs
232 * generic/tdbc.h: Advance patchlevel to 1.0b14.1
233 * configure: autoconf-2.59
236 2010-04-25 Kevin B. Kenny <kennykb@acm.org>
238 * configure.in: Advance release to 1.0b14
241 * configure: autoconf-2.59
243 2010-04-10 Kevin B. Kenny <kennykb@acm.org>
246 * tdbcConfig.sh.in: Modified to pass the build-time and run-time
247 Tcl script library directories in tdbcConfig.sh,
248 so that driver tests can be run before tdbc itself
250 * configure: autoconf 2.59
252 2010-04-08 Kevin B. Kenny <kennykb@acm.org>
255 * tdbcConfig.sh.in: Revised names starting with TDBC_ to start
256 with tdbc_ in order to conform with the expectations of
257 TEA_LOAD_CONFIG. Added tdbc_BUILD_STUB_LIB_SPEC and
258 tdbc_BUILD_INCLUDE_SPEC to the generated tdbcConfig.sh so that
259 the Stubs library and include files for tdbc can be found in
260 the build directory as well as the install directory.
262 * configure: autoconf 2.59
264 2010-04-06 Kevin B. Kenny <kennykb@acm.org>
268 * doc/tdbc_connection.n:
269 * doc/tdbc_mapSqlState.n:
270 * doc/tdbc_connection.n:
271 * doc/tdbc_resultset.n:
272 * doc/tdbc_statement.n:
273 * doc/tdbc_tokenize.n: Merged changes from the trunk of the
274 Tcl source tree that make the documentation fit better with the
275 Tcl manuals. (Tickets [fcc8231b9e], [02c0131ba1] and [18c90402fb]).
277 * Makefile.in: Corrected a misinstallation of the manual
278 pages in the case where $(MANDIR)/man3 doesn't exist.
279 (Ticket [99e97fb098])
282 * generic/tdbcDecls.h:
283 * generic/tdbcStubInit.c:
284 * generic/tdbcStubLib.c:
285 * tools/genStubs.tcl: Made the Stubs tables (and a few other constants
286 formally 'const'. (Ticket [cf7bc364cc])
288 2010-03-14 Kevin B. Kenny <kennykb@acm.org>
290 * tools/genExtStubs.tcl (new file): Added a tool so that
291 drivers can resolve imports into Stubs tables at run time, allowing
292 them to avoid compile-dependencies on the respective databases'
295 2010-03-01 Kevin B. Kenny <kennykb@acm.org>
297 * tools/tdbc-man2html.tcl: Added SourceForge logo to the HTML
298 documentation, to comply with requirements for hosting the
299 documentation at SourceForge.
301 2009-09-20 Kevin B. Kenny <kennykb@acm.org>
303 * tools/tdbc-man2html.tcl: Added tdbcpostgres to the documentation set.
306 * README: Advance version number to 1.0b13
307 * configure: autoconf-2.59
309 2009-07-02 Kevin B. Kenny <kennykb@acm.org>
313 * README: Advance version number to 1.0b12
314 * configure: autoconf-2.59
317 2009-05-29 Kevin B. Kenny <kennykb@acm.org>
321 * README: Advance version number to 1.0b11
322 * configure: autoconf-2.59
324 2009-04-21 Kevin B. Kenny <kennykb@acm.org>
326 * Makefile.in (dist): Rename Tdbc.3 to Tdbc_Init.3 to avoid
327 a file naming conflict in HTML documentation.
328 * doc/Tdbc_Init.3: Renamed from Tdbc.3. Added IGNORE arond macros
330 * doc/tdbc_connection.n:
331 * doc/tdbc_mapSqlState.n:
332 * doc/tdbc_resultset.n:
333 * doc/tdbc_statement.n:
334 * doc/tdbc_tokenize.n: Added IGNORE / END IGNORE around macros.
335 * tdbc_mapSqlState.n: Moved the .BS comment to where it belongs.
336 * tools/tdbc-man2html.tcl: Added .3 man pages to the build. Added a
337 '\" IGNORE ... \'" END IGNORE directive so that *roff macros
338 can be skipped reliably (needed in order to handle the .AS and
340 Retagged 1.0b10 with these changes.
342 2009-04-20 Kevin B. Kenny <kennykb@acm.org>
344 * Makefile.in (dist): Added new man pages to the 'dist' rule.
345 Retagged 1.0b10 with these changes.
347 2009-04-19 Kevin B. Kenny <kennykb@acm.org>
349 * Makefile.in (install-doc): Added missing commands to install
352 2009-04-18 Kevin B. Kenny <kennykb@acm.org>
354 * doc/Tdbc.3: Added manual page for C API to TDBC
356 * doc/tdbc_connection.n: Changed 'starttransaction' to
357 'begintransaction'. Corrected the 'foreach'
359 * doc/tdbc_statement.n: Corrected the 'foreach' syntax.
360 * doc/tdbc_resultset.n:
361 * doc/tdbc_tokenize.n: Corrected tabs, margins, etc. to Tcl standard.
362 * doc/tdbc_mapSqlState.n: Added documentation for tdbc::mapSqlState.
364 2009-04-16 Kevin B. Kenny <kennykb@acm.org>
368 * README: Advance version number to 1.0b10
369 * configure: autoconf-2.59
371 2009-03-03 Kevin B. Kenny <kennykb@acm.org>
373 * tdbc.tcl: Replaced the 'statementClass' and 'resultSetClass'
374 instance variables with 'statementCreate and 'resultSetCreate'
375 methods (expected to forward to the appropriate constructors).
376 Replaced 'my variable' usage with 'variable' declarations at
377 class level. Removed various bits of debugging output.
379 2009-02-16 Kevin B. Kenny <kennykb@acm.org>
383 * README: Advance version number to 1.0b9
384 * configure: autoconf-2.59
386 2009-02-15 Kevin B. Kenny <kennykb@acm.org>
388 * README: Fix several editorial details. Thanks to Larry Virden
389 for the patch. [Ticket e33df9041f]
391 2009-02-14 Kevin B. Kenny <kennykb@acm.org>
393 * tools/tdbc-man2html.tcl (new file):
394 First cut at automating HTML generation for the manual
397 * doc/tdbc_connection.n:
398 * doc/tdbc_resultset.n:
399 * doc/tdbc_statement.n:
400 * doc/tdbc_tokenize.n: Formatting changes to the man pages so that
405 * README: Advance version number to 1.0b8
406 * configure: autoconf-2.59
408 2009-02-01 Kevin B. Kenny <kennykb@acm.org>
410 * Makefile.in: Modified 'pkgIndex.tcl' rule to allow for
411 requiring the TclOO package in 8.5, and not
412 in 8.6, while allowing both versions.
413 Modified 'clean' to clean up 'pkgIndex.tcl',
414 and added the version dependencies as
415 TCL_VERSION_REQ, TCL_VERSION_DESIRED,
416 and TCLOO_VERSION_REQ. Added the new
417 'tests/tdbc.test' to 'make dist'.
418 * tests/tdbc.test: Removed explicit check for {TCL WRONGARGS}
419 in ::errorCode, to restore 8.5 compatibility.
421 2009-01-31 Kevin B. Kenny <kennykb@acm.org>
425 * generic/tdbc.h: Advanced version to 1.0b7
426 * configure: autoconf-2.59
427 * generic/tdbc.c: Added a 'tdbc::mapSqlState' command that
428 makes a key suitable for 'errorCode' from
430 * generic/tdbc.decls: Added Tdbc_MapSqlState, C API to 'mapSqlState'
431 * generic/tdbcDecls.h:
432 * generic/tdbcStubInit.c: Regenerated
433 * library/tdbc.tcl: Modified so that all errors return a proper
435 * tests/tdbc.test: Added tests for tdbc::mapSqlState
437 2009-01-07 David Gravereaux <davygrvy@pobox.com>
439 * win/makefile.vc: Needed quotes around $(SCRIPT_INSTALL_DIR)
440 in the install-libraries target else directory with spaces
443 2009-01-05 Kevin B. Kenny <kennykb@acm.org>
445 * README: Advanced version to 1.0b6
449 * configure: autoconf-2.59
451 2009-01-04 Kevin B. Kenny <kennykb@acm.org>
453 * README: Advanced version to 1.0b5
457 * configure: autoconf-2.59
459 2008-12-30 Kevin B. Kenny <kennykb@acm.org>
461 * README: Advanced version to 1.0b4
465 * configure: autoconf-2.59
467 * Makefile.in: Changes to 'make dist' to include all files
468 explicitly - avoids distributing Emacs backups,
475 * generic/tdbc.decls:
477 * generic/tdbcDecls.h:
479 * generic/tdbcStubInit.c:
480 * generic/tdbcStubLib.c:
481 * generic/tdbcTokenize.c:
487 * win/rules.vc: Many trivial changes (e.g. RCS ID strings)
488 to avoid merge conflicts when importing to
491 * generic/tdbcStubInit.c: Added MODULE_SCOPE to the tdbcStubs
492 declaration to correct a linkera error on
494 * generic/tdbcTokenize.c: Added explicit casts to the 'ctype' macros
495 to guard against possible signed characters.
497 2008-12-21 Kevin B. Kenny <kennykb@acm.org>
499 * win/makefile.vc: Added files for a MSVC build system.
500 * win/rules.vc: Thanks to Pat Thoyts <patthoyts@users.sf.net>
501 * win/versions.vc: for developing these files.n
504 2008-12-20 Kevin B. Kenny <kennykb@acm.org>
508 2008-12-20 Daniel Steffen <das@users.sourceforge.net>
510 * Makefile.in: use INSTALL_LIBRARY instead of INSTALL_PROGRAM to
511 install libraries, avoids breakage from tcl's install-strip when
512 built as a bundled package.
514 * tclconfig/ChangeLog: update to latest TEA from tcl CVS, which has
515 * tclconfig/tcl.m4: Jan's 2008-12-19 changes (tcl.m4 r1.127)
517 * configure.in: update TEA_INIT for TEA 3.7
518 * configure: autoconf-2.59
520 2008-12-19 Kevin Kenny <kennykb@acm.org>
522 * aclocal.m4: Changed to make ADD_MANIFEST default to ':'
523 rather than an empty string, to silence a warning on BSD compiles.
524 Thanks to Stu Cassoff for reporting this bug.
525 * configure: autoconf-2.59
527 2008-12-19 Jan Nijtmans <nijtmans@users.sf.net>
529 * tclconfig/tcl.m4: fix odbc build on mingw32
530 * configure: autoconf-2.59
532 2008-12-17 Don Porter <dgp@users.sourceforge.net>
535 * configure: autoconf-2.59
537 2008-12-07 Kevin B. Kenny <kennykb@acm.org>
539 * doc/tdbc.n: Added a file omitted from the 2008-11-30 commit.
541 * generic/tdbc.h: Advanced version number to 1.0b1 in preparation
543 * configure: Autoconf 2.61
545 2008-11-30 Kevin B. Kenny <kennykb@acm.org>
547 * Makefile.in: Removed nagging reminder about documentation.
548 * configure.in: Advanced revision to 0.2
549 * configure: Autoconf 2.61
550 * doc/tdbc.n: First cut at a set of man
551 * doc/tdbc_connection.n: pages for TDBC. Redactors
552 * doc/tdbc_resultSet.n: and proofreaders are
553 * doc/tdbc_statement.n: welcome to submit
554 * doc/tdbc_tokenize.n: improvements.
555 * generic/tdbc.c: Lowercased the package name 'tdbc'
556 * generic/tdbc.h: Advanced patchlevel to 0.2a1
557 * generic/tdbcDecls.h: Lowercased the package name 'tdbc'
558 * generic/tdbcStubLib.c: Lowercased the package name 'tdbc'
559 * tests/tokenize.test: Lowercased the package name 'tdbc'
562 2008-11-22 Kevin B. Kenny <kennykb@acm.org>
564 * configure.in: Changed to make TDBC buildable on 8.6 without
565 needing to install a dummy tclooConfig.sh.
566 * configure: Autoconf 2.61.
568 2008-10-23 Kevin B. Kenny <kennykb@acm.org>
570 * library/tdbc.tcl: Fixed the constructor of tdbc::resultset
571 to *not* have an empty constructor (which is interpreted by
572 tcloo as deleting the constructor!). Attempted to sign the commit
573 with a key that *isn't* about to expire. ;)
575 2008-06-11 Kevin B. Kenny <kennykb@acm.org>
577 * library/tdbc.tcl: Split [$resultset nextrow] into two primitive
578 methods: [$resultset nextlist] and [$resultset nextdict]. Added
579 a [$resultset nextrow] method that delegates to one or the other
582 2008-05-24 Kevin B. Kenny <kennykb@acm.org>
584 * configure.in: Changed configuration to use TEA_PATH_CONFIG to
585 * aclocal.m4: locate tcloo. Removed the local code that did it
587 * configure: Autoconf 2.61
589 2008-05-13 Kevin B. Kenny <kennykb@acm.org>
591 * library/tdbc.tcl: Silenced tracing.
593 2008-05-10 Kevin B. Kenny <kennykb@acm.org>
595 * library/tdbc.tcl: Simplified processing of several callbacks
596 by eliminating a useless [namespace code my] in favor of [self].
597 Added tracing to attempt to track down a bug in oo's method
600 2008-04-30 Kevin B. Kenny <kennykb@acm.org>
609 * generic/tdbc.decls:
611 * generic/tdbcDecls.h:
613 * generic/tdbcStubInit.c:
614 * generic/tdbcStubLib.c:
615 * generic/tdbcTokenize.c:
617 * tclconfig/ChangeLog:
618 * tclconfig/install-sh:
619 * tclconfig/README.txt:
622 * tests/tokenize.test:
623 * tools/genStubs.tcl:
624 Initial commit of the "tdbc" package - the generic base class support
625 for Tcl Data Base Connectivity (TDBC) - TIP #308.