]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years agoReworked r4042- undeclared deprecation warnings are now *fatal* to tests. No surprises.
Jason Kirtland [Thu, 10 Jan 2008 02:37:39 +0000 (02:37 +0000)] 
Reworked r4042- undeclared deprecation warnings are now *fatal* to tests.  No surprises.

17 years agotest suite deprecation rampage
Jason Kirtland [Wed, 9 Jan 2008 22:54:51 +0000 (22:54 +0000)] 
test suite deprecation rampage

17 years agobump.
Jason Kirtland [Wed, 9 Jan 2008 22:53:33 +0000 (22:53 +0000)] 
bump.

17 years agoformatting, added UnicodeText rel_0_4_2p3
Mike Bayer [Wed, 9 Jan 2008 21:37:42 +0000 (21:37 +0000)] 
formatting, added UnicodeText

17 years agoSilenced deprecation warnings when testing deprecated extensions...
Jason Kirtland [Wed, 9 Jan 2008 20:41:14 +0000 (20:41 +0000)] 
Silenced deprecation warnings when testing deprecated extensions...

17 years agoAdded explicit length to more testing String columns.
Jason Kirtland [Wed, 9 Jan 2008 20:29:04 +0000 (20:29 +0000)] 
Added explicit length to more testing String columns.

17 years agore-bump
Jason Kirtland [Wed, 9 Jan 2008 20:23:53 +0000 (20:23 +0000)] 
re-bump

17 years agoAdded UnicodeText alias
Jason Kirtland [Wed, 9 Jan 2008 20:22:41 +0000 (20:22 +0000)] 
Added UnicodeText alias

17 years ago- fixed bug with session.dirty when using "mutable scalars"
Mike Bayer [Wed, 9 Jan 2008 18:52:35 +0000 (18:52 +0000)] 
- fixed bug with session.dirty when using "mutable scalars"
(such as PickleTypes)

- added a more descriptive error message when flushing on a
relation() that has non-locally-mapped columns in its primary or
secondary join condition

17 years agoredid the _for_ddl String/Text deprecation warning correctly [ticket:912]
Mike Bayer [Wed, 9 Jan 2008 18:09:49 +0000 (18:09 +0000)] 
redid the _for_ddl String/Text deprecation warning correctly [ticket:912]

17 years ago- fixed bug in union() so that select() statements which don't derive
Mike Bayer [Tue, 8 Jan 2008 21:53:37 +0000 (21:53 +0000)] 
- fixed bug in union() so that select() statements which don't derive
from FromClause objects can be unioned

17 years ago- Text type is properly exported now and does not raise a warning
Mike Bayer [Tue, 8 Jan 2008 08:55:18 +0000 (08:55 +0000)] 
- Text type is properly exported now and does not raise a warning
on DDL create

17 years agoFixed reflection of mysql empty string column defaults.
Jason Kirtland [Tue, 8 Jan 2008 07:46:37 +0000 (07:46 +0000)] 
Fixed reflection of mysql empty string column defaults.

17 years agobump
Mike Bayer [Mon, 7 Jan 2008 20:13:29 +0000 (20:13 +0000)] 
bump

17 years agologged [ticket:923] fix rel_0_4_2b
Mike Bayer [Mon, 7 Jan 2008 19:59:23 +0000 (19:59 +0000)] 
logged [ticket:923] fix

17 years agoFix for ticket [923]
Rick Morrison [Mon, 7 Jan 2008 19:33:29 +0000 (19:33 +0000)] 
Fix for ticket [923]

17 years ago- fixed an attribute history bug whereby assigning a new collection
Mike Bayer [Mon, 7 Jan 2008 18:52:02 +0000 (18:52 +0000)] 
- fixed an attribute history bug whereby assigning a new collection
to a collection-based attribute which already had pending changes
would generate incorrect history [ticket:922]

- fixed delete-orphan cascade bug whereby setting the same
object twice to a scalar attribute could log it as an orphan
[ticket:925]
- generative select.order_by(None) / group_by(None) was not managing to
reset order by/group by criterion, fixed [ticket:924]

17 years ago- suppressing *all* errors in InstanceState.__cleanup() now.
Mike Bayer [Sun, 6 Jan 2008 20:41:48 +0000 (20:41 +0000)] 
- suppressing *all* errors in InstanceState.__cleanup() now.

