]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
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.

16 years agoCorrected mysql version info check.
Michael Trier [Wed, 22 Apr 2009 13:23:21 +0000 (13:23 +0000)] 
Corrected mysql version info check.

16 years agomoved reflecttable to inspector for postgresql, oracle, sqlite and mysql
Randall Smith [Wed, 22 Apr 2009 07:17:34 +0000 (07:17 +0000)] 
moved reflecttable to inspector for postgresql, oracle, sqlite and mysql

16 years agoCorrected exception references in Postgres dialect.
Michael Trier [Sun, 19 Apr 2009 21:23:39 +0000 (21:23 +0000)] 
Corrected exception references in Postgres dialect.

16 years agostandardized tests on test_schema and test_schema_2.
Michael Trier [Sun, 19 Apr 2009 21:23:36 +0000 (21:23 +0000)] 
standardized tests on test_schema and test_schema_2.

16 years agoFixed function call counts for 2.5 / 2.6
Michael Trier [Sun, 19 Apr 2009 21:23:32 +0000 (21:23 +0000)] 
Fixed function call counts for 2.5 / 2.6

16 years agoTypo in docstring
Lele Gaifax [Wed, 15 Apr 2009 09:34:03 +0000 (09:34 +0000)] 
Typo in docstring

16 years agoWhitespace normalization, adjust some docstrings to reST/Sphinx conventions
Lele Gaifax [Wed, 15 Apr 2009 09:30:10 +0000 (09:30 +0000)] 
Whitespace normalization, adjust some docstrings to reST/Sphinx conventions

16 years agoReverting property workaround
Jason Kirtland [Wed, 1 Apr 2009 02:04:10 +0000 (02:04 +0000)] 
Reverting property workaround

16 years agoMigrated gc.collect hack to testlib.compat
Jason Kirtland [Wed, 1 Apr 2009 01:52:16 +0000 (01:52 +0000)] 
Migrated gc.collect hack to testlib.compat

16 years agoPatch-o
Jason Kirtland [Wed, 1 Apr 2009 01:34:49 +0000 (01:34 +0000)] 
Patch-o

16 years agoUpdated $py.class ignores
Jason Kirtland [Tue, 31 Mar 2009 21:59:48 +0000 (21:59 +0000)] 
Updated $py.class ignores

16 years agoAnd added this one
Jason Kirtland [Tue, 31 Mar 2009 21:57:23 +0000 (21:57 +0000)] 
And added this one

16 years agoAdding missing sqlite portion of alowry's patch from r5881
Jason Kirtland [Tue, 31 Mar 2009 21:46:17 +0000 (21:46 +0000)] 
Adding missing sqlite portion of alowry's patch from r5881

16 years agoSpecial gc.collect() tickling for Jython patch from pjenvey
Jason Kirtland [Tue, 31 Mar 2009 21:35:44 +0000 (21:35 +0000)] 
Special gc.collect() tickling for Jython patch from pjenvey

16 years agoa myriad of close_first calls to get sql.alltests to run
Mike Bayer [Tue, 31 Mar 2009 20:54:10 +0000 (20:54 +0000)] 
a myriad of close_first calls to get sql.alltests to run

16 years agothe return of --mockpool, mocking you and your crappy code that doesn't clean up...
Mike Bayer [Tue, 31 Mar 2009 20:16:38 +0000 (20:16 +0000)] 
the return of --mockpool, mocking you and your crappy code that doesn't clean up after itself

16 years agoMinor changes to adodbapi.
Michael Trier [Tue, 31 Mar 2009 19:54:01 +0000 (19:54 +0000)] 
Minor changes to adodbapi.

16 years ago- Added support for create_engine(isolation_level=...); postgres &
Jason Kirtland [Tue, 31 Mar 2009 19:49:13 +0000 (19:49 +0000)] 
- Added support for create_engine(isolation_level=...); postgres &
  sqlite initially [ticket:443]
- Dialects gained visit_pool
- Pools gained a first_connect event
Patch from Adam Lowry.  Thank you Adam!

16 years agoCorrected MSSQL support for 0.6.
Michael Trier [Tue, 31 Mar 2009 19:29:27 +0000 (19:29 +0000)] 
Corrected MSSQL support for 0.6.

16 years agoa pared down ext.compiler with minimal boilerplate.
Mike Bayer [Tue, 31 Mar 2009 18:57:22 +0000 (18:57 +0000)] 
a pared down ext.compiler with minimal boilerplate.

16 years agorevert back to the 0.5 way of calling DBAPIError.instance(), but add the tback as...
Mike Bayer [Tue, 31 Mar 2009 17:55:03 +0000 (17:55 +0000)] 
revert back to the 0.5 way of calling DBAPIError.instance(), but add the tback as the 3rd argument.  didn't realize this
usage.  sorry empty !

