]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years agocorrect the zxJDBC disconnect matching
Philip Jenvey [Thu, 16 Jul 2009 01:54:22 +0000 (01:54 +0000)] 
correct the zxJDBC disconnect matching

16 years agosmall change
Philip Jenvey [Thu, 16 Jul 2009 01:15:31 +0000 (01:15 +0000)] 
small change

16 years agodisable two phase transaction support on postgresql+zxjdbc, the jdbc driver
Philip Jenvey [Thu, 16 Jul 2009 01:15:01 +0000 (01:15 +0000)] 
disable two phase transaction support on postgresql+zxjdbc, the jdbc driver
can't handle it without some more work

16 years agouse locale neutral ISO date format
Philip Jenvey [Wed, 15 Jul 2009 20:58:01 +0000 (20:58 +0000)] 
use locale neutral ISO date format
patch from Demi-God

16 years ago- fix driver imports
Mike Bayer [Wed, 15 Jul 2009 18:48:10 +0000 (18:48 +0000)] 
- fix driver imports
- update info on special schema names in unittest README

16 years agobeefed up the description of dialects
Mike Bayer [Mon, 13 Jul 2009 22:53:37 +0000 (22:53 +0000)] 
beefed up the description of dialects

16 years agorenamed "postgres" to "postgresql", "Postgres" to "PostgreSQL". since
Mike Bayer [Mon, 13 Jul 2009 00:46:44 +0000 (00:46 +0000)] 
renamed "postgres" to "postgresql", "Postgres" to "PostgreSQL".  since
that's been the thing's name since 1996 or so.  backwards compatibility
with the old name should be more or less complete.

16 years agomerged -r6082:6112 of trunk
Mike Bayer [Sun, 12 Jul 2009 23:45:01 +0000 (23:45 +0000)] 
merged -r6082:6112 of trunk

16 years agoImplements the boolean type for FB
Lele Gaifax [Sun, 12 Jul 2009 14:08:52 +0000 (14:08 +0000)] 
Implements the boolean type for FB
Also, on reflection restore the heuristic needed to find the sequence linked to the PK.

16 years agoUpgrade a few FB specific tests
Lele Gaifax [Sun, 12 Jul 2009 13:50:02 +0000 (13:50 +0000)] 
Upgrade a few FB specific tests

16 years agoWhitespace normalization
Lele Gaifax [Sun, 12 Jul 2009 08:22:13 +0000 (08:22 +0000)] 
Whitespace normalization

16 years agobah
Mike Bayer [Sun, 12 Jul 2009 01:38:33 +0000 (01:38 +0000)] 
bah

16 years agoFB uses AS for modern dialect
Mike Bayer [Sun, 12 Jul 2009 01:37:18 +0000 (01:37 +0000)] 
FB uses AS for modern dialect

16 years ago- firebird support. reflection works fully, overall test success in the 75% range...
Mike Bayer [Sun, 12 Jul 2009 01:23:03 +0000 (01:23 +0000)] 
- firebird support.  reflection works fully, overall test success in the 75% range approx
- oracle and firebird now normalize column names to SQLA "lowercase" for result.keys()
allowing consistent identifier name visibility on the client side.

16 years ago- oracle fixes
Mike Bayer [Sat, 11 Jul 2009 18:58:10 +0000 (18:58 +0000)] 
- oracle fixes
- upon further consideration it seems appropriate that reflection would
coerce all "default" values into text(), since this represents a DDL expression
straight from the DB
- adjustments to mysql to accommodate that
- for some reason zoomark dropped 300 calls in create_tables.  investigation pending

16 years agocontinued strictness/documentation of the type system
Mike Bayer [Wed, 8 Jul 2009 21:10:37 +0000 (21:10 +0000)] 
continued strictness/documentation of the type system

16 years ago- type renaming extravaganza
Mike Bayer [Wed, 8 Jul 2009 02:17:18 +0000 (02:17 +0000)] 
- type renaming extravaganza
- changed the contract a bit on reflection.cache

