]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years agoadded section on SQL-embedded attributes
Mike Bayer [Thu, 9 Aug 2007 03:42:31 +0000 (03:42 +0000)] 
added section on SQL-embedded attributes

18 years agotweak
Mike Bayer [Thu, 9 Aug 2007 02:15:43 +0000 (02:15 +0000)] 
tweak

18 years agonew session doc
Mike Bayer [Thu, 9 Aug 2007 02:14:48 +0000 (02:14 +0000)] 
new session doc

18 years agowarning: may not be true. (GIS types)
Jason Kirtland [Thu, 9 Aug 2007 01:42:30 +0000 (01:42 +0000)] 
warning: may not be true.  (GIS types)

18 years ago^C ^C ^C! (revert r3218 in pooling.txt)
Jason Kirtland [Wed, 8 Aug 2007 23:48:49 +0000 (23:48 +0000)] 
^C ^C ^C! (revert r3218 in pooling.txt)

18 years agoAdded `set_types` to util, a tuple of available set implementations.
Jason Kirtland [Wed, 8 Aug 2007 23:45:26 +0000 (23:45 +0000)] 
Added `set_types` to util, a tuple of available set implementations.
Added BIT and SET ([ticket:674])- all mysql data types are now covered!
Fix for YEAR DDL generation, also no longer a concatenable type.
Expanded docs for some mysql column esoterica.

18 years ago- fix mssql compiling explicitly added alias twice
Ants Aasma [Wed, 8 Aug 2007 22:35:05 +0000 (22:35 +0000)] 
- fix mssql compiling explicitly added alias twice
- add is_select to mssql dialect. currently adds only sp_columns, someone familiar with mssql should update this
- update mssql get_default_schema_name api
- remove commented code from Query.filter_by

18 years agomerge [3215] into trunk
Paul Johnston [Wed, 8 Aug 2007 20:45:25 +0000 (20:45 +0000)] 
merge [3215] into trunk

18 years agoImprove utf8 engine handling during test setup and in test suites.
Jason Kirtland [Wed, 8 Aug 2007 20:19:23 +0000 (20:19 +0000)] 
Improve utf8 engine handling during test setup and in test suites.

18 years agoAddded 're' import
Jason Kirtland [Wed, 8 Aug 2007 19:57:18 +0000 (19:57 +0000)] 
Addded 're' import

18 years agoadded missing methods/props to ScopedSession
Mike Bayer [Wed, 8 Aug 2007 18:51:13 +0000 (18:51 +0000)] 
added missing methods/props to ScopedSession

18 years agofix url for 04 docs
Jonathan Ellis [Wed, 8 Aug 2007 04:11:32 +0000 (04:11 +0000)] 
fix url for 04 docs

18 years agoupdate SS docs to 0.4
Jonathan Ellis [Wed, 8 Aug 2007 03:52:07 +0000 (03:52 +0000)] 
update SS docs to 0.4

18 years agoput implicit examples as part of test suite
Mike Bayer [Wed, 8 Aug 2007 00:47:15 +0000 (00:47 +0000)] 
put implicit examples as part of test suite

18 years agoadded link to implicit execution section
Mike Bayer [Wed, 8 Aug 2007 00:27:40 +0000 (00:27 +0000)] 
added link to implicit execution section

18 years agoadded docs on connectionless/implicit
Mike Bayer [Wed, 8 Aug 2007 00:17:29 +0000 (00:17 +0000)] 
added docs on connectionless/implicit

18 years agoAdded 'SET' to reserved words, plus gratuitous reindenting.
Jason Kirtland [Tue, 7 Aug 2007 23:58:43 +0000 (23:58 +0000)] 
Added 'SET' to reserved words, plus gratuitous reindenting.

18 years ago- moved extension class init around so query() is available
Mike Bayer [Tue, 7 Aug 2007 17:29:03 +0000 (17:29 +0000)] 
- moved extension class init around so query() is available

