]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
14 years ago- this helps oracle here since it has a panic attack otherwise
Mike Bayer [Tue, 26 Apr 2011 02:51:58 +0000 (22:51 -0400)] 
- this helps oracle here since it has a panic attack otherwise

14 years agouurg, add a use_reaper argument and have zoomark skip the reaping for its very specia...
Mike Bayer [Tue, 26 Apr 2011 02:29:59 +0000 (22:29 -0400)] 
uurg, add a use_reaper argument and have zoomark skip the reaping for its very special mode of operation...

14 years ago- hardcore force every connection into a strong-referenced set, rollback on every...
Mike Bayer [Tue, 26 Apr 2011 01:50:26 +0000 (21:50 -0400)] 
- hardcore force every connection into a strong-referenced set, rollback on every test, close on every context.
this uses pool events but bypasses the pool's fairy/record/dispose services.   pypy still seems to expose
some holes in that at least as far as what some (or maybe just one, cant find it yet) of the tests does.
haven't tested this too deeply, just on sqlite + postgres, cypthon 2.7 + pypy.   will see what the buildbot
says

14 years ago - Fixed a potential KeyError which under some
Mike Bayer [Mon, 25 Apr 2011 15:33:06 +0000 (11:33 -0400)] 
  - Fixed a potential KeyError which under some
    circumstances could occur with the identity
    map, part of [ticket:2148]

14 years agomerge stuff
Mike Bayer [Mon, 25 Apr 2011 15:32:50 +0000 (11:32 -0400)] 
merge stuff

14 years agoExclude serializer test on pypy. Problem in pickle.
Michael Trier [Mon, 25 Apr 2011 00:52:15 +0000 (20:52 -0400)] 
Exclude serializer test on pypy. Problem in pickle.

14 years agoextra change note
Mike Bayer [Sat, 23 Apr 2011 22:42:26 +0000 (18:42 -0400)] 
extra change note

14 years ago- added Query.with_session() method, switches
Mike Bayer [Sat, 23 Apr 2011 22:38:01 +0000 (18:38 -0400)] 
- added Query.with_session() method, switches
Query to use a different session.

- horizontal shard query should use execution
options per connection as per [ticket:2131]

14 years agoupdate warnings per zxjdbc
Philip Jenvey [Sat, 23 Apr 2011 21:15:08 +0000 (14:15 -0700)] 
update warnings per zxjdbc

14 years agoutilize the zxjdbc PostgresqlHandler for better Decimal handling. hopefully
Philip Jenvey [Sat, 23 Apr 2011 20:10:53 +0000 (13:10 -0700)] 
utilize the zxjdbc PostgresqlHandler for better Decimal handling. hopefully
this won't be necessary eventually (refs http://bugs.jython.org/issue1499)

14 years agomark all aaa_profiling tests with __requires__ = 'cpython',
Mike Bayer [Sat, 23 Apr 2011 19:34:38 +0000 (12:34 -0700)] 
mark all aaa_profiling tests with __requires__ = 'cpython',

14 years ago- close the result here for non refcounting gcs
Mike Bayer [Sat, 23 Apr 2011 19:10:56 +0000 (12:10 -0700)] 
- close the result here for non refcounting gcs

14 years ago- add test for [ticket:2142]
Mike Bayer [Sat, 23 Apr 2011 19:05:50 +0000 (15:05 -0400)] 
- add test for [ticket:2142]

14 years ago- metadata.reflect() and reflection.Inspector()
Mike Bayer [Sat, 23 Apr 2011 17:45:11 +0000 (10:45 -0700)] 
- metadata.reflect() and reflection.Inspector()
  had some reliance on GC to close connections
  which were internally procured, fixed this.
- added --zero-timeout option to nose fixture, sets pool_timeout to zero