16 years ago- start moving get_default_schema_name to an initialized var
Mike Bayer [Mon, 6 Jul 2009 00:18:57 +0000 (00:18 +0000)] 
- start moving get_default_schema_name to an initialized var
- fix up MSSQL foreign key reflection ala oracle

16 years agouse NVARCHAR/NTEXT for unicode...
Mike Bayer [Sun, 5 Jul 2009 23:41:43 +0000 (23:41 +0000)] 
use NVARCHAR/NTEXT for unicode...

16 years ago- a new type dialect convention starting out in the PG dialect.
Mike Bayer [Sun, 5 Jul 2009 23:12:44 +0000 (23:12 +0000)] 
- a new type dialect convention starting out in the PG dialect.
- support for MSSQL/PyODBC/FreeTDS on a mac.  Win32 on deck..

16 years agoetc
Mike Bayer [Sun, 5 Jul 2009 16:01:49 +0000 (16:01 +0000)] 
etc

16 years ago100% of tests passed. there are still many order_by()'s needed since oracle is...
Mike Bayer [Sun, 5 Jul 2009 16:01:19 +0000 (16:01 +0000)] 
100% of tests passed.   there are still many order_by()'s needed since oracle is particularly random about this.

16 years agotest tweaks
Mike Bayer [Sun, 5 Jul 2009 15:19:17 +0000 (15:19 +0000)] 
test tweaks

16 years agothis should be just about 100% coverage
Mike Bayer [Sun, 5 Jul 2009 00:18:21 +0000 (00:18 +0000)] 
this should be just about 100% coverage

16 years agomore test fixes
Mike Bayer [Sat, 4 Jul 2009 17:38:03 +0000 (17:38 +0000)] 
more test fixes

16 years ago- brought oracle reflection into the 21st century
Mike Bayer [Sat, 4 Jul 2009 16:51:42 +0000 (16:51 +0000)] 
- brought oracle reflection into the 21st century
- some more test fixes

16 years ago- many more oracle tests pass
Mike Bayer [Sat, 4 Jul 2009 00:32:37 +0000 (00:32 +0000)] 
- many more oracle tests pass
- added "CASCADE CONSTRAINTS" option to DropTable - may
use it in drop_all() for supported DBs
- detected a cx_oracle bug whereby setinputsizes(cx_oracle.STRING)
in conjunction with unicode/executemany fails, added a workaround

16 years agofixed a nasty import hack and removed AbstractType.get_search_list().
Mike Bayer [Fri, 3 Jul 2009 18:42:41 +0000 (18:42 +0000)] 
fixed a nasty import hack and removed AbstractType.get_search_list().

16 years agoall sql + engine + reflection tests passing for oracle
Mike Bayer [Fri, 3 Jul 2009 18:20:45 +0000 (18:20 +0000)] 
all sql + engine + reflection tests passing for oracle

16 years agomerge -r6064:6082 of 0.5 trunk
Mike Bayer [Fri, 3 Jul 2009 16:05:55 +0000 (16:05 +0000)] 
merge -r6064:6082 of 0.5 trunk

16 years agofix MySQL drop constraint formats. test coverage needed.
Mike Bayer [Sun, 28 Jun 2009 23:13:12 +0000 (23:13 +0000)] 
fix MySQL drop constraint formats.  test coverage needed.

16 years agoadd some goodies to help migrate
Mike Bayer [Sun, 28 Jun 2009 22:46:08 +0000 (22:46 +0000)] 
add some goodies to help migrate

16 years agoColumn calls _set_parent() on child items within the constructor, so that the Column...
Mike Bayer [Sun, 28 Jun 2009 20:31:01 +0000 (20:31 +0000)] 
Column calls _set_parent() on child items within the constructor, so that the Column is easily
navigable before table attachment.  helps migrate.

16 years agomove ident regex to memoized
Mike Bayer [Sun, 28 Jun 2009 20:21:24 +0000 (20:21 +0000)] 
move ident regex to memoized