18 years ago- migrated 'desc', 'asc', and 'distinct' to be in the Operators framework
Mike Bayer [Tue, 7 Aug 2007 17:12:35 +0000 (17:12 +0000)] 
- migrated 'desc', 'asc', and 'distinct' to be in the Operators framework
- fixes to operator() method signature/calling

18 years agoedits
Mike Bayer [Tue, 7 Aug 2007 04:40:37 +0000 (04:40 +0000)] 
edits

18 years ago'condition' misspelled
Mike Bayer [Tue, 7 Aug 2007 04:12:29 +0000 (04:12 +0000)] 
'condition' misspelled

18 years agoadded 'asc' and 'desc' to PropComparator....this should be placed at a lower level...
Mike Bayer [Mon, 6 Aug 2007 23:23:03 +0000 (23:23 +0000)] 
added 'asc' and 'desc' to PropComparator....this should be placed at a lower level somehow, such
as real ASC and DESC operators

18 years ago- 'comparator' argument to composite() is a class
Mike Bayer [Mon, 6 Aug 2007 23:14:37 +0000 (23:14 +0000)] 
- 'comparator' argument to composite() is a class
- added composite types doc, other edits

18 years ago- added desc() and asc() directly to CompareMixin
Mike Bayer [Mon, 6 Aug 2007 21:52:24 +0000 (21:52 +0000)] 
- added desc() and asc() directly to CompareMixin

18 years ago- docs
Mike Bayer [Mon, 6 Aug 2007 21:32:37 +0000 (21:32 +0000)] 
- docs
- added some convenience functions to selects, clauseelements
- fixed distinct()

18 years agoedits
Mike Bayer [Mon, 6 Aug 2007 19:16:55 +0000 (19:16 +0000)] 
edits

18 years agoclean up some dead code in Query.filter_by
Ants Aasma [Mon, 6 Aug 2007 19:12:31 +0000 (19:12 +0000)] 
clean up some dead code in Query.filter_by

18 years agoedits
Mike Bayer [Mon, 6 Aug 2007 16:23:03 +0000 (16:23 +0000)] 
edits

18 years agogenerated markup fixes
Jason Kirtland [Mon, 6 Aug 2007 02:02:00 +0000 (02:02 +0000)] 
generated markup fixes

18 years ago- edits
Mike Bayer [Mon, 6 Aug 2007 01:51:54 +0000 (01:51 +0000)] 
- edits
- added "params" to ansisql compiler

18 years agoedit
Mike Bayer [Mon, 6 Aug 2007 01:06:22 +0000 (01:06 +0000)] 
edit

18 years agoremoving Query from __all__ was a little premature
Mike Bayer [Mon, 6 Aug 2007 01:03:40 +0000 (01:03 +0000)] 
removing Query from __all__ was a little premature

18 years ago- draft sqlexpression tutorial
Mike Bayer [Mon, 6 Aug 2007 00:59:09 +0000 (00:59 +0000)] 
- draft sqlexpression tutorial
- added some generative methods to exists()
- got clause adapter to work with join()

18 years agoAdd initial version of MS Access support
Paul Johnston [Sun, 5 Aug 2007 23:13:25 +0000 (23:13 +0000)] 
Add initial version of MS Access support

18 years agowork in progress
Mike Bayer [Sun, 5 Aug 2007 22:21:16 +0000 (22:21 +0000)] 
work in progress

18 years agodocstring stuff
Mike Bayer [Sun, 5 Aug 2007 20:19:26 +0000 (20:19 +0000)] 
docstring stuff

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 19:52:56 +0000 (19:52 +0000)] 
edits

18 years agoa more friendly name
Jason Kirtland [Sun, 5 Aug 2007 19:40:52 +0000 (19:40 +0000)] 
a more friendly name

