]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
19 years agofixed bug where Column with redefined "key" property wasnt getting
Mike Bayer [Wed, 14 Jun 2006 16:46:38 +0000 (16:46 +0000)] 
fixed bug where Column with redefined "key" property wasnt getting
type conversion happening in the ResultProxy [ticket:207]

19 years agofixed nested rollbacks
Mike Bayer [Wed, 14 Jun 2006 15:50:40 +0000 (15:50 +0000)] 
fixed nested rollbacks

19 years agounit tests for dangling subquery, many-to-many clear-and-resave
Mike Bayer [Wed, 14 Jun 2006 15:39:46 +0000 (15:39 +0000)] 
unit tests for dangling subquery, many-to-many clear-and-resave

19 years agoadjustment to better allow textual from clauses
Mike Bayer [Mon, 12 Jun 2006 19:53:42 +0000 (19:53 +0000)] 
adjustment to better allow textual from clauses

19 years ago"parent track" function needed to be more specific to the parent class
Mike Bayer [Sat, 10 Jun 2006 19:40:26 +0000 (19:40 +0000)] 
"parent track" function needed to be more specific to the parent class

19 years agoseparated standalone between(), column.between(), put literal checking for both,...
Mike Bayer [Thu, 8 Jun 2006 17:38:37 +0000 (17:38 +0000)] 
separated standalone between(), column.between(), put literal checking for both, favor column.between()

19 years agofixed typing for between() operator, [ticket:202]
Mike Bayer [Thu, 8 Jun 2006 17:29:18 +0000 (17:29 +0000)] 
fixed typing for between() operator, [ticket:202]

19 years agofixed module scoping for class_mapper [ticket:201]
Mike Bayer [Thu, 8 Jun 2006 17:04:15 +0000 (17:04 +0000)] 
fixed module scoping for class_mapper [ticket:201]

19 years agolate compilation of mappers. now you can create mappers in any order, and they will...
Mike Bayer [Thu, 8 Jun 2006 16:58:14 +0000 (16:58 +0000)] 
late compilation of mappers.  now you can create mappers in any order, and they will compile their internal state when first used in a query or flush operation (or their props or 'c'/'columns' attributes are used).  includes various cleanups and fixes in support of the change, including some unit test changes, additional unit tests.

19 years agopossible fix to cascade_mappers
Mike Bayer [Wed, 7 Jun 2006 23:32:52 +0000 (23:32 +0000)] 
possible fix to cascade_mappers

19 years agofixed [ticket:200]
Mike Bayer [Wed, 7 Jun 2006 23:16:35 +0000 (23:16 +0000)] 
fixed [ticket:200]

19 years agoFurther improved the process_relationships function to handle the ordering of
Jonathan LaCour [Tue, 6 Jun 2006 17:58:41 +0000 (17:58 +0000)] 
Further improved the process_relationships function to handle the ordering of
class definitions better. The function was only looking at relationships, not
foreign keys, and was making some improper assumptions. The unit tests all
still pass, and now some of my own code actually works, regardless of the order
that I define the classes in.' 'lib/sqlalchemy/ext/activemapper.py

19 years agofixed bug where tables with schema name werent getting indexed in metadata correctly
Mike Bayer [Tue, 6 Jun 2006 16:38:30 +0000 (16:38 +0000)] 
fixed bug where tables with schema name werent getting indexed in metadata correctly

19 years agoCopy __name__ and __doc__ from oldinit.
sean [Tue, 6 Jun 2006 04:44:39 +0000 (04:44 +0000)] 
Copy __name__ and __doc__ from oldinit.

19 years agofix to backref when its none for one-to-one
Mike Bayer [Tue, 6 Jun 2006 01:33:17 +0000 (01:33 +0000)] 
fix to backref when its none for one-to-one

19 years agoadded "NonExistentTable" exception throw to reflection, courtesy lbruno@republico...
Mike Bayer [Tue, 6 Jun 2006 00:11:54 +0000 (00:11 +0000)] 
added "NonExistentTable" exception throw to reflection, courtesy lbruno@republico.estv.ipv.pt, for [ticket:138]

19 years agofactored out "inheriting_tasks" member of UOWTask. all "polymorphic traversal" is...
Mike Bayer [Tue, 6 Jun 2006 00:02:48 +0000 (00:02 +0000)] 
factored out "inheriting_tasks" member of UOWTask.  all "polymorphic traversal" is done via the polymorphic_tasks() method.