16 years agofail only on postgres+zxjdbc, the other dialects are covered
Philip Jenvey [Fri, 26 Jun 2009 00:48:58 +0000 (00:48 +0000)] 
fail only on postgres+zxjdbc, the other dialects are covered

16 years agoskip test_raw_qmark/sprintf on zxjdbc
Philip Jenvey [Tue, 23 Jun 2009 01:01:39 +0000 (01:01 +0000)] 
skip test_raw_qmark/sprintf on zxjdbc

16 years agorestored table.key
Mike Bayer [Mon, 22 Jun 2009 22:00:29 +0000 (22:00 +0000)] 
restored table.key

16 years agosince we aren't using text() in the DefaultClause we reflect, we need to unquote...
Mike Bayer [Mon, 22 Jun 2009 21:27:10 +0000 (21:27 +0000)] 
since we aren't using text() in the DefaultClause we reflect, we need to unquote the incoming default from
reflection.  this is sqlite so far.  not quite sure what will happen with other dialects yet.

16 years agofixes
Mike Bayer [Sat, 20 Jun 2009 17:31:25 +0000 (17:31 +0000)] 
fixes

16 years ago- functions and operators generated by the compiler now use (almost) regular
Mike Bayer [Sat, 20 Jun 2009 17:20:09 +0000 (17:20 +0000)] 
- functions and operators generated by the compiler now use (almost) regular
dispatch functions of the form "visit_<opname>" and "visit_<funcname>_fn"
to provide customed processing.  This replaces the need to copy the "functions"
and "operators" dictionaries in compiler subclasses with straightforward
visitor methods, and also allows compiler subclasses complete control over
rendering, as the full _Function or _BinaryExpression object is passed in.
- move the pool assertion to be module-level, zoomark tests keep the connection
open across tests.

16 years ago- added first() method to ResultProxy
Mike Bayer [Sat, 20 Jun 2009 14:53:32 +0000 (14:53 +0000)] 
- added first() method to ResultProxy
- corrected all the hanging fetchone()s in test_query so that jython passes without hanging

16 years agojython pool tests pass 100% [ticket:1444]
Mike Bayer [Fri, 19 Jun 2009 22:15:23 +0000 (22:15 +0000)] 
jython pool tests pass 100% [ticket:1444]

16 years agomerged -r6055:6064 of trunk
Mike Bayer [Tue, 16 Jun 2009 19:26:37 +0000 (19:26 +0000)] 
merged -r6055:6064 of trunk

16 years agoadded instant test runner
Mike Bayer [Sat, 13 Jun 2009 23:31:56 +0000 (23:31 +0000)] 
added instant test runner

16 years ago- converted TableSingleton to __new__ and scaled down other silliness.
Mike Bayer [Sat, 13 Jun 2009 23:15:40 +0000 (23:15 +0000)] 
- converted TableSingleton to __new__ and scaled down other silliness.
- doc gen fixes
- pushing the pep8 rock up the hill a few feet.

16 years agoenabled missing reflection tests
Mike Bayer [Sat, 13 Jun 2009 19:29:19 +0000 (19:29 +0000)] 
enabled missing reflection tests

16 years agomerged r6054 from trunk
Mike Bayer [Sat, 13 Jun 2009 03:39:27 +0000 (03:39 +0000)] 
merged r6054 from trunk

16 years agomerged the remainder of r6023 from trunk
Mike Bayer [Sat, 13 Jun 2009 03:37:59 +0000 (03:37 +0000)] 
merged the remainder of r6023 from trunk

16 years agopy3k fixes
Mike Bayer [Fri, 12 Jun 2009 16:56:19 +0000 (16:56 +0000)] 
py3k fixes

16 years agosome pg8000 + postgres fixes
Mike Bayer [Fri, 12 Jun 2009 16:09:35 +0000 (16:09 +0000)] 
some pg8000 + postgres fixes