18 years agoAdded test coverage for freeform collection decorators
Jason Kirtland [Sun, 5 Aug 2007 19:21:32 +0000 (19:21 +0000)] 
Added test coverage for freeform collection decorators
Decorators with positional arg specs can be called with named args too...

18 years agoedits, css
Mike Bayer [Sun, 5 Aug 2007 18:55:54 +0000 (18:55 +0000)] 
edits, css

18 years agoeager/lazyloading section
Mike Bayer [Sun, 5 Aug 2007 18:38:50 +0000 (18:38 +0000)] 
eager/lazyloading section

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 17:54:10 +0000 (17:54 +0000)] 
edits

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 17:31:07 +0000 (17:31 +0000)] 
edits

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 02:33:41 +0000 (02:33 +0000)] 
edits

18 years agoedit
Mike Bayer [Sun, 5 Aug 2007 01:23:59 +0000 (01:23 +0000)] 
edit

18 years agodoc tweaks
Jason Kirtland [Sun, 5 Aug 2007 01:21:10 +0000 (01:21 +0000)] 
doc tweaks

18 years agoPedantic tweak to coltype swappage...
Jason Kirtland [Sat, 4 Aug 2007 21:53:41 +0000 (21:53 +0000)] 
Pedantic tweak to coltype swappage...

18 years agoFurther tweaks for lc strategies
Jason Kirtland [Sat, 4 Aug 2007 21:43:42 +0000 (21:43 +0000)] 
Further tweaks for lc strategies
Ensure that the recently added first-class tinyint plays nicely with boolean reflection

18 years agoAdded explicit Unicode table_names test
Jason Kirtland [Sat, 4 Aug 2007 21:25:29 +0000 (21:25 +0000)] 
Added explicit Unicode table_names test

18 years agoRevert r3169 and r3148 changes to unicode schema reflection test, will add an explici...
Jason Kirtland [Sat, 4 Aug 2007 19:34:30 +0000 (19:34 +0000)] 
Revert r3169 and r3148 changes to unicode schema reflection test, will add an explicit engine/reflection test to cover.

18 years agoMore robust droppage of table detritus, also respect --quiet
Jason Kirtland [Sat, 4 Aug 2007 19:29:54 +0000 (19:29 +0000)] 
More robust droppage of table detritus, also respect --quiet

18 years agoUpdate for osx
Jason Kirtland [Sat, 4 Aug 2007 16:55:08 +0000 (16:55 +0000)] 
Update for osx

18 years agoedits
Mike Bayer [Sat, 4 Aug 2007 06:15:25 +0000 (06:15 +0000)] 
edits

18 years ago- fix for [ticket:712], more unit tests
Mike Bayer [Sat, 4 Aug 2007 06:00:45 +0000 (06:00 +0000)] 
- fix for [ticket:712], more unit tests

18 years agoinheritance docs
Mike Bayer [Sat, 4 Aug 2007 00:11:35 +0000 (00:11 +0000)] 
inheritance docs

18 years agoRearranged engine initialization, its now easy to make ad-hoc testing engines that...
Jason Kirtland [Fri, 3 Aug 2007 20:08:26 +0000 (20:08 +0000)] 
Rearranged engine initialization, its now easy to make ad-hoc testing engines that preserve all of the --options requested
Promoted the 'utf8 bind' logic for tests needing utf8 connections into testlib
Added a pause before issuing DROPs to rid the testing db of clutter

18 years ago- fixed table_names for postgres to return as dialect.encoding-decoded unicode strings
Mike Bayer [Fri, 3 Aug 2007 20:04:41 +0000 (20:04 +0000)] 
- fixed table_names for postgres to return as dialect.encoding-decoded unicode strings

18 years ago- added hooks for alternate session classes into sessionmaker
Mike Bayer [Fri, 3 Aug 2007 19:54:16 +0000 (19:54 +0000)] 
- added hooks for alternate session classes into sessionmaker
- moved shard example/unittest over to sessionmaker