17 years ago- fixed bug which could occur with polymorphic "union" mapper
Mike Bayer [Sun, 6 Jan 2008 20:32:45 +0000 (20:32 +0000)] 
- fixed bug which could occur with polymorphic "union" mapper
which falls back to "deferred" loading of inheriting tables

- the "columns" collection on a mapper/mapped class (i.e. 'c')
is against the mapped table, not the select_table in the
case of polymorphic "union" loading (this shouldn't be
noticeable)

17 years ago- synonyms can now be created against props that don't exist yet,
Mike Bayer [Sat, 5 Jan 2008 23:27:02 +0000 (23:27 +0000)] 
- synonyms can now be created against props that don't exist yet,
which are later added via add_property().  This commonly includes
backrefs. (i.e. you can make synonyms for backrefs without
worrying about the order of operations) [ticket:919]

17 years ago- changed name of TEXT to Text since its a "generic" type; TEXT name is
Mike Bayer [Sat, 5 Jan 2008 22:59:18 +0000 (22:59 +0000)] 
- changed name of TEXT to Text since its a "generic" type; TEXT name is
deprecated until 0.5.  The "upgrading" behavior of String to Text
when no length is present is also deprecated until 0.5; will issue a
warning when used for CREATE TABLE statements (String with no length
for SQL expression purposes is still fine) [ticket:912]

17 years agoAdded 'function_call_count' assertion decorator. The full-suite vs. isolated run...
Jason Kirtland [Sat, 5 Jan 2008 21:56:22 +0000 (21:56 +0000)] 
Added 'function_call_count' assertion decorator.  The full-suite vs. isolated run call count discrepancy needs to be ironed out before this can be applied to zoomark.

17 years agoUpdates
Jason Kirtland [Sat, 5 Jan 2008 21:46:08 +0000 (21:46 +0000)] 
Updates

17 years agoAdded lots o' info.
Jason Kirtland [Sat, 5 Jan 2008 20:50:10 +0000 (20:50 +0000)] 
Added lots o' info.

17 years agoMore overloads: fix cascades for += on a list relation, added operator support to...
Jason Kirtland [Sat, 5 Jan 2008 19:11:58 +0000 (19:11 +0000)] 
More overloads: fix cascades for += on a list relation, added operator support to association proxied lists.

17 years agobump.
Jason Kirtland [Sat, 5 Jan 2008 18:42:46 +0000 (18:42 +0000)] 
bump.

17 years agocalling this 0.4.2a rel_0_4_2a
Mike Bayer [Sat, 5 Jan 2008 18:27:12 +0000 (18:27 +0000)] 
calling this 0.4.2a

17 years ago- fixed fairly critical bug whereby the same instance could be listed
Mike Bayer [Sat, 5 Jan 2008 18:26:28 +0000 (18:26 +0000)] 
- fixed fairly critical bug whereby the same instance could be listed
more than once in the unitofwork.new collection; most typically
reproduced when using a combination of inheriting mappers and
ScopedSession.mapper, as the multiple __init__ calls per instance
could save() the object with distinct _state objects

17 years agoExperimental: modestly more informative repr() for some expressions (using .description)
Jason Kirtland [Sat, 5 Jan 2008 00:37:08 +0000 (00:37 +0000)] 
Experimental: modestly more informative repr() for some expressions (using .description)

17 years agoMigrated a few in-function 'from x import y' to the 'global x; if x is None' style.
Jason Kirtland [Sat, 5 Jan 2008 00:25:57 +0000 (00:25 +0000)] 
Migrated a few in-function 'from x import y' to the 'global x; if x is None' style.

17 years agoRefined bulk-assignment aspects of the r3999 in-place collection operator fix. Also...
Jason Kirtland [Fri, 4 Jan 2008 20:40:22 +0000 (20:40 +0000)] 
Refined bulk-assignment aspects of the r3999 in-place collection operator fix. Also? r4000!

17 years agoFixed in-place set mutation operator support [ticket:920]
Jason Kirtland [Fri, 4 Jan 2008 20:17:42 +0000 (20:17 +0000)] 
Fixed in-place set mutation operator support [ticket:920]