16 years ago- merged -r6049:6050 of trunk, nose migration.
Mike Bayer [Thu, 11 Jun 2009 20:27:46 +0000 (20:27 +0000)] 
- merged -r6049:6050 of trunk, nose migration.
- added lib/sqlalchemy/test/util.py to keep "import gc" out of core

16 years agocmp from compat
Mike Bayer [Tue, 2 Jun 2009 22:34:40 +0000 (22:34 +0000)] 
cmp from compat

16 years agomerged -r5991:6018 of trunk, primarily removal of testing.ORMTest and fixtures.py
Mike Bayer [Tue, 2 Jun 2009 21:53:52 +0000 (21:53 +0000)] 
merged -r5991:6018 of trunk, primarily removal of testing.ORMTest and fixtures.py

16 years agofix 2.6ism
Philip Jenvey [Sun, 31 May 2009 23:20:35 +0000 (23:20 +0000)] 
fix 2.6ism

16 years agoinitial 3.0-only driver for py-postgresql. tests are maybe 60/40 at the moment.
Mike Bayer [Sun, 31 May 2009 22:47:50 +0000 (22:47 +0000)] 
initial 3.0-only driver for py-postgresql.   tests are maybe 60/40 at the moment.

16 years agofixes for MySQL
Mike Bayer [Sun, 31 May 2009 22:03:44 +0000 (22:03 +0000)] 
fixes for MySQL

16 years ago- some topological fixup to work around inconsistent string interning in py3k
Mike Bayer [Sun, 31 May 2009 21:41:20 +0000 (21:41 +0000)] 
- some topological fixup to work around inconsistent string interning in py3k
- pg8000 in py3k needs description_encoding, turn this back on, switch off for py3k sqlite

16 years ago- commenting SQLSoup out of the py3k tests for now
Mike Bayer [Sun, 31 May 2009 19:30:39 +0000 (19:30 +0000)] 
- commenting SQLSoup out of the py3k tests for now
- other py3k adjustments

16 years agoand one more
Mike Bayer [Sun, 31 May 2009 18:21:51 +0000 (18:21 +0000)] 
and one more

16 years agoits raise x from e
Mike Bayer [Sun, 31 May 2009 18:16:23 +0000 (18:16 +0000)] 
its raise x from e

16 years ago- added an "inline_ddl" flag to Constraint. this controls if DDL is emitted
Mike Bayer [Sun, 31 May 2009 16:33:00 +0000 (16:33 +0000)] 
- added an "inline_ddl" flag to Constraint.  this controls if DDL is emitted
from within CREATE TABLE, and is flipped off automatically when the item
is placed within an Add/DropConstraint object.
- the use_alter flag on ForeignKey is now a shortcut option for operations that
can be hand-constructed using the DDL() event system.  A side effect of this refactor
is that ForeignKeyConstraint objects with use_alter=True will *not* be emitted on
SQLite, which does not support ALTER for foreign keys.  This has no effect on SQLite's
behavior since SQLite does not actually honor FOREIGN KEY constraints.
- the "on" callable passed to DDL() needs to accept **kw arguments.
In the case of MetaData before/after create/drop, the list of
Table objects for which CREATE/DROP DDL is to be issued is passed
as the kw argument "tables".   This is necessary for metadata-level
DDL that is dependent on the presence of specific tables.
- the "metadata" argument is removed from DefaultGenerator and subclasses,
but remains locally present on Sequence, which is a standalone construct
in DDL.
- really trying to pare down usage of testing.mock_engine()

16 years agothe compiler works for types ! heh
Mike Bayer [Sun, 31 May 2009 14:56:56 +0000 (14:56 +0000)] 
the compiler works for types ! heh

16 years ago- lots of paring down and cleanup of schema / DDL. reworked
Mike Bayer [Sun, 31 May 2009 01:27:46 +0000 (01:27 +0000)] 
- lots of paring down and cleanup of schema / DDL.  reworked
all _CreateDropBase classes to extend from the same event
framework as DDL().   semi-support for dialect-conditional
Constraint objects, needs work.