19 years agoHashSet is gone, uses set() for most sets in py2.4 or sets.Set.
Mike Bayer [Mon, 5 Jun 2006 23:28:44 +0000 (23:28 +0000)] 
HashSet is gone, uses set() for most sets in py2.4 or sets.Set.
ordered set functionality supplied by a subclass of sets.Set

19 years ago"foreignkey" property of PropertyLoader is a sets.Set. removed "foreigntable".
Mike Bayer [Mon, 5 Jun 2006 22:45:10 +0000 (22:45 +0000)] 
"foreignkey" property of PropertyLoader is a sets.Set.  removed "foreigntable".
simplified/fixed foreign key location in _find_dependent(), fixes [ticket:151]

19 years agofixed InvalidRequestException -> InvalidRequestError typo
sean [Mon, 5 Jun 2006 21:19:20 +0000 (21:19 +0000)] 
fixed InvalidRequestException -> InvalidRequestError typo

19 years agotweaks rel_0_2_2
Mike Bayer [Mon, 5 Jun 2006 19:27:47 +0000 (19:27 +0000)] 
tweaks

19 years ago0.2.2 prep, added "pickler" option to Pickle type
Mike Bayer [Mon, 5 Jun 2006 19:18:48 +0000 (19:18 +0000)] 
0.2.2 prep, added "pickler" option to Pickle type

19 years agoforce_close...
Mike Bayer [Mon, 5 Jun 2006 18:26:54 +0000 (18:26 +0000)] 
force_close...

19 years agomore fixes to transaction nesting, interacts better with close() statement
Mike Bayer [Mon, 5 Jun 2006 18:25:35 +0000 (18:25 +0000)] 
more fixes to transaction nesting, interacts better with close() statement

19 years agoreorganized unit tests into subdirectories
Mike Bayer [Mon, 5 Jun 2006 17:25:51 +0000 (17:25 +0000)] 
reorganized unit tests into subdirectories

20 years agoimprovements/fixes to session cascade iteration,
Mike Bayer [Mon, 5 Jun 2006 02:31:53 +0000 (02:31 +0000)] 
improvements/fixes to session cascade iteration,
fixes to entity_name propigation

20 years agoadded new polymorph test, todos for session/cascade
Mike Bayer [Sat, 3 Jun 2006 18:49:10 +0000 (18:49 +0000)] 
added new polymorph test, todos for session/cascade

20 years agodbengine doc: no support for pg1
Mike Bayer [Sat, 3 Jun 2006 17:48:55 +0000 (17:48 +0000)] 
dbengine doc: no support for pg1
postgres: if module is none, still use pyformat for some unit tests

20 years agodoc for oracle fix
Mike Bayer [Fri, 2 Jun 2006 23:11:06 +0000 (23:11 +0000)] 
doc for oracle fix

20 years agoconfirmed that makedsn works with host/port/sid
Mike Bayer [Fri, 2 Jun 2006 23:05:33 +0000 (23:05 +0000)] 
confirmed that makedsn works with host/port/sid

20 years agorestored global_connect() function, default table metadata
Mike Bayer [Fri, 2 Jun 2006 22:34:54 +0000 (22:34 +0000)] 
restored global_connect() function, default table metadata

20 years agoadjustment to datetime
Mike Bayer [Fri, 2 Jun 2006 22:14:42 +0000 (22:14 +0000)] 
adjustment to datetime

20 years agopool doesnt consume random **kwargs
Mike Bayer [Fri, 2 Jun 2006 01:31:24 +0000 (01:31 +0000)] 
pool doesnt consume random **kwargs

20 years agocleanup
Mike Bayer [Fri, 2 Jun 2006 01:17:09 +0000 (01:17 +0000)] 
cleanup

20 years ago- got rudimental "mapping to multiple tables" functionality cleaned up,
Mike Bayer [Fri, 2 Jun 2006 01:10:20 +0000 (01:10 +0000)] 
- got rudimental "mapping to multiple tables" functionality cleaned up,
more correctly documented

20 years agoupdate
Mike Bayer [Thu, 1 Jun 2006 20:59:49 +0000 (20:59 +0000)] 
update

20 years agofixed host connector again, now for [ticket:197]
Mike Bayer [Thu, 1 Jun 2006 20:52:12 +0000 (20:52 +0000)] 
fixed host connector again, now for [ticket:197]

20 years agoswitched generator to list comprehension
Mike Bayer [Thu, 1 Jun 2006 18:22:49 +0000 (18:22 +0000)] 
switched generator to list comprehension

20 years agocreate_connect_args can create DSN from host/port, submitted by bernd.dorn@fhv.at...
Mike Bayer [Thu, 1 Jun 2006 15:55:52 +0000 (15:55 +0000)] 
create_connect_args can create DSN from host/port, submitted by bernd.dorn@fhv.at for [ticket:192]