16 years ago- rollback everything before dropping tables. PG + jython is a rough combo
Mike Bayer [Tue, 31 Mar 2009 17:00:02 +0000 (17:00 +0000)] 
- rollback everything before dropping tables.   PG + jython is a rough combo
- zxJDBC totally not returning rowcounts correctly
- some dict ordering for jython

16 years agoFixed up the tests for the new style exception instance_cls.
Michael Trier [Tue, 31 Mar 2009 16:20:28 +0000 (16:20 +0000)] 
Fixed up the tests for the new style exception instance_cls.

16 years agoCorrections to 0.6 to fix mssql problems.
Michael Trier [Tue, 31 Mar 2009 07:14:44 +0000 (07:14 +0000)] 
Corrections to 0.6 to fix mssql problems.

16 years ago- jython support. works OK for expressions, there's a major weakref bug in ORM tho
Mike Bayer [Mon, 30 Mar 2009 22:32:36 +0000 (22:32 +0000)] 
- jython support.  works OK for expressions, there's a major weakref bug in ORM tho
- reraises of exceptions pass along the original stack trace

16 years agomerged -r5841:5869 of trunk, including a local information_schema.py for MSSQL
Mike Bayer [Sun, 29 Mar 2009 21:40:01 +0000 (21:40 +0000)] 
merged -r5841:5869 of trunk, including a local information_schema.py for MSSQL

16 years ago- connection initialize moves to a connection pool event [ticket:1340]
Mike Bayer [Sat, 21 Mar 2009 19:34:45 +0000 (19:34 +0000)] 
- connection initialize moves to a connection pool event [ticket:1340]
- sqlite doesn't support schemas.  not sure if some versions do, but marking those as unsupported for now.
- added a testing.requires callable for schema support.
- standardized the "extra schema" name for unit tests as "test_schema" and "test_schema_2".
- sqlite needs description_encoding (was some other version of pysqlite tested here ?)
- other test fixes.

16 years agoSet the set in __builtins__ check to Py2-only, set is always available in Py3
Arc Riley [Wed, 18 Mar 2009 00:13:39 +0000 (00:13 +0000)] 
Set the set in __builtins__ check to Py2-only, set is always available in Py3
I believe some other test may be overriding __builtins__ to be a dict instead of a module only on Py3, but this is the easiest fix.

16 years agoRemoved __builtin__ and buffer hack for MySQLdb for Py3
Arc Riley [Tue, 17 Mar 2009 23:37:21 +0000 (23:37 +0000)] 
Removed __builtin__ and buffer hack for MySQLdb for Py3

16 years agoupdated documentation
Randall Smith [Tue, 17 Mar 2009 22:04:15 +0000 (22:04 +0000)] 
updated documentation

16 years agochanged file() to open() for better portability
Arc Riley [Tue, 17 Mar 2009 18:29:38 +0000 (18:29 +0000)] 
changed file() to open() for better portability

16 years agominor updates to documentation strings
Randall Smith [Tue, 17 Mar 2009 04:11:07 +0000 (04:11 +0000)] 
minor updates to documentation strings

16 years agomoved tests in test/reflection.py into test/engine/reflection.py
Randall Smith [Tue, 17 Mar 2009 03:01:40 +0000 (03:01 +0000)] 
moved tests in test/reflection.py into test/engine/reflection.py

16 years agorefactored reflecttable
Randall Smith [Sun, 15 Mar 2009 05:30:24 +0000 (05:30 +0000)] 
refactored reflecttable

16 years ago- merged -r5797:5841 of trunk, including ported changes to MSSQL, Postgres
Mike Bayer [Sun, 15 Mar 2009 03:41:03 +0000 (03:41 +0000)] 
- merged -r5797:5841 of trunk, including ported changes to MSSQL, Postgres
- got server_version_info attribute on sqlite, postgres, needs work

16 years agoreflection fully implemented for mysql
Randall Smith [Thu, 12 Mar 2009 04:05:58 +0000 (04:05 +0000)] 
reflection fully implemented for mysql

16 years agofixed pkey for include_columns and fkey options
Randall Smith [Sat, 7 Mar 2009 20:36:19 +0000 (20:36 +0000)] 
fixed pkey for include_columns and fkey options

16 years agoapplied Michael's patch to fix issue with CREATE TABLE parser state
Randall Smith [Sat, 7 Mar 2009 20:28:40 +0000 (20:28 +0000)] 
applied Michael's patch to fix issue with CREATE TABLE parser state

16 years agorefactored mysql to separtate parsing from reflecting
Randall Smith [Fri, 6 Mar 2009 20:23:52 +0000 (20:23 +0000)] 
refactored mysql to separtate parsing from reflecting