16 years ago- repair were-never-working instrumentation tests
Mike Bayer [Sat, 30 May 2009 21:03:41 +0000 (21:03 +0000)] 
- repair were-never-working instrumentation tests
- use nicer py3k reraise style detailed in pep3109 (directly affects how the traceback is formatted vs. with_traceback())
- seriously considering writing regular tests for sqlsoup since this is going to be impossible to 2to3-ize

16 years agosome nextisms
Mike Bayer [Sat, 30 May 2009 19:56:08 +0000 (19:56 +0000)] 
some nextisms

16 years agoreverted a change which dates back to [changeset:5037] - there
Mike Bayer [Sat, 30 May 2009 19:38:08 +0000 (19:38 +0000)] 
reverted a change which dates back to [changeset:5037] - there
doesn't seem to be any way for an old style class to be in the `__subclasses__()`
collection of a new style class.  also fixes a 2to3 screwup
allowing test/orm/attributes.py to pass fully on py3k

16 years agoserializer
Mike Bayer [Sat, 30 May 2009 19:12:21 +0000 (19:12 +0000)] 
serializer

16 years agoorderinglist slice fixes
Mike Bayer [Sat, 30 May 2009 18:52:26 +0000 (18:52 +0000)] 
orderinglist slice fixes

16 years agothe light has been seen. all tests pass 2k + 3k + new tests
Mike Bayer [Sat, 30 May 2009 18:27:13 +0000 (18:27 +0000)] 
the light has been seen.   all tests pass 2k + 3k + new tests

16 years agofixes to __setitem__ in the list adapter to handle some slices that
Mike Bayer [Sat, 30 May 2009 17:13:13 +0000 (17:13 +0000)] 
fixes to __setitem__ in the list adapter to handle some slices that
usually go right to __setslice__

16 years ago- py3k stuff
Mike Bayer [Sat, 30 May 2009 16:22:53 +0000 (16:22 +0000)] 
- py3k stuff
- we don't need column_dict in construct_params now

16 years agouse util.threading
Mike Bayer [Sat, 30 May 2009 01:11:12 +0000 (01:11 +0000)] 
use util.threading

16 years ago- removed the connect() method of metadata,threadlocalmetadata
Mike Bayer [Sat, 30 May 2009 01:05:25 +0000 (01:05 +0000)] 
- removed the connect() method of metadata,threadlocalmetadata
- removed import of "thread" which is unused, is not "public" in py3k anyway

16 years agosqueezing out py3k fixes....sooo slowwww
Mike Bayer [Fri, 29 May 2009 23:27:16 +0000 (23:27 +0000)] 
squeezing out py3k fixes....sooo slowwww

16 years agomerged -r5987:5991 of trunk
Mike Bayer [Fri, 29 May 2009 21:57:15 +0000 (21:57 +0000)] 
merged -r5987:5991 of trunk

16 years agofix some tests, a py3k import
Mike Bayer [Thu, 28 May 2009 01:00:27 +0000 (01:00 +0000)] 
fix some tests, a py3k import

16 years agooops, checked in a pdb
Mike Bayer [Thu, 28 May 2009 00:49:31 +0000 (00:49 +0000)] 
oops, checked in a pdb

16 years agomerged -r5974:5987 of trunk
Mike Bayer [Thu, 28 May 2009 00:39:12 +0000 (00:39 +0000)] 
merged -r5974:5987 of trunk

16 years agofixes
Mike Bayer [Wed, 27 May 2009 00:22:52 +0000 (00:22 +0000)] 
fixes

16 years agoschema, reflection, and type refinements. in particular the default precision/scale...
Mike Bayer [Tue, 26 May 2009 22:31:29 +0000 (22:31 +0000)] 
schema, reflection, and type refinements.  in particular the default precision/scale args are
removed from Numeric/Float.

16 years agomost ORM tests passing in py3.1 with these changes
Mike Bayer [Tue, 26 May 2009 17:21:41 +0000 (17:21 +0000)] 
most ORM tests passing in py3.1 with these changes