14 years ago- Fixed bug whereby if FetchedValue was passed
Mike Bayer [Sat, 23 Apr 2011 16:34:17 +0000 (12:34 -0400)] 
- Fixed bug whereby if FetchedValue was passed
to column server_onupdate, it would not
have its parent "column" assigned, added
test coverage for all column default assignment
patterns.  [ticket:2147]  also in 0.6.8

14 years ago- this passes --mockpool for test_execute 100% with pypy. still makes test_reflectio...
Mike Bayer [Sat, 23 Apr 2011 03:52:01 +0000 (23:52 -0400)] 
- this passes --mockpool for test_execute 100% with pypy.  still makes test_reflection later on hang.

14 years ago- ensure test_execute passes with --mockpool
Mike Bayer [Sat, 23 Apr 2011 03:28:45 +0000 (23:28 -0400)] 
- ensure test_execute passes with --mockpool

14 years agomight as well explicitly disable the cext on Jython too
Philip Jenvey [Sat, 23 Apr 2011 02:38:39 +0000 (19:38 -0700)] 
might as well explicitly disable the cext on Jython too

14 years agogrumpy fix
Mike Bayer [Sat, 23 Apr 2011 02:17:43 +0000 (22:17 -0400)] 
grumpy fix

14 years agodocument the behavior of get() regarding invalid usages as per [ticket:2144]
Mike Bayer [Fri, 22 Apr 2011 22:41:13 +0000 (18:41 -0400)] 
document the behavior of get() regarding invalid usages as per [ticket:2144]

14 years ago- It is an error to call query.get() when the
Mike Bayer [Fri, 22 Apr 2011 22:33:55 +0000 (18:33 -0400)] 
- It is an error to call query.get() when the
given entity is not a single, full class
entity or mapper (i.e. a column).  This is
a deprecation warning in 0.6.8.
[ticket:2144]

14 years agoremove erroneously committed pdb
Mike Bayer [Wed, 20 Apr 2011 19:51:28 +0000 (15:51 -0400)] 
remove erroneously committed pdb

14 years ago- Added explicit check for when Column .name
Mike Bayer [Wed, 20 Apr 2011 19:49:33 +0000 (15:49 -0400)] 
- Added explicit check for when Column .name
is assigned as blank string [ticket:2140]

14 years agomerge tip
Mike Bayer [Tue, 19 Apr 2011 14:07:03 +0000 (10:07 -0400)] 
merge tip

14 years ago- Fixed the psycopg2_version parsing in the
Mike Bayer [Mon, 18 Apr 2011 16:38:08 +0000 (12:38 -0400)] 
- Fixed the psycopg2_version parsing in the
psycopg2 dialect.

14 years agocss fix
Mike Bayer [Mon, 18 Apr 2011 01:33:44 +0000 (21:33 -0400)] 
css fix

14 years ago- Fixed regression introduced in 0.7b4 (!) whereby
Mike Bayer [Mon, 18 Apr 2011 01:03:02 +0000 (21:03 -0400)] 
- Fixed regression introduced in 0.7b4 (!) whereby
query.options(someoption("nonexistent name")) would
fail to raise an error.  Also added additional
error catching for cases where the option would
try to build off a column-based element, further
fixed up some of the error messages tailored
in [ticket:2069]
- added another huge crapload of tests to the existing
crapload of tests we already had for options..._get_paths()
and dependencies are covered 100% now
- one case still doesn't do the "right" thing, using an option
specific to relationships will silently pass if the endpoint
is a column-based attribute, and vice versa.

14 years agoAdded tag rel_0_7b4 for changeset 4dd69ff878b2b7fe60a48ba7d12c29183a5f8012
Mike Bayer [Sun, 17 Apr 2011 20:55:50 +0000 (16:55 -0400)] 
Added tag rel_0_7b4 for changeset 4dd69ff878b2b7fe60a48ba7d12c29183a5f8012

14 years ago- remove obsolete test regarding PG server side cursors + ORM query, was failing... rel_0_7b4
Mike Bayer [Sun, 17 Apr 2011 20:51:04 +0000 (16:51 -0400)] 
- remove obsolete test regarding PG server side cursors + ORM query, was failing + hanging jenkins