17 years agoAdded REPLACE statements to mysql autocommit list.
Jason Kirtland [Fri, 4 Jan 2008 19:10:18 +0000 (19:10 +0000)] 
Added REPLACE statements to mysql autocommit list.

17 years agofunc unittest fix
Mike Bayer [Fri, 4 Jan 2008 03:13:20 +0000 (03:13 +0000)] 
func unittest fix

17 years agofix select tests for labeled functions
Mike Bayer [Fri, 4 Jan 2008 03:09:17 +0000 (03:09 +0000)] 
fix select tests for labeled functions

17 years agoadd anonymous labels to function calls
Mike Bayer [Fri, 4 Jan 2008 01:00:42 +0000 (01:00 +0000)] 
add anonymous labels to function calls

17 years agofix not calling the result processor of PGArray subtypes. (a rather embarrasing copyp...
Ants Aasma [Thu, 3 Jan 2008 23:38:55 +0000 (23:38 +0000)] 
fix not calling the result processor of PGArray subtypes. (a rather embarrasing copypaste error) [ticket:913]

17 years ago- added very rudimentary yielding iterator behavior to Query. Call
Mike Bayer [Wed, 2 Jan 2008 23:13:02 +0000 (23:13 +0000)] 
- added very rudimentary yielding iterator behavior to Query.  Call
query.yield_per(<number of rows>) and evaluate the Query in an
iterative context; every collection of N rows will be packaged up
and yielded.  Use this method with extreme caution since it does
not attempt to reconcile eagerly loaded collections across
result batch boundaries, nor will it behave nicely if the same
instance occurs in more than one batch.  This means that an eagerly
loaded collection will get cleared out if it's referenced in more than
one batch, and in all cases attributes will be overwritten on instances
that occur in more than one batch.

17 years agofix weakref issue seen on one buildbot test rel_0_4_2
Mike Bayer [Wed, 2 Jan 2008 01:34:25 +0000 (01:34 +0000)] 
fix weakref issue seen on one buildbot test

17 years ago- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly
Mike Bayer [Wed, 2 Jan 2008 01:29:38 +0000 (01:29 +0000)] 
- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly
- _handle_dbapi_exception() usage changed so that unwrapped exceptions can be rethrown with the original stack trace

17 years agohappy new year
Mike Bayer [Tue, 1 Jan 2008 17:42:17 +0000 (17:42 +0000)] 
happy new year

17 years agofix to new TypeDecorator
Mike Bayer [Tue, 1 Jan 2008 01:47:58 +0000 (01:47 +0000)] 
fix to new TypeDecorator

17 years agofix up oracle handling of LOB/string [ticket:902], slight fixes to defaults.py but we
Mike Bayer [Tue, 1 Jan 2008 00:43:24 +0000 (00:43 +0000)] 
fix up oracle handling of LOB/string [ticket:902], slight fixes to defaults.py but we
will need to fix up result-type handling some more

17 years agofilter() criterion takes mapper equivalent_columns into account when it adapts to...
Mike Bayer [Mon, 31 Dec 2007 10:23:21 +0000 (10:23 +0000)] 
filter() criterion takes mapper equivalent_columns into account when it adapts to select_table.  more to come in [ticket:917] .

17 years agoremove "is None" from boolean tests
Mike Bayer [Sat, 29 Dec 2007 20:52:50 +0000 (20:52 +0000)] 
remove "is None" from boolean tests

17 years agolimit scope of try/except
Mike Bayer [Sat, 29 Dec 2007 20:50:32 +0000 (20:50 +0000)] 
limit scope of try/except

17 years agouse long for query runid counter
Mike Bayer [Sat, 29 Dec 2007 20:46:07 +0000 (20:46 +0000)] 
use long for query runid counter

17 years ago- added is_disconnect() support for oracle
Mike Bayer [Sat, 29 Dec 2007 20:13:50 +0000 (20:13 +0000)] 
- added is_disconnect() support for oracle
- fixed _handle_dbapi_error to detect endless loops, doesn't call rollback/cursor.close
etc. in case of disconnect

17 years ago- mapped classes which extend "object" and do not provide an
Mike Bayer [Sat, 29 Dec 2007 19:20:38 +0000 (19:20 +0000)] 
- mapped classes which extend "object" and do not provide an
__init__() method will now raise TypeError if non-empty *args
or **kwargs are present at instance construction time (and are
not consumed by any extensions such as the scoped_session mapper),
consistent with the behavior of normal Python classes [ticket:908]

17 years ago- fixed Query bug when filter_by() compares a relation against None
Mike Bayer [Sat, 29 Dec 2007 18:50:46 +0000 (18:50 +0000)] 
- fixed Query bug when filter_by() compares a relation against None
[ticket:899]

17 years ago- MapperExtension.before_update() and after_update() are now called
Mike Bayer [Sat, 29 Dec 2007 18:33:27 +0000 (18:33 +0000)] 
- MapperExtension.before_update() and after_update() are now called
symmetrically; previously, an instance that had no modified column
attributes (but had a relation() modification) could be called with
before_update() but not after_update() [ticket:907]

17 years ago- fixed session.refresh() with instance that has custom entity_name
Mike Bayer [Sat, 29 Dec 2007 18:22:21 +0000 (18:22 +0000)] 
- fixed session.refresh() with instance that has custom entity_name
[ticket:914]

17 years agosome rudimentary fixes to get instance-level deferreds/lazy loads to transfer over...
Mike Bayer [Fri, 21 Dec 2007 21:55:20 +0000 (21:55 +0000)] 
some rudimentary fixes to get instance-level deferreds/lazy loads to transfer over on merge()

17 years agocruft ! who knew
Mike Bayer [Fri, 21 Dec 2007 16:58:18 +0000 (16:58 +0000)] 
cruft ! who knew

17 years agoadded assertion for expiry's current inability to detect a PK switch in the DB
Mike Bayer [Fri, 21 Dec 2007 16:44:12 +0000 (16:44 +0000)] 
added assertion for expiry's current inability to detect a PK switch in the DB

17 years ago- disabled the "populate expired/deferred attributes as we come across them" function...
Mike Bayer [Fri, 21 Dec 2007 16:20:46 +0000 (16:20 +0000)] 
- disabled the "populate expired/deferred attributes as we come across them" functionality in mapper._instance(), as its not completed, doesn't properly handle mutable scalar attributes, and has poor test coverage

17 years agomass load wont overwrite modified expired attributes
Mike Bayer [Fri, 21 Dec 2007 07:26:39 +0000 (07:26 +0000)] 
mass load wont overwrite modified expired attributes

17 years agobroke up various class-level mapper/instance fanfare into class_level_loader; load...
Mike Bayer [Fri, 21 Dec 2007 07:10:14 +0000 (07:10 +0000)] 
broke up various class-level mapper/instance fanfare into class_level_loader; load-time setup_loader just returns a loader object with no checks

17 years ago- reworked all lazy/deferred/expired callables to be
Mike Bayer [Fri, 21 Dec 2007 06:57:20 +0000 (06:57 +0000)] 
- reworked all lazy/deferred/expired callables to be
serializable class instances, added pickling tests
- cleaned up "deferred" polymorphic system so that the
mapper handles it entirely
- columns which are missing from a Query's select statement
now get automatically deferred during load.

17 years ago- inheriting mappers now inherit the MapperExtensions of their parent
Mike Bayer [Thu, 20 Dec 2007 02:37:48 +0000 (02:37 +0000)] 
- inheriting mappers now inherit the MapperExtensions of their parent
mapper directly, so that all methods for a particular MapperExtension
are called for subclasses as well.  As always, any MapperExtension
can return either EXT_CONTINUE to continue extension processing
or EXT_STOP to stop processing.  The order of mapper resolution is:
<extensions declared on the classes mapper> <extensions declared on the
classes' parent mapper> <globally declared extensions>.

Note that if you instantiate the same extension class separately
and then apply it individually for two mappers in the same inheritance
chain, the extension will be applied twice to the inheriting class,
and each method will be called twice.

To apply a mapper extension explicitly to each inheriting class but
have each method called only once per operation, use the same
instance of the extension for both mappers.
[ticket:490]

17 years ago- sqlite SLDate type will not erroneously render "microseconds" portion
Mike Bayer [Thu, 20 Dec 2007 01:45:36 +0000 (01:45 +0000)] 
- sqlite SLDate type will not erroneously render "microseconds" portion
of a datetime or time object when sent to the DB.

17 years agoforgot CHANGES
Rick Morrison [Wed, 19 Dec 2007 23:15:25 +0000 (23:15 +0000)] 
forgot CHANGES

17 years agoFix for autoload of non-identity PK integer columns [824]
Rick Morrison [Wed, 19 Dec 2007 23:04:43 +0000 (23:04 +0000)] 
Fix for autoload of non-identity PK integer columns [824]
Better datetime checking/conversion for pyodbc adodbapi [842]
Fix for autoloading schema-qualified tables [901]
Convert_unicode support for all dialects [839]

17 years ago- Re-raise SystemExit et al in _ConnectionRecord.close
Jason Kirtland [Wed, 19 Dec 2007 20:36:37 +0000 (20:36 +0000)] 
- Re-raise SystemExit et al in _ConnectionRecord.close
- Little code cleanup- decreased verbosity of string formatting.

17 years ago- auto-reconnect support improved; a Connection can now automatically
Mike Bayer [Wed, 19 Dec 2007 19:51:46 +0000 (19:51 +0000)] 
- auto-reconnect support improved; a Connection can now automatically
reconnect after its underlying connection is invalidated, without
needing to connect() again from the engine.  This allows an ORM session
bound to a single Connection to not need a reconnect.
Open transactions on the Connection must be rolled back after an invalidation
of the underlying connection else an error is raised.  Also fixed
bug where disconnect detect was not being called for cursor(), rollback(),
or commit().

17 years agoFix the unpacking of the refered table name under Firebird
Lele Gaifax [Wed, 19 Dec 2007 08:03:57 +0000 (08:03 +0000)] 
Fix the unpacking of the refered table name under Firebird
This fixes a little glitch introduced in [3959], in case of "implicit FKs"
(that is, {{{ForeignKey("orders")}}}, where the field(s) is missing).

17 years agointroductory docstring bonanza
Mike Bayer [Tue, 18 Dec 2007 23:53:40 +0000 (23:53 +0000)] 
introductory docstring bonanza

17 years agoApply default cascade rules for firebird self-ref ForeignKeys.
Jason Kirtland [Tue, 18 Dec 2007 19:37:03 +0000 (19:37 +0000)] 
Apply default cascade rules for firebird self-ref ForeignKeys.

17 years agoa little pre-lunch decrufting and cleanup
Mike Bayer [Tue, 18 Dec 2007 19:32:03 +0000 (19:32 +0000)] 
a little pre-lunch decrufting and cleanup

17 years agoUse an explicit ordering in the query
Lele Gaifax [Tue, 18 Dec 2007 13:06:24 +0000 (13:06 +0000)] 
Use an explicit ordering in the query

17 years agoAdd Firebird to the list of DBs that needs explicit sequences
Lele Gaifax [Tue, 18 Dec 2007 13:03:55 +0000 (13:03 +0000)] 
Add Firebird to the list of DBs that needs explicit sequences

17 years agoget most oracle tests in sql working again....
Mike Bayer [Tue, 18 Dec 2007 06:13:42 +0000 (06:13 +0000)] 
get most oracle tests in sql working again....

17 years ago- cleanup; lambdas removed from properties; properties mirror same-named functions...
Mike Bayer [Tue, 18 Dec 2007 05:40:06 +0000 (05:40 +0000)] 
- cleanup; lambdas removed from properties; properties mirror same-named functions (more like eventual decorator syntax); remove some old methods, factor out some "raiseerr" ugliness to outer lying functions.
- corresponding_column() integrates "require_embedded" flag with other set arithmetic

17 years ago- select().as_scalar() will raise an exception if the select does not have
Mike Bayer [Tue, 18 Dec 2007 00:24:03 +0000 (00:24 +0000)] 
- select().as_scalar() will raise an exception if the select does not have
exactly one expression in its columns clause.
- added "helper exception" to select.type access, generic functions raise
the chance of this happening
- a slight behavioral change to attributes is, del'ing an attribute
does *not* cause the lazyloader of that attribute to fire off again;
the "del" makes the effective value of the attribute "None".  To
re-trigger the "loader" for an attribute, use
session.expire(instance, [attrname]).
- fix ormtutorial for IS NULL

17 years agofixed del history
Mike Bayer [Sun, 16 Dec 2007 20:32:56 +0000 (20:32 +0000)] 
fixed del history

17 years agoafter_update called with state.obj()
Mike Bayer [Sun, 16 Dec 2007 20:11:36 +0000 (20:11 +0000)] 
after_update called with state.obj()

17 years ago- more fixes to the LIMIT/OFFSET aliasing applied with Query + eagerloads,
Mike Bayer [Sun, 16 Dec 2007 18:32:25 +0000 (18:32 +0000)] 
- more fixes to the LIMIT/OFFSET aliasing applied with Query + eagerloads,
in this case when mapped against a select statement [ticket:904]
- _hide_froms logic in expression totally localized to Join class, including search through previous clone sources
- removed "stop_on" from main visitors, not used
- "stop_on" in AbstractClauseProcessor part of constructor, ClauseAdapter sets it up based on given clause
- fixes to is_derived_from() to take previous clone sources into account, Alias takes self + cloned sources into account. this is ultimately what the #904 bug was.

17 years agoFix bad example of Firebird test DB
Lele Gaifax [Sun, 16 Dec 2007 10:59:06 +0000 (10:59 +0000)] 
Fix bad example of Firebird test DB
Use an absolute path rather than a relative one, and the out-of-the-box
sysdba password. This is just to avoid confusing new testers, that should
add a db.firebird entry in their ~/satest.cfg anyway.

17 years agomoved hide_froms and aggregate_hide_froms to be only on FromClause
Mike Bayer [Sun, 16 Dec 2007 02:54:42 +0000 (02:54 +0000)] 
moved hide_froms and aggregate_hide_froms to be only on FromClause

17 years agoRevert to use default poolclass under Firebird
Lele Gaifax [Sat, 15 Dec 2007 16:14:31 +0000 (16:14 +0000)] 
Revert to use default poolclass under Firebird
This partially reverts [3562] and instead documents the problem suggesting
a possible workaround. For the tests, the occurence of the problem is
largely reduced by using a TCP connection (that is, 'localhost:/some/file.fdb'
instead of '/some/file.fdb')

17 years agoRemove some spurious spaces
Lele Gaifax [Sat, 15 Dec 2007 13:23:15 +0000 (13:23 +0000)] 
Remove some spurious spaces

17 years agoFixed minor reST issue
Lele Gaifax [Sat, 15 Dec 2007 10:08:37 +0000 (10:08 +0000)] 
Fixed minor reST issue

17 years agoDocumentation markup and a few typos
Lele Gaifax [Sat, 15 Dec 2007 09:50:35 +0000 (09:50 +0000)] 
Documentation markup and a few typos

17 years agoImplemented FBDialect.server_version_info()
Lele Gaifax [Sat, 15 Dec 2007 09:02:41 +0000 (09:02 +0000)] 
Implemented FBDialect.server_version_info()

17 years agooof...unicode object still needs to return the value if it just warned...
Mike Bayer [Fri, 14 Dec 2007 23:47:33 +0000 (23:47 +0000)] 
oof...unicode object still needs to return the value if it just warned...

17 years agooof, history on collections were wrong. fixed byroot_tree test as well
Mike Bayer [Fri, 14 Dec 2007 23:28:10 +0000 (23:28 +0000)] 
oof, history on collections were wrong. fixed byroot_tree test as well

17 years ago- simplified _mapper_registry further. its now just a weakkeydict of mapper->True...
Mike Bayer [Fri, 14 Dec 2007 23:11:13 +0000 (23:11 +0000)] 
- simplified _mapper_registry further.  its now just a weakkeydict of mapper->True, stores
all mappers including non primaries, and is strictly used for the list of "to compile/dispose".
- all global references are now weak referencing.  if you del a mapped class and any dependent classes,
its mapper and all dependencies fall out of scope.
- attributes.py still had issues which were barely covered by tests.  added way more tests (coverage.py still says 71%, doh)
fixed things, took out unnecessary commit to states.  attribute history is also asserted for ordering.

17 years agoadded an inheritance test
Mike Bayer [Fri, 14 Dec 2007 18:08:55 +0000 (18:08 +0000)] 
added an inheritance test

17 years agoFirebird module documentation
Lele Gaifax [Fri, 14 Dec 2007 16:45:46 +0000 (16:45 +0000)] 
Firebird module documentation

17 years agocorrection...
Jason Kirtland [Fri, 14 Dec 2007 10:30:14 +0000 (10:30 +0000)] 
correction...

17 years agotry to bang mysql tests to work
Mike Bayer [Fri, 14 Dec 2007 06:29:31 +0000 (06:29 +0000)] 
try to bang mysql tests to work

17 years ago- merged instances_yields branch r3908:3934, minus the "yield" part which remains...
Mike Bayer [Fri, 14 Dec 2007 05:53:18 +0000 (05:53 +0000)] 
- merged instances_yields branch r3908:3934, minus the "yield" part which remains slightly problematic
- cleanup of mapper._instance, query.instances().  mapper identifies objects which are part of the
current load using a app-unique id on the query context.
- attributes refactor; attributes now mostly use copy-on-modify instead of copy-on-load behavior,
simplified get_history(), added a new set of tests
- fixes to OrderedSet such that difference(), intersection() and others can accept an iterator
- OrderedIdentitySet passes in OrderedSet to the IdentitySet superclass for usage in difference/intersection/etc. operations so that these methods actually work with ordering behavior.
- query.order_by() takes into account aliased joins, i.e.  query.join('orders', aliased=True).order_by(Order.id)
- cleanup etc.

17 years ago- Raise an error when assigning a bogusly keyed dictionary to one of the builtin...
Jason Kirtland [Fri, 14 Dec 2007 00:13:18 +0000 (00:13 +0000)] 
- Raise an error when assigning a bogusly keyed dictionary to one of the builtin dict-based collection types [ticket:886]
- Collections gain a @converter framework for flexible validation and adaptation of bulk assignment
- Bogus bulk assignments now raise TypeError instead of exceptions.ArgumentError

17 years agoFixed some __repr__'s attempting to %d their not-yet-assigned primary key ids.
Jason Kirtland [Thu, 13 Dec 2007 21:56:52 +0000 (21:56 +0000)] 
Fixed some __repr__'s attempting to %d their not-yet-assigned primary key ids.

17 years agoFirebird does use qmark style params
Lele Gaifax [Thu, 13 Dec 2007 20:16:23 +0000 (20:16 +0000)] 
Firebird does use qmark style params

17 years agoUse the external strlen UDF for func.length() under Firebird
Lele Gaifax [Thu, 13 Dec 2007 15:53:35 +0000 (15:53 +0000)] 
Use the external strlen UDF for func.length() under Firebird

17 years ago- Removed @testing.supported. Dialects in development or maintained outside
Jason Kirtland [Thu, 13 Dec 2007 09:59:14 +0000 (09:59 +0000)] 
- Removed @testing.supported.  Dialects in development or maintained outside
  the tree can now run the full suite of tests out of the box.
- Migrated most @supported to @fails_on, @fails_on_everything_but, or (last
  resort) @unsupported.  @fails_on revealed a slew of bogus test skippage,
  which was corrected.
- Added @fails_on_everything_but.  Yes, the first usage *was*
  "fails_on_everything_but('postgres')".  How did you guess!
- Migrated @supported in dialect/* to the new test-class attribute __only_on__.
- Test classes can also have __unsupported_on__ and __excluded_on__.

17 years agoDisabled some tests with INTERSECT, not handled by Firebird
Lele Gaifax [Wed, 12 Dec 2007 23:06:22 +0000 (23:06 +0000)] 
Disabled some tests with INTERSECT, not handled by Firebird

17 years agoUse an external UDF to implement the mod operator under Firebird
Lele Gaifax [Wed, 12 Dec 2007 23:00:42 +0000 (23:00 +0000)] 
Use an external UDF to implement the mod operator under Firebird

17 years agobug fixes
Chris Mcdonough [Wed, 12 Dec 2007 20:20:03 +0000 (20:20 +0000)] 
bug fixes

- the call to self.get() in get_committed_state was missing a required parameter, rendered sqlalchemy unusable in certain situations

- fixed a large bug in dynamic_loader() where the query criterion wasn't generated correctly if other relations existed to dynamic_loader's argument