18 years ago- removed enhance_classes from scoped_session, replaced with
Mike Bayer [Fri, 3 Aug 2007 19:31:38 +0000 (19:31 +0000)] 
- removed enhance_classes from scoped_session, replaced with
scoped_session(...).mapper.  'mapper' essentially does the same
thing as assign_mapper less verbosely.
- adapted assignmapper unit tests into scoped_session tests

18 years agochanged to use class attributes
Mike Bayer [Fri, 3 Aug 2007 18:56:23 +0000 (18:56 +0000)] 
changed to use class attributes

18 years agosmall fix for filter() aliasing, upgraded elementtree examples to use 0.4 style queries
Mike Bayer [Fri, 3 Aug 2007 18:47:35 +0000 (18:47 +0000)] 
small fix for filter() aliasing, upgraded elementtree examples to use 0.4 style queries

18 years agostupid svn:ignore isn't recursive? who thought THAT was a bright idea? find test...
Jonathan Ellis [Fri, 3 Aug 2007 18:35:30 +0000 (18:35 +0000)] 
stupid svn:ignore isn't recursive?  who thought THAT was a bright idea? find test lib -type d |grep -v svn |xargs -n 1 svn propset svn:ignore '*.pyc'

18 years agoadd pyc to svnignore
Jonathan Ellis [Fri, 3 Aug 2007 18:29:21 +0000 (18:29 +0000)] 
add pyc to svnignore

18 years agoswitch "if not len(x)" to "if not x"
Jonathan Ellis [Fri, 3 Aug 2007 18:28:11 +0000 (18:28 +0000)] 
switch "if not len(x)" to "if not x"

18 years agoedits
Mike Bayer [Fri, 3 Aug 2007 17:19:03 +0000 (17:19 +0000)] 
edits

18 years agomore edits
Mike Bayer [Fri, 3 Aug 2007 16:56:43 +0000 (16:56 +0000)] 
more edits

18 years agoedits, html escaping
Mike Bayer [Fri, 3 Aug 2007 16:52:24 +0000 (16:52 +0000)] 
edits, html escaping

18 years agoOops.
Jason Kirtland [Fri, 3 Aug 2007 14:43:28 +0000 (14:43 +0000)] 
Oops.

18 years agoonly one instance of while len(...)
Jonathan Ellis [Fri, 3 Aug 2007 14:02:28 +0000 (14:02 +0000)] 
only one instance of while len(...)

18 years agoswitch (simple) occurences of 'if len(x)' to 'if x': find . -name '*.py' |xargs perl...
Jonathan Ellis [Fri, 3 Aug 2007 13:57:40 +0000 (13:57 +0000)] 
switch (simple) occurences of 'if len(x)' to 'if x': find . -name '*.py' |xargs perl -pi.bak -e 's/if len\((\S+)\):/if $1:/' && find . -name '*.bak' |xargs rm

18 years agoadd comment, intermediate var for readability
Jonathan Ellis [Fri, 3 Aug 2007 04:49:34 +0000 (04:49 +0000)] 
add comment, intermediate var for readability

18 years agotable_names shouldn't include system tables. (if user wants that they should poke...
Jonathan Ellis [Fri, 3 Aug 2007 04:01:41 +0000 (04:01 +0000)] 
table_names shouldn't include system tables.  (if user wants that they should poke around in catalog manually.)