14 years ago- move documentation of available execution options to Connection - this is the main
Mike Bayer [Sun, 17 Apr 2011 20:10:59 +0000 (16:10 -0400)] 
- move documentation of available execution options to Connection - this is the main
place these should be used
- Executable disallows "compiled_cache" option for now which was previously being ignored
[ticket:2131]
- Query now passes execution options to the Connection rather than the statement
so that all options are allowed including compiled cache.

14 years ago- Added explicit true()/false() constructs to expression
Mike Bayer [Sun, 17 Apr 2011 19:37:12 +0000 (15:37 -0400)] 
- Added explicit true()/false() constructs to expression
lib - coercion rules will intercept "False"/"True"
into these constructs.  In 0.6, the constructs were
typically converted straight to string, which was
no longer accepted in 0.7.  [ticket:2117]

14 years agocallcount update for cext + 2.7
Mike Bayer [Sun, 17 Apr 2011 19:00:27 +0000 (15:00 -0400)] 
callcount update for cext + 2.7

14 years ago- Before/after attach events for PrimaryKeyConstraint
Mike Bayer [Sun, 17 Apr 2011 17:53:21 +0000 (13:53 -0400)] 
- Before/after attach events for PrimaryKeyConstraint
now function, tests added for before/after events
on all constraint types.  [ticket:2105]

14 years ago- Fixed incorrect usage of "," in over() clause
Mike Bayer [Sun, 17 Apr 2011 17:40:37 +0000 (13:40 -0400)] 
- Fixed incorrect usage of "," in over() clause
being placed between the "partition" and "order by"
clauses.  [ticket:2134]

14 years ago- rework setup.py script to work with:
Mike Bayer [Sun, 17 Apr 2011 17:22:33 +0000 (13:22 -0400)] 
- rework setup.py script to work with:
   - Python 3
   - Python 3 builds if Distribute isn't installed
- rework install documentation again
- raise if doc build with mako < 0.4.1
- Python 3.1 builds force doctest parse but then fails due to distribute bug,
  so remove usage of backslash \\ in hybrid.py docstring
- put in the latest ez_setup.py

14 years agoa crapload of doc tweaks including [ticket:1666], thanks Toby !
Mike Bayer [Sat, 16 Apr 2011 16:04:54 +0000 (12:04 -0400)] 
a crapload of doc tweaks including [ticket:1666], thanks Toby !

14 years agotry a between here since 'in' looks for exact matches, doesn't work
Mike Bayer [Sat, 16 Apr 2011 00:55:15 +0000 (20:55 -0400)] 
try a between here since 'in' looks for exact matches, doesn't work
with extra thingies in the version

14 years agomerge tip + tidy
Mike Bayer [Sat, 16 Apr 2011 00:43:17 +0000 (20:43 -0400)] 
merge tip + tidy

14 years agosome font changes to match the site style
Mike Bayer [Sat, 16 Apr 2011 00:41:13 +0000 (20:41 -0400)] 
some font changes to match the site style

14 years agoExclude test on MySQL 5.1.49 - 5.1.52.
Michael Trier [Fri, 15 Apr 2011 19:24:20 +0000 (15:24 -0400)] 
Exclude test on MySQL 5.1.49 - 5.1.52.

See https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/706988

14 years agono idea what "auto-commit" means here. some reorg.
Mike Bayer [Fri, 15 Apr 2011 16:55:31 +0000 (12:55 -0400)] 
no idea what "auto-commit" means here.  some reorg.

14 years ago - fixed bug where "from" clause gathering from an
Mike Bayer [Fri, 15 Apr 2011 03:44:03 +0000 (23:44 -0400)] 
  - fixed bug where "from" clause gathering from an
    over() clause would be an itertools.chain() and
    not a list, causing "can only concatenate list"
    TypeError when combined with other clauses.