20 years agofixes half of [ticket:192], query.load()/get() with a unicode argument was failing...
Mike Bayer [Thu, 1 Jun 2006 15:49:58 +0000 (15:49 +0000)] 
fixes half of [ticket:192], query.load()/get() with a unicode argument was failing to apply type conversion to the bind parameter

20 years ago"count" label changed to "rowcount", and default "count" argument is first pk col...
Mike Bayer [Thu, 1 Jun 2006 15:20:35 +0000 (15:20 +0000)] 
"count" label changed to "rowcount", and default "count" argument is first pk col of the table or the first col if no pks

20 years agoimplemented query string support in db urls, gets sent to dialect **kwargs, [ticket...
Mike Bayer [Thu, 1 Jun 2006 02:03:36 +0000 (02:03 +0000)] 
implemented query string support in db urls, gets sent to dialect **kwargs, [ticket:196]

20 years agomore test adjustments for firebird
Mike Bayer [Thu, 1 Jun 2006 01:18:00 +0000 (01:18 +0000)] 
more test adjustments for firebird

20 years agobrad clement's 0.2 firebird support !
Mike Bayer [Thu, 1 Jun 2006 01:12:39 +0000 (01:12 +0000)] 
brad clement's 0.2 firebird support !

20 years agosome comments...more to come
Mike Bayer [Thu, 1 Jun 2006 01:11:52 +0000 (01:11 +0000)] 
some comments...more to come

20 years agoinherited synchronization behavior fixed to descend all the way to the base class
Mike Bayer [Wed, 31 May 2006 16:15:10 +0000 (16:15 +0000)] 
inherited synchronization behavior fixed to descend all the way to the base class

20 years agosimplification/improvement to circular dependency sort (properly batches now)
Mike Bayer [Wed, 31 May 2006 06:22:06 +0000 (06:22 +0000)] 
simplification/improvement to circular dependency sort (properly batches now)
mapper accepts add_property calls with columns that are not in its selectable (allows deferreds in, generally more lenient)

20 years agotweak to join test
Mike Bayer [Wed, 31 May 2006 06:19:56 +0000 (06:19 +0000)] 
tweak to join test

20 years agofurther tweaks to polymorphic loading...getting double polymorphic loaders to work
Mike Bayer [Tue, 30 May 2006 23:36:19 +0000 (23:36 +0000)] 
further tweaks to polymorphic loading...getting double polymorphic loaders to work

20 years agofurther refinement of the polymorphic UOWTask idea. circular dependency sort has...
Mike Bayer [Tue, 30 May 2006 17:11:14 +0000 (17:11 +0000)] 
further refinement of the polymorphic UOWTask idea.  circular dependency sort has to be pretty much focused on the base mappers
of any inheritance chain, as it now takes part in pretty much any two dependent classes who share the same inherited parent.

20 years agofixed [ticket:188] updated changelog
Mike Bayer [Mon, 29 May 2006 22:41:30 +0000 (22:41 +0000)] 
fixed [ticket:188] updated changelog

20 years agopolymorphic linked list test, tests polymorphic inheritance with circular refs
Mike Bayer [Mon, 29 May 2006 22:15:16 +0000 (22:15 +0000)] 
polymorphic linked list test, tests polymorphic inheritance with circular refs

20 years agounit-tested product/specline/etc stuff
Mike Bayer [Mon, 29 May 2006 21:41:38 +0000 (21:41 +0000)] 
unit-tested product/specline/etc stuff

20 years agomore polymorphic adjustments to circular dependency sort
Mike Bayer [Mon, 29 May 2006 17:21:41 +0000 (17:21 +0000)] 
more polymorphic adjustments to circular dependency sort

20 years agoecho_pool flag fixed
Mike Bayer [Mon, 29 May 2006 16:49:42 +0000 (16:49 +0000)] 
echo_pool flag fixed
removed incorrect paragraph regarding release modes

20 years agoworking on [ticket:190], getting circular dependency sort to work with inheriting...
Mike Bayer [Mon, 29 May 2006 05:17:21 +0000 (05:17 +0000)] 
working on [ticket:190], getting circular dependency sort to work with inheriting mappers

20 years ago0.2.1 prep rel_0_2_1
Mike Bayer [Mon, 29 May 2006 03:14:11 +0000 (03:14 +0000)] 
0.2.1 prep

20 years agoconnection more careful about checking if its closed before operations
Mike Bayer [Mon, 29 May 2006 02:57:33 +0000 (02:57 +0000)] 
connection more careful about checking if its closed before operations
small fix to table sort if no tables
unit test tweaks

20 years agoadded extra info for association object
Mike Bayer [Mon, 29 May 2006 02:33:03 +0000 (02:33 +0000)] 
added extra info for association object
threadlocal transaction benefits from an explicit close() on the connection besides de-referencing it

20 years agoexceptions...
Mike Bayer [Mon, 29 May 2006 02:12:53 +0000 (02:12 +0000)] 
exceptions...

20 years agounit test adjustments to insure weakref status on connecitonfairy
Mike Bayer [Mon, 29 May 2006 02:11:14 +0000 (02:11 +0000)] 
unit test adjustments to insure weakref status on connecitonfairy

20 years agopool needed weakref
Mike Bayer [Sun, 28 May 2006 23:57:14 +0000 (23:57 +0000)] 
pool needed weakref
modified auto rollback to only occur when no transaction
more unit tests

20 years agomore tlocal trans stuff
Mike Bayer [Sun, 28 May 2006 20:27:08 +0000 (20:27 +0000)] 
more tlocal trans stuff

20 years agoskips blank arguments
Mike Bayer [Sun, 28 May 2006 19:16:43 +0000 (19:16 +0000)] 
skips blank arguments

20 years agoextra tests...
Mike Bayer [Sun, 28 May 2006 19:02:09 +0000 (19:02 +0000)] 
extra tests...

20 years agodo-nothing dispose() method in SingletonThreadPool
Mike Bayer [Sun, 28 May 2006 18:01:22 +0000 (18:01 +0000)] 
do-nothing dispose() method in SingletonThreadPool

20 years agowould help if commit() worked too...
Mike Bayer [Sun, 28 May 2006 17:59:06 +0000 (17:59 +0000)] 
would help if commit() worked too...

20 years agoTLEngine needed a partial rewrite....
Mike Bayer [Sun, 28 May 2006 17:46:45 +0000 (17:46 +0000)] 
TLEngine needed a partial rewrite....

20 years agocheck for not enough inserted pks to backfill the object
Mike Bayer [Sun, 28 May 2006 16:37:22 +0000 (16:37 +0000)] 
check for not enough inserted pks to backfill the object

20 years agoraises error for bad url
Mike Bayer [Sun, 28 May 2006 16:12:15 +0000 (16:12 +0000)] 
raises error for bad url

20 years agopropigate "pool" argument
Mike Bayer [Sun, 28 May 2006 16:07:15 +0000 (16:07 +0000)] 
propigate "pool" argument

20 years agoselectresults docs
Mike Bayer [Sun, 28 May 2006 05:52:52 +0000 (05:52 +0000)] 
selectresults docs

20 years agoit's police....
Mike Bayer [Sun, 28 May 2006 01:01:45 +0000 (01:01 +0000)] 
it's police....

20 years agoformatting etc
Mike Bayer [Sun, 28 May 2006 00:31:34 +0000 (00:31 +0000)] 
formatting etc

20 years agotake two rel_0_2_0
Mike Bayer [Sat, 27 May 2006 20:33:41 +0000 (20:33 +0000)] 
take two

20 years ago0.2 prep
Mike Bayer [Sat, 27 May 2006 20:33:22 +0000 (20:33 +0000)] 
0.2 prep

20 years agokeep verbose false
Mike Bayer [Sat, 27 May 2006 19:48:34 +0000 (19:48 +0000)] 
keep verbose false

20 years agolatest overhaul to association objects, plus an actual unit test
Mike Bayer [Sat, 27 May 2006 19:44:05 +0000 (19:44 +0000)] 
latest overhaul to association objects, plus an actual unit test
this change probably fixes [ticket:134]

20 years agodoc update
Mike Bayer [Sat, 27 May 2006 17:51:30 +0000 (17:51 +0000)] 
doc update

20 years agobroke out dumper into a separate module
Mike Bayer [Sat, 27 May 2006 17:46:03 +0000 (17:46 +0000)] 
broke out dumper into a separate module

20 years agodoc updates, added 'save' method to assignmapper
Mike Bayer [Sat, 27 May 2006 16:59:07 +0000 (16:59 +0000)] 
doc updates, added 'save' method to assignmapper

20 years agocircular dependency sort will not create new UOWTasks/UOWDependencyProcessors mid...
Mike Bayer [Sat, 27 May 2006 16:39:05 +0000 (16:39 +0000)] 
circular dependency sort will not create new UOWTasks/UOWDependencyProcessors mid-stream
further construction on migrating UOWTask to be fully polymorphic

20 years agounitofwork more Set oriented now
Mike Bayer [Sat, 27 May 2006 05:45:21 +0000 (05:45 +0000)] 
unitofwork more Set oriented now
MapperProperty now has "localparent" and "parent" attributes, which in the case of
inheritance represent the mapper the property is attached to, and the original mapper it was created on.
the unitofwork now keeps the dependency processors derived from those properties unique so inheritance
structures dont register redundant dependency processors.

20 years agoconverted sqlsoup, got its doctests working (werent working in 0.1 either....), added...
Mike Bayer [Sat, 27 May 2006 01:19:56 +0000 (01:19 +0000)] 
converted sqlsoup, got its doctests working (werent working in 0.1 either....), added doctest hook to testsuite
fix to selectone_by/selectone when zero rows returned

20 years agomerged r. morrisons 0.2 update from branch to trunk
Mike Bayer [Sat, 27 May 2006 00:16:45 +0000 (00:16 +0000)] 
merged r. morrisons 0.2 update from branch to trunk

20 years agoadded has_key to RowProxy, + caching of key lookups
Mike Bayer [Sat, 27 May 2006 00:13:12 +0000 (00:13 +0000)] 
added has_key to RowProxy, + caching of key lookups
fix for mapper translate_row for deferred columns
continuing with the "polymorph-tizing" of the unit of work, dependency processing accesses objects on each target task polymorphically

20 years agouncompleted additional inheritance tests
Mike Bayer [Fri, 26 May 2006 23:35:56 +0000 (23:35 +0000)] 
uncompleted additional inheritance tests

20 years agosome TODOs
Mike Bayer [Thu, 25 May 2006 18:30:36 +0000 (18:30 +0000)] 
some TODOs

20 years agobind parameter conflict in _get() resolved
Mike Bayer [Thu, 25 May 2006 18:20:39 +0000 (18:20 +0000)] 
bind parameter conflict in _get() resolved

20 years agopretty major change to inheritance topological sorting - mapper dependencies are...
Mike Bayer [Thu, 25 May 2006 17:53:06 +0000 (17:53 +0000)] 
pretty major change to inheritance topological sorting - mapper dependencies are calculated
based on their ultimate "base inherited" mapper, UOWTasks organized into recursive inheritance structures based on the inheritance of the mappers.  this allows tasks across a class/mapper inheritance hierarchy to properly interact with other dependency processors and sub-tasks.

20 years agocorrection to running single named tests
Mike Bayer [Thu, 25 May 2006 16:23:39 +0000 (16:23 +0000)] 
correction to running single named tests

20 years agoworkaround for get that requires multiple ids in the case of joined table inheritance
Mike Bayer [Thu, 25 May 2006 15:02:59 +0000 (15:02 +0000)] 
workaround for get that requires multiple ids in the case of joined table inheritance

20 years agoadded 0.1.7 changes to changelog
Mike Bayer [Thu, 25 May 2006 14:48:32 +0000 (14:48 +0000)] 
added 0.1.7 changes to changelog
latest sqlsoup from 0.1.7
s. cazzells fixes to assignmapper, threadlocal

20 years agomerged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1
Mike Bayer [Thu, 25 May 2006 14:20:23 +0000 (14:20 +0000)] 
merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1

20 years agoadded explicit check for "==null()" to produce IS NULL, documnted "==None", "==null...
Mike Bayer [Wed, 24 May 2006 16:35:30 +0000 (16:35 +0000)] 
added explicit check for "==null()" to produce IS NULL, documnted "==None", "==null()", [ticket:187]

20 years agoanonymous indexes use column._label to avoid name collisions
Mike Bayer [Tue, 23 May 2006 14:59:32 +0000 (14:59 +0000)] 
anonymous indexes use column._label to avoid name collisions

20 years agohypothetical (failing) test for primary key selection of joins
Mike Bayer [Tue, 23 May 2006 14:59:11 +0000 (14:59 +0000)] 
hypothetical (failing) test for primary key selection of joins

20 years agoImplemented the changes from ticket 94
jralston [Tue, 23 May 2006 01:03:34 +0000 (01:03 +0000)] 
Implemented the changes from ticket 94

20 years agoc. martinez' fix to slicing logic
Mike Bayer [Thu, 18 May 2006 14:16:56 +0000 (14:16 +0000)] 
c. martinez' fix to slicing logic

20 years agotypo fix
Mike Bayer [Tue, 16 May 2006 00:25:50 +0000 (00:25 +0000)] 
typo fix