18 years ago- Dialects can be queried for the server version (sqlite and mysql only with this...
Jason Kirtland [Fri, 3 Aug 2007 02:38:00 +0000 (02:38 +0000)] 
- Dialects can be queried for the server version (sqlite and mysql only with this commit)
- Mark everything in a test suite as failed when setUpAll fails.
- Added test coverage for Unicode table names in metadata.reflect()
- @testing.exclude() filters out tests by server version
- Applied exclude to the test suite, MySQL 4.1 passes again (no XA or SAVEPOINT)
- Removed MySQL charset-setting pool hook- charset=utf8&use_unicode=0 works just as well.  (Am I nuts?  I'd swear this didn't work before.)
- Finally migrated some old MySQL-tests into the dialect test module
- Corrected 'commit' and 'rollback' logic (and comment) for ancient MySQL versions lacking transactions entirely
- Deprecated the MySQL get_version_info in favor of server_version_info
- Added a big hunk-o-doc for MySQL.

18 years agodocs
Mike Bayer [Thu, 2 Aug 2007 23:44:50 +0000 (23:44 +0000)] 
docs

18 years ago- fixed autoflush with count(), aggregates
Mike Bayer [Thu, 2 Aug 2007 15:45:04 +0000 (15:45 +0000)] 
- fixed autoflush with count(), aggregates
- doc formatting bonanza
- delete() section to orm tutorial

18 years ago- sessionmaker module is out, replaced with simple function in session.py
Mike Bayer [Thu, 2 Aug 2007 05:42:49 +0000 (05:42 +0000)] 
- sessionmaker module is out, replaced with simple function in session.py
- scoping/class instrumenting behavior of sessionmaker moved into new scoping module
which implements scoped_session() (subject to potential name change)
- SessionContext / assignmapper are deprecated, replaced with scoped_session()

18 years ago- added inline UPDATE/INSERT clauses, settable as regular object attributes.
Mike Bayer [Thu, 2 Aug 2007 04:24:02 +0000 (04:24 +0000)] 
- added inline UPDATE/INSERT clauses, settable as regular object attributes.
      the clause gets executed inline during a flush().

18 years agoadded values() generative method to Insert/Update
Mike Bayer [Thu, 2 Aug 2007 03:13:02 +0000 (03:13 +0000)] 
added values() generative method to Insert/Update

18 years agoreplaced metaclass/__new__ insanity with a __call__()
Mike Bayer [Thu, 2 Aug 2007 01:31:28 +0000 (01:31 +0000)] 
replaced metaclass/__new__ insanity with a __call__()

18 years ago- used a metaclass trick to get Session.bind / Session.<someprop> to work
Mike Bayer [Thu, 2 Aug 2007 01:18:42 +0000 (01:18 +0000)] 
- used a metaclass trick to get Session.bind / Session.<someprop> to work

18 years ago-merged 0.3 pool threadlocal fix from r3139
Mike Bayer [Thu, 2 Aug 2007 00:02:16 +0000 (00:02 +0000)] 
-merged 0.3 pool threadlocal fix from r3139

18 years ago- SessionContext and assignmapper are deprecated
Mike Bayer [Wed, 1 Aug 2007 20:52:26 +0000 (20:52 +0000)] 
- SessionContext and assignmapper are deprecated
- Session function is removed
- all replaced with new sessionmaker() function.  description at:
http://www.sqlalchemy.org/trac/wiki/WhatsNewIn04#create_sessionSessionContextassignmapperDeprecated

18 years agoRemove unused mxDateTime
Jason Kirtland [Wed, 1 Aug 2007 20:07:46 +0000 (20:07 +0000)] 
Remove unused mxDateTime

18 years agoStopgap for post- #646 and r3030, wedge in 0.3 Decimals-are-floats behavior for vanil...
Jason Kirtland [Wed, 1 Aug 2007 20:07:07 +0000 (20:07 +0000)] 
Stopgap for post- #646 and r3030, wedge in 0.3 Decimals-are-floats behavior for vanilla 2.3 Python.

18 years agoDon't set __name__ on py 2.3
Jason Kirtland [Wed, 1 Aug 2007 19:27:58 +0000 (19:27 +0000)] 
Don't set __name__ on py 2.3

18 years agoThreadLocalMetaData ought not .dispose() a Connection
Jason Kirtland [Wed, 1 Aug 2007 17:52:34 +0000 (17:52 +0000)] 
ThreadLocalMetaData ought not .dispose() a Connection
More docstring changes

18 years agoSort methods by __init__, name, __names__
Jason Kirtland [Wed, 1 Aug 2007 17:51:10 +0000 (17:51 +0000)] 
Sort methods by __init__, name, __names__
Supply a little default docstring for __init__
Don't document __repr__, __str__, __getstate__, ...

18 years agoMake {include,exclude}_properties membership tests ignore column_prefix
Jason Kirtland [Wed, 1 Aug 2007 15:33:55 +0000 (15:33 +0000)] 
Make {include,exclude}_properties membership tests ignore column_prefix

18 years agoTweak 'poolclass' default arg processing [ticket:437]
Jason Kirtland [Wed, 1 Aug 2007 08:09:47 +0000 (08:09 +0000)] 
Tweak 'poolclass' default arg processing [ticket:437]

18 years agoAdded EXT_CONTINUE and EXT_STOP for MapperExtensions; EXT_PASS is a synonym for EXT_C...
Jason Kirtland [Wed, 1 Aug 2007 07:18:50 +0000 (07:18 +0000)] 
Added EXT_CONTINUE and EXT_STOP for MapperExtensions; EXT_PASS is a synonym for EXT_CONTINUE.
Repointed docs and examples to EXT_CONTINUE

18 years agoLittle docstring tweaks
Jason Kirtland [Wed, 1 Aug 2007 06:27:31 +0000 (06:27 +0000)] 
Little docstring tweaks

18 years agoExpanded docstring docs for pool hooks.
Jason Kirtland [Wed, 1 Aug 2007 06:15:16 +0000 (06:15 +0000)] 
Expanded docstring docs for pool hooks.

18 years agoIgnore __weakref__ methods. Not sure why they're bubbling up here- a Python 2.5...
Jason Kirtland [Wed, 1 Aug 2007 06:14:26 +0000 (06:14 +0000)] 
Ignore __weakref__ methods.  Not sure why they're bubbling up here- a Python 2.5 artifact?

18 years agoIt's now possible to map only a subset of available selectable columns onto mapper...
Jason Kirtland [Wed, 1 Aug 2007 01:44:24 +0000 (01:44 +0000)] 
It's now possible to map only a subset of available selectable columns onto mapper properties [ticket:696].

18 years agoRemoved trailing slash from sys.path manipulation [ticket:700]
Jason Kirtland [Wed, 1 Aug 2007 00:22:51 +0000 (00:22 +0000)] 
Removed trailing slash from sys.path manipulation [ticket:700]

18 years agoTweak ([ticket:673])
Jason Kirtland [Wed, 1 Aug 2007 00:18:38 +0000 (00:18 +0000)] 
Tweak ([ticket:673])

18 years agoPromoted format_table_seq from mysql to ansisql. Formats a fully qualified table...
Jason Kirtland [Wed, 1 Aug 2007 00:12:42 +0000 (00:12 +0000)] 
Promoted format_table_seq from mysql to ansisql.  Formats a fully qualified table reference as a quoted sequence, suitable for '.'.joining or whatever.  [ticket:666]

18 years agoChanged __colset__ to __composite_values__ [ticket:692] (sort of)
Jason Kirtland [Tue, 31 Jul 2007 23:50:50 +0000 (23:50 +0000)] 
Changed __colset__ to __composite_values__ [ticket:692] (sort of)

18 years agoAdjust ignore list for intro.
Jason Kirtland [Tue, 31 Jul 2007 23:45:20 +0000 (23:45 +0000)] 
Adjust ignore list for intro.

18 years ago- commented out auto-rollback of attributes for now, added [ticket:705] with the...
Mike Bayer [Tue, 31 Jul 2007 22:54:07 +0000 (22:54 +0000)] 
- commented out auto-rollback of attributes for now, added [ticket:705] with the recipe
- added "drop_all()" at the start of all unittest runs; see if that helps some of the carwrecks we have