14 years agofix for pdf
Mike Bayer [Fri, 15 Apr 2011 01:08:54 +0000 (21:08 -0400)] 
fix for pdf

14 years ago- add a new "documentation overview" page. rip off a project widely known
Mike Bayer [Fri, 15 Apr 2011 00:50:52 +0000 (20:50 -0400)] 
- add a new "documentation overview" page.  rip off a project widely known
to start with "Dj".

14 years ago- Fixed support for precision numerics when using
Mike Bayer [Thu, 14 Apr 2011 17:54:47 +0000 (13:54 -0400)] 
- Fixed support for precision numerics when using
pg8000. [ticket:2132]

14 years agoexplicitly disable the cextension on Python 3 until it's updated for it
Philip Jenvey [Thu, 14 Apr 2011 01:45:58 +0000 (18:45 -0700)] 
explicitly disable the cextension on Python 3 until it's updated for it

14 years agoenable the cextension by default, falling back to pure python when the
Philip Jenvey [Thu, 14 Apr 2011 01:32:15 +0000 (18:32 -0700)] 
enable the cextension by default, falling back to pure python when the
extension fails to compile
fixes #2129

14 years agominor cleanup
Philip Jenvey [Wed, 13 Apr 2011 23:33:25 +0000 (16:33 -0700)] 
minor cleanup

14 years ago- a "having" clause would be copied from the
Mike Bayer [Wed, 13 Apr 2011 23:27:40 +0000 (19:27 -0400)] 
- a "having" clause would be copied from the
inside to the outside query if from_self()
were used; in particular this would break
an 0.7 style count() query [ticket:2130].
(also in 0.6.7)

14 years agotest only runs on sqlite
Mike Bayer [Mon, 11 Apr 2011 00:53:14 +0000 (20:53 -0400)] 
test only runs on sqlite

14 years ago- Added checks inside the UOW to detect the unusual
Mike Bayer [Mon, 11 Apr 2011 00:22:11 +0000 (20:22 -0400)] 
- Added checks inside the UOW to detect the unusual
condition of being asked to UPDATE or DELETE
on a primary key value that contains NULL
in it.  [ticket:2127]

- Some refinements to attribute history.  More
changes are pending possibly in 0.8, but
for now history has been modified such that
scalar history doesn't have a "side effect"
of populating None for a non-present value.
This allows a slightly better ability to
distinguish between a None set and no actual
change, affects [ticket:2127] as well.

- rewriting the history tests in test_attributes to be
individual per operation/assertion.   its a huge job
so this is partial for the moment.

14 years ago- Fixed bug where reflection of foreign key
Mike Bayer [Sun, 10 Apr 2011 14:47:34 +0000 (10:47 -0400)] 
- Fixed bug where reflection of foreign key
created as "REFERENCES <tablename>" without
col name would fail.  [ticket:2115]
(also in 0.6.7)

14 years ago- adjust this to work normally with current logging approach
Mike Bayer [Sat, 9 Apr 2011 18:56:23 +0000 (14:56 -0400)] 
- adjust this to work normally with current logging approach

14 years agochangelog
Mike Bayer [Fri, 8 Apr 2011 20:44:15 +0000 (16:44 -0400)] 
changelog

14 years ago- callcounts
Mike Bayer [Fri, 8 Apr 2011 20:21:09 +0000 (16:21 -0400)] 
- callcounts
- clean out pool._refs in the test_pool perf tests, make things simple

14 years ago- no encoding with arrays
Mike Bayer [Fri, 8 Apr 2011 19:59:28 +0000 (15:59 -0400)] 
- no encoding with arrays
- rework the "builtin types" thing with the ReplayableSession to be py3k compatible

14 years ago- more liberal check here
Mike Bayer [Fri, 8 Apr 2011 19:16:12 +0000 (15:16 -0400)] 
- more liberal check here
- dont encode enums in py3k