16 years agomoved get_table_names
Randall Smith [Wed, 4 Mar 2009 05:44:13 +0000 (05:44 +0000)] 
moved get_table_names

16 years agoadded check for get_default_schema_name implementation
Randall Smith [Wed, 4 Mar 2009 05:43:26 +0000 (05:43 +0000)] 
added check for get_default_schema_name implementation

16 years agoadded **kw to base BaseDialect reflection method sigs
Randall Smith [Wed, 4 Mar 2009 04:15:57 +0000 (04:15 +0000)] 
added **kw to base BaseDialect reflection method sigs

16 years agoadded reflection methods
Randall Smith [Mon, 2 Mar 2009 05:59:01 +0000 (05:59 +0000)] 
added reflection methods

16 years agodialects can subclass Inspector
Randall Smith [Mon, 2 Mar 2009 05:46:16 +0000 (05:46 +0000)] 
dialects can subclass Inspector

16 years agoremoved redundant methods from Inspector
Randall Smith [Sun, 1 Mar 2009 06:02:57 +0000 (06:02 +0000)] 
removed redundant methods from Inspector

16 years agousing util.decorator and adding *kw to reflection method signatures
Randall Smith [Sun, 1 Mar 2009 04:05:19 +0000 (04:05 +0000)] 
using util.decorator and adding *kw to reflection method signatures

16 years agoupdates for latest 0.6 of sphinx
Mike Bayer [Sat, 28 Feb 2009 17:03:59 +0000 (17:03 +0000)] 
updates for latest 0.6 of sphinx

16 years agomoving to simpler cache technique
Randall Smith [Sat, 28 Feb 2009 06:06:44 +0000 (06:06 +0000)] 
moving to simpler cache technique

16 years agorefactored. tests/dialects/sqlite and tests/engine/reflection pass
Randall Smith [Thu, 19 Feb 2009 05:40:35 +0000 (05:40 +0000)] 
refactored. tests/dialects/sqlite and tests/engine/reflection pass

16 years agoreflection methods not use decorator for caching
Randall Smith [Wed, 18 Feb 2009 06:38:53 +0000 (06:38 +0000)] 
reflection methods not use decorator for caching

16 years agofinished oracle - all tests pass
Randall Smith [Sun, 15 Feb 2009 07:52:27 +0000 (07:52 +0000)] 
finished oracle - all tests pass

16 years ago- merged -r5727:5797 of trunk
Mike Bayer [Sat, 14 Feb 2009 23:02:33 +0000 (23:02 +0000)] 
- merged -r5727:5797 of trunk
- newest pg8000 handles unicode statements correctly.

16 years agonormalized reflection arguments
Randall Smith [Fri, 13 Feb 2009 05:38:39 +0000 (05:38 +0000)] 
normalized reflection arguments

16 years agoessential refactoring complete - tests pass
Randall Smith [Thu, 12 Feb 2009 06:32:03 +0000 (06:32 +0000)] 
essential refactoring complete - tests pass

16 years agoadded more methods for convenience
Randall Smith [Thu, 12 Feb 2009 06:31:22 +0000 (06:31 +0000)] 
added more methods for convenience

16 years agomake sure inputs are unicode when binding to unicode
Randall Smith [Thu, 12 Feb 2009 04:40:03 +0000 (04:40 +0000)] 
make sure inputs are unicode when binding to unicode

16 years agorefactored mssql for reflection (tests pass/fail same)
Randall Smith [Wed, 11 Feb 2009 06:30:27 +0000 (06:30 +0000)] 
refactored mssql for reflection (tests pass/fail same)

16 years agoset info_cache class
Randall Smith [Wed, 11 Feb 2009 06:29:39 +0000 (06:29 +0000)] 
set info_cache class

16 years agofixed view support
Randall Smith [Wed, 11 Feb 2009 06:28:49 +0000 (06:28 +0000)] 
fixed view support

16 years agorevised to use PGInfoCache
Randall Smith [Wed, 11 Feb 2009 04:45:35 +0000 (04:45 +0000)] 
revised to use PGInfoCache

16 years agoadded DefaultInfoCache
Randall Smith [Wed, 11 Feb 2009 04:44:43 +0000 (04:44 +0000)] 
added DefaultInfoCache

17 years agoadded order_by='foreign_key' option to help with dependency checking
Randall Smith [Thu, 5 Feb 2009 06:03:49 +0000 (06:03 +0000)] 
added order_by='foreign_key' option to help with dependency checking

17 years agoadded reflection (inspector) and tests
Randall Smith [Wed, 4 Feb 2009 06:42:26 +0000 (06:42 +0000)] 
added reflection (inspector) and tests