16 years agomove StringIO to its own line for 2to3 compat
Mike Bayer [Tue, 26 May 2009 17:05:36 +0000 (17:05 +0000)] 
move StringIO to its own line  for 2to3 compat

16 years ago- pg8000 fixes
Mike Bayer [Tue, 26 May 2009 01:01:25 +0000 (01:01 +0000)] 
- pg8000 fixes
- removed hardcoded TIMESTAMP func, deprecated in 0.5.4p2

16 years agomerged r5976
Mike Bayer [Mon, 25 May 2009 15:29:18 +0000 (15:29 +0000)] 
merged r5976

16 years agomerge -r5936:5974 of trunk
Mike Bayer [Mon, 25 May 2009 15:20:44 +0000 (15:20 +0000)] 
merge -r5936:5974 of trunk

16 years agorefactor
Philip Jenvey [Sun, 3 May 2009 00:54:06 +0000 (00:54 +0000)] 
refactor

16 years agofix _sort not always using the node's id as its key
Philip Jenvey [Sun, 3 May 2009 00:05:28 +0000 (00:05 +0000)] 
fix _sort not always using the node's id as its key
fixes #1380

16 years agomerge r5939 from trunk
Mike Bayer [Sat, 2 May 2009 17:46:21 +0000 (17:46 +0000)] 
merge r5939 from trunk

16 years agomerged -r 5869:5936 of trunk, including dialect changes re: extract()
Mike Bayer [Sat, 2 May 2009 15:48:32 +0000 (15:48 +0000)] 
merged -r 5869:5936 of trunk, including dialect changes re: extract()

16 years agoexplicitly gc_collect weakref tests
Philip Jenvey [Fri, 1 May 2009 06:36:36 +0000 (06:36 +0000)] 
explicitly gc_collect weakref tests
fixes #1382

16 years agomerge r5895 from trunk
Philip Jenvey [Thu, 30 Apr 2009 19:43:32 +0000 (19:43 +0000)] 
merge r5895 from trunk

16 years agofix mssql cursor closed issue on reflection
Randall Smith [Thu, 30 Apr 2009 04:23:20 +0000 (04:23 +0000)] 
fix mssql cursor closed issue on reflection

16 years agopass cache to _prepare_reflection_args
Randall Smith [Wed, 29 Apr 2009 19:29:59 +0000 (19:29 +0000)] 
pass cache to _prepare_reflection_args

16 years agocache _prepare_reflection_args
Randall Smith [Wed, 29 Apr 2009 04:17:59 +0000 (04:17 +0000)] 
cache _prepare_reflection_args

16 years agoremoved attrs key from get_columns return value
Randall Smith [Sat, 25 Apr 2009 18:58:43 +0000 (18:58 +0000)] 
removed attrs key from get_columns return value

16 years agoremoved unecessary oracle specific logic
Randall Smith [Sat, 25 Apr 2009 18:41:11 +0000 (18:41 +0000)] 
removed unecessary oracle specific logic

16 years agomoved reflecttable to inspector for mssql
Randall Smith [Sat, 25 Apr 2009 07:35:03 +0000 (07:35 +0000)] 
moved reflecttable to inspector for mssql

16 years agoremoved the connection_memoize stuff.
Michael Trier [Fri, 24 Apr 2009 02:31:31 +0000 (02:31 +0000)] 
removed the connection_memoize stuff.

16 years agoraise NoSuchTableError in reflecttable
Randall Smith [Thu, 23 Apr 2009 02:46:19 +0000 (02:46 +0000)] 
raise NoSuchTableError in reflecttable

16 years agoCorrected mysql import for CLIENT_FLAGS. Added commented out memoize decorators that...
Michael Trier [Thu, 23 Apr 2009 01:38:09 +0000 (01:38 +0000)] 
Corrected mysql import for CLIENT_FLAGS. Added commented out memoize decorators that will not work without a ProxyConnection.