14 years ago- assume in py3k that description encoding is None unless the dialect really
Mike Bayer [Fri, 8 Apr 2011 18:54:45 +0000 (14:54 -0400)] 
- assume in py3k that description encoding is None unless the dialect really
overrides it
- psycopg2 + 3k supports unicode statements...

14 years ago- Some fixes to the state handling regarding
Mike Bayer [Thu, 7 Apr 2011 21:56:01 +0000 (17:56 -0400)] 
- Some fixes to the state handling regarding
backrefs, typically when autoflush=False, where
the back-referenced collection wouldn't
properly handle add/removes with no net
change.  Thanks to Richard Murri for the
test case + patch.  [ticket:2123]
(also in 0.6.7).

14 years agofix tests so that document related is in a separate fixture base
Mike Bayer [Thu, 7 Apr 2011 17:38:12 +0000 (13:38 -0400)] 
fix tests so that document related is in a separate fixture base

14 years ago- The limit/offset keywords to select() as well
Mike Bayer [Thu, 7 Apr 2011 17:34:38 +0000 (13:34 -0400)] 
- The limit/offset keywords to select() as well
as the value passed to select.limit()/offset()
will be coerced to integer.  [ticket:2116]
(also in 0.6.7)
- Oracle dialect adds use_binds_for_limits=False
create_engine() flag, will render the LIMIT/OFFSET
values inline instead of as binds, reported to
modify the execution plan used by Oracle.
[ticket:2116] (Also in 0.6.7)

14 years ago- Some fixes to "evaulate" and "fetch" evaluation
Mike Bayer [Thu, 7 Apr 2011 16:49:29 +0000 (12:49 -0400)] 
- Some fixes to "evaulate" and "fetch" evaluation
when query.update(), query.delete() are called.
The retrieval of records is done after autoflush
in all cases, and before update/delete is
emitted, guarding against unflushed data present
as well as expired objects failing during
the evaluation.  [ticket:2122]

14 years ago - Still more wording adjustments when a query option
Mike Bayer [Wed, 6 Apr 2011 14:36:33 +0000 (10:36 -0400)] 
  - Still more wording adjustments when a query option
    can't find the target entity.  Explain that the
    path must be from one of the root entities.

14 years ago- add link to concrete base declarative recipe
Mike Bayer [Tue, 5 Apr 2011 19:10:22 +0000 (15:10 -0400)] 
- add link to concrete base declarative recipe

14 years agochangelog
Mike Bayer [Tue, 5 Apr 2011 18:26:44 +0000 (14:26 -0400)] 
changelog

14 years ago- The "pool.manage" feature doesn't use pickle
Mike Bayer [Tue, 5 Apr 2011 18:26:28 +0000 (14:26 -0400)] 
- The "pool.manage" feature doesn't use pickle
anymore to hash the arguments for each pool.

14 years ago- REAL has been added to the core types. Supported
Mike Bayer [Tue, 5 Apr 2011 16:40:55 +0000 (12:40 -0400)] 
- REAL has been added to the core types.  Supported
by Postgresql, SQL Server, MySQL, SQLite.  Note
that the SQL Server and MySQL versions, which
add extra arguments, are also still available
from those dialects.  [ticket:2081]

14 years ago- The 'useexisting' flag on Table has been superceded
Mike Bayer [Tue, 5 Apr 2011 16:04:42 +0000 (12:04 -0400)] 
- The 'useexisting' flag on Table has been superceded
by a new pair of flags 'keep_existing' and
'extend_existing'.   'extend_existing' is equivalent
to 'useexisting' - the existing Table is returned,
and additional constructor elements are added.
With 'keep_existing', the existing Table is returned,
but additional constructor elements are not added -
these elements are only applied when the Table
is newly created.   [ticket:2109]

14 years ago- add some function examples, [ticket:2107]
Mike Bayer [Sat, 2 Apr 2011 20:32:05 +0000 (16:32 -0400)] 
- add some function examples, [ticket:2107]
- have "packagenames" be present on FunctionElement by default
so that compiler.visit_function() can be called
- add a test for that