17 years agoadditional reflection methods
Randall Smith [Wed, 4 Feb 2009 06:05:45 +0000 (06:05 +0000)] 
additional reflection methods

17 years agocompleted refactoring of reflecttable
Randall Smith [Wed, 4 Feb 2009 05:43:15 +0000 (05:43 +0000)] 
completed refactoring of reflecttable

17 years agofactored out column reflection from reflecttable
Randall Smith [Mon, 2 Feb 2009 06:25:14 +0000 (06:25 +0000)] 
factored out column reflection from reflecttable

17 years agomost orm tests are passing in 3k with pysqlite. collections the biggest area left.
Mike Bayer [Sat, 31 Jan 2009 21:10:26 +0000 (21:10 +0000)] 
most orm tests are passing in 3k with pysqlite.  collections the biggest area left.

17 years agosome lists to iterators
Mike Bayer [Fri, 30 Jan 2009 21:22:19 +0000 (21:22 +0000)] 
some lists to iterators

17 years ago- modernized UnicodeTest/BinaryTest
Mike Bayer [Fri, 30 Jan 2009 20:48:54 +0000 (20:48 +0000)] 
- modernized UnicodeTest/BinaryTest
- removed PickleType homegrown comparison method
- testtypes passes in 3k for sqlite/pg8000

17 years ago- sql round trips are coming on line for sqlite, pg8000
Mike Bayer [Fri, 30 Jan 2009 19:22:43 +0000 (19:22 +0000)] 
- sql round trips are coming on line for sqlite, pg8000
- pg8000 returns col.description as bytes, heh
- absolute module imports play havoc with "python test/foo/test.py" - start using -m

17 years agoselect.py passes in 3k
Mike Bayer [Fri, 30 Jan 2009 17:48:43 +0000 (17:48 +0000)] 
select.py passes in 3k

17 years agotest/base/alltests passes in 3k
Mike Bayer [Fri, 30 Jan 2009 16:34:26 +0000 (16:34 +0000)] 
test/base/alltests passes in 3k

17 years agomost folks dont put "./lib/" in their PYTHONPATH. so replace with the same approach...
Mike Bayer [Fri, 30 Jan 2009 15:38:09 +0000 (15:38 +0000)] 
most folks dont put "./lib/" in their PYTHONPATH.   so replace with the same approach as that of util.

17 years agouse sqlalchemy.util functions here. the previous implementation is
Mike Bayer [Fri, 30 Jan 2009 15:12:41 +0000 (15:12 +0000)] 
use sqlalchemy.util functions here.  the previous implementation is
not compatible with py3k.   I can run all tests or any combination of tests
by using sqlalchemy.util so it's not clear to me why sqlalchemy.util
reportedly cannot be imported at this phase.

17 years agoSwitched ext compiler test to use sqlite.
Michael Trier [Fri, 30 Jan 2009 05:09:14 +0000 (05:09 +0000)] 
Switched ext compiler test to use sqlite.

17 years agoGet the callable import right.
Michael Trier [Fri, 30 Jan 2009 05:04:59 +0000 (05:04 +0000)] 
Get the callable import right.

17 years agoCallable must be defined before path magic occurs.
Michael Trier [Fri, 30 Jan 2009 04:54:19 +0000 (04:54 +0000)] 
Callable must be defined before path magic occurs.

17 years agoResolved merge conflict.
Michael Trier [Fri, 30 Jan 2009 04:35:43 +0000 (04:35 +0000)] 
Resolved merge conflict.

17 years agoCouple more corrections to get mssql tests to pass.
Michael Trier [Fri, 30 Jan 2009 04:28:35 +0000 (04:28 +0000)] 
Couple more corrections to get mssql tests to pass.

17 years agopy3king
Mike Bayer [Fri, 30 Jan 2009 01:15:05 +0000 (01:15 +0000)] 
py3king

17 years ago2to3 wrapper which includes a preprocessor
Mike Bayer [Fri, 30 Jan 2009 00:00:40 +0000 (00:00 +0000)] 
2to3 wrapper which includes a preprocessor

17 years agotest fixes
Mike Bayer [Thu, 29 Jan 2009 22:29:32 +0000 (22:29 +0000)] 
test fixes

17 years agoFixed up some of the mssql dialect tests for date handling.
Michael Trier [Thu, 29 Jan 2009 17:03:30 +0000 (17:03 +0000)] 
Fixed up some of the mssql dialect tests for date handling.

17 years agocorrect subclassing
Mike Bayer [Thu, 29 Jan 2009 16:58:44 +0000 (16:58 +0000)] 
correct subclassing

17 years agojek's name change
Mike Bayer [Thu, 29 Jan 2009 16:35:51 +0000 (16:35 +0000)] 
jek's name change