]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years ago- precompiled regexp for anonymous labels
Mike Bayer [Sat, 11 Aug 2007 16:25:30 +0000 (16:25 +0000)] 
- precompiled regexp for anonymous labels
- has_key()->__contains__()

18 years agoBake the version number into the source during packaging.
Jason Kirtland [Sat, 11 Aug 2007 16:05:27 +0000 (16:05 +0000)] 
Bake the version number into the source during packaging.

18 years ago- removed _calculate_correlations() methods, removed correlation_stack, select_stack;
Mike Bayer [Sat, 11 Aug 2007 16:04:38 +0000 (16:04 +0000)] 
- removed _calculate_correlations() methods, removed correlation_stack, select_stack;
all are merged into a single stack thats all within ansicompiler.  clause visiting cut down
significantly.

18 years ago - case_sensitive=(True|False) setting removed from schema items, since
Mike Bayer [Sat, 11 Aug 2007 14:03:23 +0000 (14:03 +0000)] 
  - case_sensitive=(True|False) setting removed from schema items, since
    checking this state added a lot of method call overhead and there was
    no decent reason to ever set it to False.  Table and column names which are
    all lower case will be treated as case-insenstive (yes we adjust for
    Oracle's UPPERCASE style too).

18 years agoattempting to get oracle XID to work. not there yet.
Mike Bayer [Sat, 11 Aug 2007 01:08:42 +0000 (01:08 +0000)] 
attempting to get oracle XID to work.  not there yet.

18 years agoby popular demand, mysql reflection is now a single round-trip and uses a parse of...
Jason Kirtland [Sat, 11 Aug 2007 01:03:37 +0000 (01:03 +0000)] 
by popular demand, mysql reflection is now a single round-trip and uses a parse of SHOW CREATE TABLE ddl [ticket:612]
the ANSI_QUOTES mode is now supported
halfway there for auto_increment on secondary columns [ticket:649]
indexes are now reflected [ticket:663]

18 years agorepaired oracle savepoint implementation
Mike Bayer [Sat, 11 Aug 2007 00:03:26 +0000 (00:03 +0000)] 
repaired oracle savepoint implementation

18 years ago- oracle reflection of case-sensitive names all fixed up
Mike Bayer [Fri, 10 Aug 2007 23:24:06 +0000 (23:24 +0000)] 
- oracle reflection of case-sensitive names all fixed up
- other unit tests corrected for oracle

18 years ago#725 add query arg to id_chooser()
Mike Bayer [Fri, 10 Aug 2007 21:18:01 +0000 (21:18 +0000)] 
#725 add query arg to id_chooser()

18 years agoCorrect docstring.
Jason Kirtland [Fri, 10 Aug 2007 19:41:04 +0000 (19:41 +0000)] 
Correct docstring.

18 years ago--dropfirst option added, defaults to False. pre-drops tables when set to True,...
Mike Bayer [Fri, 10 Aug 2007 18:12:30 +0000 (18:12 +0000)] 
--dropfirst option added, defaults to False.  pre-drops tables when set to True, reportedly mis-behaves on Oracle, MS-SQL.

18 years ago- fixes to PG unicode table/sequence reflection/create/drops
Mike Bayer [Fri, 10 Aug 2007 18:07:46 +0000 (18:07 +0000)] 
- fixes to PG unicode table/sequence reflection/create/drops

18 years ago- merged mapper has_pks fix from r3239 0.3 branch
Mike Bayer [Fri, 10 Aug 2007 15:54:10 +0000 (15:54 +0000)] 
- merged mapper has_pks fix from r3239 0.3 branch

18 years agoformatting tweaks
Mike Bayer [Thu, 9 Aug 2007 22:56:23 +0000 (22:56 +0000)] 
formatting tweaks

18 years agomoved old plugins to "deprecated" subheading, took out SessionContext/assignmapper...
Mike Bayer [Thu, 9 Aug 2007 22:42:16 +0000 (22:42 +0000)] 
moved old plugins to "deprecated" subheading, took out SessionContext/assignmapper docs (references 0.3 docs)

18 years agoAllow '$' in bind param detection [ticket:719], added test suite & fixed an edge...
Jason Kirtland [Thu, 9 Aug 2007 22:10:16 +0000 (22:10 +0000)] 
Allow '$' in bind param detection [ticket:719], added test suite & fixed an edge case

18 years agoremoved unused method from last checkin
Mike Bayer [Thu, 9 Aug 2007 22:03:34 +0000 (22:03 +0000)] 
removed unused method from last checkin

18 years agosome edits
Mike Bayer [Thu, 9 Aug 2007 21:54:04 +0000 (21:54 +0000)] 
some edits

18 years ago- decoupled all ColumnElements from also being Selectables. this means
Mike Bayer [Thu, 9 Aug 2007 21:50:23 +0000 (21:50 +0000)] 
- decoupled all ColumnElements from also being Selectables.  this means
that anything which is a column expression does not have a "c" or a
"columns" attribute.  Also works for select().as_scalar(); _ScalarSelect
is a columnelement, so you can't say select().as_scalar().c.foo, which is
a pretty confusing mistake to make.  in the case of _ScalarSelect made
an explicit raise if you try to access 'c'.

18 years agoAdded 'unformat_identifiers', produces a list of unquoted identifiers from an identif...
Jason Kirtland [Thu, 9 Aug 2007 21:01:50 +0000 (21:01 +0000)] 
Added 'unformat_identifiers', produces a list of unquoted identifiers from an identifier or a fully qualified identifier string.

18 years ago- added 'object_session' as classlevel method to Session
Mike Bayer [Thu, 9 Aug 2007 19:51:36 +0000 (19:51 +0000)] 
- added 'object_session' as classlevel method to Session
- moved 'identity_key' to be a classmethod on Session
- some docstrings
- merged r3229 from 0.3 branch to unconditonally quote schemaname in PG-reflected default
- name fixes in dynamic unit test

18 years agorestore clipping value for YEAR DDL
Jason Kirtland [Thu, 9 Aug 2007 19:03:42 +0000 (19:03 +0000)] 
restore clipping value for YEAR DDL

18 years agosession docs, CHANGES updates
Mike Bayer [Thu, 9 Aug 2007 17:35:00 +0000 (17:35 +0000)] 
session docs, CHANGES updates

18 years agoedits
Mike Bayer [Thu, 9 Aug 2007 04:06:51 +0000 (04:06 +0000)] 
edits

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()