14 years ago- Fixed mutable extension docs to show the
Mike Bayer [Sat, 2 Apr 2011 20:00:35 +0000 (16:00 -0400)] 
- Fixed mutable extension docs to show the
correct type-association methods.
[ticket:2118]

14 years ago- Added @event.listens_for() decorator, given
Mike Bayer [Sat, 2 Apr 2011 17:29:11 +0000 (13:29 -0400)] 
- Added @event.listens_for() decorator, given
target + event name, applies the decorated
function as a listener.  [ticket:2106]
- remove usage of globals from test.base.test_events

14 years agosome additional clarification on typeengine docs
Mike Bayer [Wed, 30 Mar 2011 18:22:41 +0000 (14:22 -0400)] 
some additional clarification on typeengine docs

14 years ago- beef up the "augmenting existing types" section
Mike Bayer [Wed, 30 Mar 2011 18:07:27 +0000 (14:07 -0400)] 
- beef up the "augmenting existing types" section
- add docstirngs for everything TypeDecorator [ticket:2086]

14 years ago- AssertionPool now stores the traceback indicating
Mike Bayer [Wed, 30 Mar 2011 16:30:54 +0000 (12:30 -0400)] 
- AssertionPool now stores the traceback indicating
where the currently checked out connection was
acquired; this traceback is reported within
the assertion raised upon a second concurrent
checkout; courtesy Gunnlaugur Briem
[ticket:2103]

14 years ago- and fix the message that was the actual subject of [ticket:2063]
Mike Bayer [Mon, 28 Mar 2011 01:14:06 +0000 (21:14 -0400)] 
- and fix the message that was the actual subject of [ticket:2063]

14 years ago- Reworded the exception raised when a flush
Mike Bayer [Mon, 28 Mar 2011 01:06:32 +0000 (21:06 -0400)] 
- Reworded the exception raised when a flush
is attempted of a subclass that is not polymorphic
against the supertype.  [ticket:2063]

14 years ago- add a note about snapshot isolation [ticket:2078]
Mike Bayer [Mon, 28 Mar 2011 00:50:47 +0000 (20:50 -0400)] 
- add a note about snapshot isolation [ticket:2078]

14 years ago- Documented SQLite DATE/TIME/DATETIME types.
Mike Bayer [Mon, 28 Mar 2011 00:34:39 +0000 (20:34 -0400)] 
- Documented SQLite DATE/TIME/DATETIME types.
[ticket:2029] (also in 0.6.7)
- add "currentmodule" directive to all the dialect type docs to
ensure users import from the dialect package, not the "base" module

14 years ago- Using column names that would require quotes
Mike Bayer [Sun, 27 Mar 2011 23:39:39 +0000 (19:39 -0400)] 
- Using column names that would require quotes
for the column itself or for a name-generated
bind parameter, such as names with special
characters, underscores, non-ascii characters,
now properly translate bind parameter keys when
talking to cx_oracle.  [ticket:2100]  (Also
in 0.6.7)

14 years ago- do a close() here so that objects are guaranteed loaded new
Mike Bayer [Sun, 27 Mar 2011 23:26:47 +0000 (19:26 -0400)] 
- do a close() here so that objects are guaranteed loaded new

14 years ago- fix a callcount
Mike Bayer [Sun, 27 Mar 2011 22:16:40 +0000 (18:16 -0400)] 
- fix a callcount
- remove extra _load_fixtures() method.   using the classbound version as the fixtures
seem to have everything classlevel at the moment (wondering if we want to change that
for non-classlevel setup/teardown)

