213 Commits

Author SHA1 Message Date
Anthony Tuininga
4f8513cd3e Change copyright to me directly since WorleyParsons isn't interested in the
copyright to these so long as they retain the right to access the source.
2009-04-30 02:17:33 +00:00
Anthony Tuininga
aeb37e44fb Now that the library path is being calculated exactly there is no need to
include the lib subdirectory as before.
2009-04-30 02:09:21 +00:00
Anthony Tuininga
ab360bfb4e Re-enable parsing of non select statements as requested by Ray Terrill. 2009-04-22 17:50:09 +00:00
Anthony Tuininga
6d427015b3 Included the MSVC library path as requested by Jason Coombs. 2009-04-21 22:14:50 +00:00
Anthony Tuininga
ca3fb5019e Remove the reference to only working on non-Windows platforms since others
have reported that the call does in fact work -- at least on some versions of
Windows.
2009-04-20 14:32:58 +00:00
Anthony Tuininga
b96a806dd8 Fix creation of temporary NCLOB values and the writing of NCLOB values in non
Unicode mode.
2009-03-25 17:46:09 +00:00
Anthony Tuininga
4c1f524838 Use full path on Windows. 2009-03-04 15:08:02 +00:00
Anthony Tuininga
717763d3a8 Ensure that the current release is built last so that source RPMs have the
correct Python reference in them.
2009-03-04 04:21:47 +00:00
Anthony Tuininga
885e0f55f7 Created script for producing releases of cx_Oracle so that they are created
consistently.
2009-03-04 03:43:53 +00:00
Anthony Tuininga
04a4428fee Add additional cast as requested by Marco de Paoli in order to support
compiling with Microsoft Visual C++ 2008.
2009-03-02 21:58:52 +00:00
Anthony Tuininga
f96e0adefd Clean up some poorly proofread documentation! 2009-02-20 04:33:13 +00:00
Anthony Tuininga
fae8e5b72b Fix duplicate reference. 2009-02-19 03:51:52 +00:00
Anthony Tuininga
68621559ee Fix typo. 2009-02-17 03:41:22 +00:00
Anthony Tuininga
d5f4f96316 Modified documentation to include proper version. 2009-02-16 18:50:23 +00:00
Anthony Tuininga
d4e2d0a8d7 Added note indicating that the code was changed to support compilation with
version 3.0.1 of Python.
2009-02-16 18:22:27 +00:00
Anthony Tuininga
5017d36c46 Use the PyNumber_Long method as required in Python 3.0.1 and higher but the
older version in Python 2.x.
2009-02-16 18:19:32 +00:00
Anthony Tuininga
97a951102d Preparing to release version 5.0.1. 2009-02-16 17:38:42 +00:00
Anthony Tuininga
03547fb481 Rebuilt the html from scratch in order to tidy up a few pointers and references
to dates.
2009-02-16 17:37:43 +00:00
Anthony Tuininga
cd6808a764 Added html that was missed in previous commit. 2009-02-16 17:33:17 +00:00
Anthony Tuininga
3e58b423f4 Added documentation for the support for database change notification;
rearranged documentation on module constants since there are so many of them
and they can be reasonably grouped by the feature that uses them.
2009-02-16 17:32:41 +00:00
Anthony Tuininga
ac79165f4d Drop these constants as well since there is no known use for them in cx_Oracle
and very little information in Oracle documentation about their use.
2009-02-16 16:37:02 +00:00
Anthony Tuininga
e82882eee4 Drop this constant also since it is not part of the standard Oracle
documentation for the database change notification feature.
2009-02-16 16:31:02 +00:00
Anthony Tuininga
b308d48add Drop constant DROP_DB which is not very well documented by Oracle and doesn't
appear to serve any particular purpose.
2009-02-16 16:10:27 +00:00
Anthony Tuininga
7dff4df916 Fix typo. 2009-02-05 14:57:57 +00:00
Anthony Tuininga
bdca81b3e4 Added sample code to demonstrate the use of database change notification. 2009-01-08 15:35:24 +00:00
Anthony Tuininga
c303b373b3 Use native line endings on all Python files. 2009-01-08 15:33:22 +00:00
Anthony Tuininga
46eeb000b5 Added support for the rows in the change notification message. 2009-01-08 15:16:18 +00:00
Anthony Tuininga
825c78c87c Added tables to the message that is produced. 2009-01-08 05:40:59 +00:00
Anthony Tuininga
19c890c505 Avoid warning about signedness in argument. 2009-01-07 22:58:08 +00:00
Anthony Tuininga
7fc7ede45d Added support for passing the message to the handler and populating it with the
initial information that will be useful; add the OCI constants to the module
in order to enable different values for subscriptions as well as decode the
message data.
2009-01-07 22:55:14 +00:00
Anthony Tuininga
78d619cfb6 Added initial support for database change notification. 2009-01-07 21:13:49 +00:00
Anthony Tuininga
e00d8dc231 Allow events mode to be set in Oracle 10g as well. 2009-01-07 20:30:10 +00:00
Anthony Tuininga
b32352b54c Don't lose the Python lock before all possible Python code has been executed. 2009-01-07 15:50:16 +00:00
Anthony Tuininga
c6603b324d Add new attributes size, bufferSize and numElements to variable objects,
deprecating allocelems (replaced by numElements) and maxlength (replaced by
bufferSize); avoid increasing memory allocation for strings when using variable
width character sets and increasing the number of elements in a variable during
executemany(). Thanks to Don Reid for pointing out this issue.
2009-01-06 20:58:34 +00:00
Anthony Tuininga
259c468302 Use new version of Sphinx (one used with Python 2.6 documentation) to generate
documents; add documentation for new variable attributes; bump copyright into
2009.
2009-01-06 20:54:24 +00:00
Anthony Tuininga
607f9019d1 Call the type's tp_free and tp_alloc methods at all times in order to deal with
inheritance properly; use "self" at all times in the constructor and destructor
routines.
2009-01-06 15:46:54 +00:00
Anthony Tuininga
2d74315e15 Add entry to HISTORY.txt in preparation for release of 5.0.1 early in the new
year.
2008-12-17 15:46:11 +00:00
Anthony Tuininga
6e899f435e NCLOB variables need to be retained even in Unicode mode as Oracle will not
allow you to read/write those type of LOB values with SQLCS_IMPLICIT for
reasons known only to itself.
2008-12-16 21:47:56 +00:00
Anthony Tuininga
622f33f911 Added additional classifiers to make it clear that cx_Oracle supports version 3
of Python as recommended by Amaury Forgeot d'Arc.
2008-12-15 15:02:19 +00:00
Anthony Tuininga
93276dc439 There is no longer any need for the date section since Python 2.4 is the
minimum release supported.
2008-12-11 21:15:25 +00:00
Anthony Tuininga
e123e93576 Preparing to release version 5.0. 2008-12-11 21:01:18 +00:00
Anthony Tuininga
278b0ecf2a Modified HISTORY.txt in preparation for the release of cx_Oracle 5.0. 2008-12-10 03:45:06 +00:00
Anthony Tuininga
7dd6a588c1 Reset commit mode back to default after committing so that local and global
transactions can be mixed on the same connection.
2008-12-08 20:32:29 +00:00
Anthony Tuininga
bd5915a435 As requested by Gordon den Otter, return a boolean from connection.prepare()
indicating whether or not a transaction has been prepared for commit so that
the error ORA-24756 (transaction does not exist) can be avoided.
2008-12-08 19:51:18 +00:00
Anthony Tuininga
15cbc242cb Further modifications suggested by Corey Gaff. 2008-12-06 22:14:43 +00:00
Anthony Tuininga
ce74a5db5b Reorganized README.txt and added new file BUILD.txt based on an initial patch
from Corey Gaff.
2008-12-05 05:09:39 +00:00
Anthony Tuininga
d802a08e9b Calculate whether or not a 64-bit platform is in use properly. 2008-11-29 18:54:41 +00:00
Anthony Tuininga
231377127e Added support for interval day to second in Oracle, represented as Python
datetime.timedelta objects.
2008-11-25 15:59:16 +00:00
Anthony Tuininga
c0aada7534 Use native line endings on all Python files. 2008-11-24 23:48:44 +00:00
Anthony Tuininga
4b208c603a Ensure memory is freed if the acuisition of the bind names fails entirely. 2008-11-21 16:08:51 +00:00