14 years ago- reorganizing the test modules and fixtures, but keeping the essential method of
Mike Bayer [Sun, 27 Mar 2011 21:52:30 +0000 (17:52 -0400)] 
- reorganizing the test modules and fixtures, but keeping the essential method of
creating fixture classes the same, i.e. run a method, then inspect __subclasses__() of
a marked base class, seems to have broken that approach permanently.   While the tests run
locally just fine, on the buildbot most of the environments continue to fail in entirely
random places.   One of the key changes of the reorganization is that the big bunch of
classes from _fixtures.py is now created ad-hoc instead of reusing a set of module-bound
classes.  This means there's a lot more class creation/teardown traffic occuring in the
cPython interpreter.   Taking a look at the docs for __subclasses__() confirms that the
list of subclasses is of course a weak-referenced collection.   So in the absense of the
tests working just fine for a couple of years, it would seem obvious that the bug
here is setup_classes()/mappers() is called, we come back, the new classes are now
not referenced at all, we then call __subclasses__() and maybe we get them, maybe we don't.
But it's totally not clear how this behavior just hasn't occurred at all for a couple
of years (except, possibly, for very rare occasions that I cannot reproduce).   So in this changeset we switch
to a method of class tracking that I use in a lot of other places, that of using a metaclass
to positively stick classes in the registry the moment they are created.   Test classes
are already built against a base that is created per-fixture run so we already have the advantage
of a local system.   I send this changeset to the buildbot and beg of it to please allow our
tests to pass once again !

14 years ago- dont clear the classes collection here either...
Mike Bayer [Sun, 27 Mar 2011 21:28:41 +0000 (17:28 -0400)] 
- dont clear the classes collection here either...

14 years ago- move all the comments that got shoved below the fixture grabs back up
Mike Bayer [Sun, 27 Mar 2011 21:19:00 +0000 (17:19 -0400)] 
- move all the comments that got shoved below the fixture grabs back up

14 years ago- remove test.sql._base, test.engine._base, test.orm._base, move those classes to...
Mike Bayer [Sun, 27 Mar 2011 20:27:27 +0000 (16:27 -0400)] 
- remove test.sql._base, test.engine._base, test.orm._base, move those classes to a new test.lib.fixtures module
- move testing.TestBase to test.lib.fixtures
- massive search and replace

14 years ago- move all the setup_classes(cls) and setup_mappers(cls) to use a
Mike Bayer [Sun, 27 Mar 2011 19:04:06 +0000 (15:04 -0400)] 
- move all the setup_classes(cls) and setup_mappers(cls) to use a
local cls.Basic, cls.Comparable base class so that there is no ambiguity
or hash identity behaviors getting in the way of class registration.

14 years agofixes for savepoint test
Mike Bayer [Sun, 27 Mar 2011 01:52:31 +0000 (21:52 -0400)] 
fixes for savepoint test

14 years ago- convert @provide_metadata to use self access
Mike Bayer [Sun, 27 Mar 2011 01:40:05 +0000 (21:40 -0400)] 
- convert @provide_metadata to use self access
- having occasional issues with BasicEntity grabbing, if it persists
may have to pass an explicit base class into setup_classes()/setup_mappers()

14 years ago- move _fixtures to work via the normal methods of _base.MappedTest, convert
Mike Bayer [Sun, 27 Mar 2011 00:44:47 +0000 (20:44 -0400)] 
- move _fixtures to work via the normal methods of _base.MappedTest, convert
all referncing tests to not use globals
- tests that deal with pickle specifically load the fixture classes
from test.lib.pickleable, which gets some more classes added
- removed weird sa05 pickling tests that don't matter

14 years ago- move _fixtures into the traditional FixtureTest form. will adjust
Mike Bayer [Sat, 26 Mar 2011 23:30:40 +0000 (19:30 -0400)] 
- move _fixtures into the traditional FixtureTest form.  will adjust
old style tests

14 years ago- remove @testing.resolve_artifact_names, replace with direct attribute
Mike Bayer [Sat, 26 Mar 2011 23:03:11 +0000 (19:03 -0400)] 
- remove @testing.resolve_artifact_names, replace with direct attribute
access to the cls/self.tables/classes registries
- express orm/_base.py ORMTest in terms of engine/_base.py TablesTest,
factor out common steps into TablesTest, remove AltEngineTest as a
separate class.   will further consolidate these base classes

14 years agoindent the string here
Mike Bayer [Sat, 26 Mar 2011 19:31:15 +0000 (15:31 -0400)] 
indent the string here

14 years ago- changes to CHANGES
Mike Bayer [Sat, 26 Mar 2011 15:53:07 +0000 (11:53 -0400)] 
- changes to CHANGES

- The "-declarative" changes will now be listed
directly under the "-orm" section, as these
are closely related.

- The 0.5 series changes have been moved to
the file CHANGES_PRE_06 which replaces
CHANGES_PRE_05.

- The changelog for 0.6.7 and subsequent within
the 0.6 series is now listed only in the
CHANGES file within the 0.6 branch.
In the 0.7 CHANGES file all the
0.6 changes are listed inline within the 0.7
section in which they were also applied
(since all 0.6 changes are in 0.7 as well).
Changes that apply to an 0.6 version here
are noted as are if any differences in
implementation/behavior are present.

14 years ago- adjust the previous checkin a bit. need to transfer sequences over from pickle
Mike Bayer [Wed, 23 Mar 2011 21:38:54 +0000 (17:38 -0400)] 
- adjust the previous checkin a bit.  need to transfer sequences over from pickle
even if they are *not* restated.  its necessary here to do a "replacement"
scheme when an incoming sequence replaces the previous.  Theoretically
we could do what Table does here, i.e. use a singleton constructor, but
this is heavyhanded.   The most recent sequence placed in is the winner
is likely the most expected behavior.

14 years ago- Fixed regression whereby MetaData() coming
Mike Bayer [Wed, 23 Mar 2011 21:25:57 +0000 (17:25 -0400)] 
- Fixed regression whereby MetaData() coming
back from unpickling did not keep track of
new things it keeps track of now, i.e.
collection of Sequence objects, list
of schema names.  [ticket:2104]

14 years ago- Fixed bug in QueuePool, SingletonThreadPool whereby
Mike Bayer [Wed, 23 Mar 2011 03:39:05 +0000 (23:39 -0400)] 
- Fixed bug in QueuePool, SingletonThreadPool whereby
connections that were discarded via overflow or periodic
cleanup() were not explicitly closed, leaving garbage
collection to the task instead.   This generally only
affects non-reference-counting backends like Jython
and Pypy.  Thanks to Jaimy Azle for spotting
this.  [ticket:2102]

14 years ago- Restored the "catchall" constructor on the base
Mike Bayer [Mon, 21 Mar 2011 15:49:43 +0000 (11:49 -0400)] 
- Restored the "catchall" constructor on the base
TypeEngine class, with a deprecation warning.
This so that code which does something like
Integer(11) still succeeds.

14 years agoAdded tag rel_0_7b3 for changeset b6423d26280cac2ff74ab1450ce5549789ffa61e
Mike Bayer [Sun, 20 Mar 2011 19:14:15 +0000 (15:14 -0400)] 
Added tag rel_0_7b3 for changeset b6423d26280cac2ff74ab1450ce5549789ffa61e

14 years ago- remove all the fanfare from dynamic_loader() and de-emphasize it in rel_0_7b3
Mike Bayer [Sun, 20 Mar 2011 18:54:35 +0000 (14:54 -0400)] 
- remove all the fanfare from dynamic_loader() and de-emphasize it in
the docs for [ticket:2080].   Not deprecating for now.

14 years ago- add attrstrings for all the important mapper() attrbutes, [ticket:2094].
Mike Bayer [Sun, 20 Mar 2011 18:00:16 +0000 (14:00 -0400)] 
- add attrstrings for all the important mapper() attrbutes, [ticket:2094].
Sticking with quotes here since that's what's used everywhere else.
- rename "API Documentation - XYZ" to "XYZ API".
- move connection API docs to the bottom of that section.  still
floating between separate API sections vs. inline API sections, not
sure how to be consistent.
- fix outdated paragraph about derived_attrbutes
- other target function fixes