]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- changelog, migration
Mike Bayer [Fri, 29 Nov 2013 04:44:11 +0000 (23:44 -0500)] 
- changelog, migration

11 years ago- repair the "lockmode" functionality of load_on_ident(). slightly problematic
Mike Bayer [Fri, 29 Nov 2013 04:31:17 +0000 (23:31 -0500)] 
- repair the "lockmode" functionality of load_on_ident().  slightly problematic
here is that "lockmode" is also public in Session.refresh().

11 years ago- add support for specifying tables or entities for "of"
Mike Bayer [Fri, 29 Nov 2013 04:23:27 +0000 (23:23 -0500)] 
- add support for specifying tables or entities for "of"
- implement Query with_for_update()
- rework docs and tests

11 years ago- fix up rendering of "of"
Mike Bayer [Fri, 29 Nov 2013 03:25:09 +0000 (22:25 -0500)] 
- fix up rendering of "of"
- move out tests, dialect specific out of compiler, compiler tests use new API,
legacy API tests in test_selecatble
- add support for adaptation of ForUpdateArg, alias support in compilers

11 years ago- work in progress, will squash
Mike Bayer [Thu, 28 Nov 2013 17:37:15 +0000 (12:37 -0500)] 
- work in progress, will squash

11 years agoMerge branch 'for_update_of' of github.com:mlassnig/sqlalchemy into for_update_of
Mike Bayer [Thu, 28 Nov 2013 16:52:50 +0000 (11:52 -0500)] 
Merge branch 'for_update_of' of github.com:mlassnig/sqlalchemy into for_update_of

11 years agoadded LockmodeArgs
Mario Lassnig [Thu, 28 Nov 2013 13:50:41 +0000 (14:50 +0100)] 
added LockmodeArgs

11 years ago- add more explicit docs for relationship mixin, [ticket:2876]
Mike Bayer [Wed, 27 Nov 2013 16:18:55 +0000 (11:18 -0500)] 
- add more explicit docs for relationship mixin, [ticket:2876]

11 years ago- the wrapped memoized_property here was not working, as the attribute name
Mike Bayer [Wed, 27 Nov 2013 04:24:13 +0000 (23:24 -0500)] 
- the wrapped memoized_property here was not working, as the attribute name
didn't match.  use straight memoized_props here for now, add a perf test to check it

11 years ago- adjustment, the spec says: "Within the user and password field, any ":",
Mike Bayer [Mon, 25 Nov 2013 19:46:58 +0000 (14:46 -0500)] 
- adjustment, the spec says: "Within the user and password field, any ":",
   "@", or "/" must be encoded." - so re-apply encoding to both password
and username, don't encode spaces as plus signs, don't encode any chars
outside of :, @, / on stringification - but we still parse for any
%XX character (is that right?)

11 years ago- The :func:`.create_engine` routine and the related
Mike Bayer [Sun, 24 Nov 2013 23:11:37 +0000 (18:11 -0500)] 
- The :func:`.create_engine` routine and the related
:func:`.make_url` function **no longer URL encode the password**.
Database passwords that include characters like spaces, plus signs
and anything else should now represent these characters directly,
without any URL escaping. [ticket:2873]

11 years agopg8000 fix for decimal return scale
Mike Bayer [Sun, 24 Nov 2013 00:17:22 +0000 (19:17 -0500)] 
pg8000 fix for decimal return scale

11 years ago-be more agnostic of quotes here
Mike Bayer [Sat, 23 Nov 2013 22:22:56 +0000 (17:22 -0500)] 
-be more agnostic of quotes here

11 years ago- evaulate decimal_return_scale statelessly. Don't re-assign to self.decimal_return_...
Mike Bayer [Sat, 23 Nov 2013 22:19:43 +0000 (17:19 -0500)] 
- evaulate decimal_return_scale statelessly.  Don't re-assign to self.decimal_return_scale
so that __repr__() is maintained (for alembic tests)

11 years agoclean up imports
Mike Bayer [Sat, 23 Nov 2013 22:12:54 +0000 (17:12 -0500)] 
clean up imports

11 years ago- this test only for mysql
Mike Bayer [Sat, 23 Nov 2013 22:05:45 +0000 (17:05 -0500)] 
- this test only for mysql

11 years ago- Some refinements to the :class:`.AliasedClass` construct with regards
Mike Bayer [Sat, 23 Nov 2013 22:03:48 +0000 (17:03 -0500)] 
- Some refinements to the :class:`.AliasedClass` construct with regards
to descriptors, like hybrids, synonyms, composites, user-defined
descriptors, etc.  The attribute
adaptation which goes on has been made more robust, such that if a descriptor
returns another instrumented attribute, rather than a compound SQL
expression element, the operation will still proceed.
Addtionally, the "adapted" operator will retain its class; previously,
a change in class from ``InstrumentedAttribute`` to ``QueryableAttribute``
(a superclass) would interact with Python's operator system such that
an expression like ``aliased(MyClass.x) > MyClass.x`` would reverse itself
to read ``myclass.x < myclass_1.x``.   The adapted attribute will also
refer to the new :class:`.AliasedClass` as its parent which was not
always the case before. [ticket:2872]

11 years ago- The precision used when coercing a returned floating point value to
Mike Bayer [Sat, 23 Nov 2013 01:04:19 +0000 (20:04 -0500)] 
- The precision used when coercing a returned floating point value to
Python ``Decimal`` via string is now configurable.  The
flag ``decimal_return_scale`` is now supported by all :class:`.Numeric`
and :class:`.Float` types, which will ensure this many digits are taken
from the native floating point value when it is converted to string.
If not present, the type will make use of the value of ``.scale``, if
the type supports this setting and it is non-None.  Otherwise the original
default length of 10 is used. [ticket:2867]

11 years ago- Fixed bug where SQL statement would be improperly ASCII-encoded
Mike Bayer [Fri, 22 Nov 2013 23:35:36 +0000 (18:35 -0500)] 
- Fixed bug where SQL statement would be improperly ASCII-encoded
when a pre-DBAPI :class:`.StatementError` were raised within
:meth:`.Connection.execute`, causing encoding errors for
non-ASCII statements.  The stringification now remains within
Python unicode thus avoiding encoding errors. [ticket:2871]

11 years agoFixed bug where Oracle ``VARCHAR`` types given with no length
Mike Bayer [Fri, 22 Nov 2013 22:56:35 +0000 (17:56 -0500)] 
Fixed bug where Oracle ``VARCHAR`` types given with no length
(e.g. for a ``CAST`` or similar) would incorrectly render ``None CHAR``
or similar. [ticket:2870]

11 years ago- cleanup
Mike Bayer [Fri, 22 Nov 2013 22:48:55 +0000 (17:48 -0500)] 
- cleanup

11 years agosomething changed the name here, probably one of those doc pullreqs
Mike Bayer [Thu, 21 Nov 2013 22:24:51 +0000 (17:24 -0500)] 
something changed the name here, probably one of those doc pullreqs

11 years agofix [ticket:2868] some more
Mike Bayer [Thu, 21 Nov 2013 20:39:05 +0000 (15:39 -0500)] 
fix [ticket:2868] some more

11 years agoadjustment to work on py3k as well
Mike Bayer [Thu, 21 Nov 2013 18:38:45 +0000 (13:38 -0500)] 
adjustment to work on py3k as well

11 years ago- Fixed bug which prevented the ``serializer`` extension from working
Mike Bayer [Thu, 21 Nov 2013 18:30:32 +0000 (13:30 -0500)] 
- Fixed bug which prevented the ``serializer`` extension from working
correctly with table or column names that contain non-ASCII
characters. [ticket:2869]

11 years ago- Fixed a regression caused by :ticket:`2812` where the repr() for
Mike Bayer [Thu, 21 Nov 2013 18:16:49 +0000 (13:16 -0500)] 
- Fixed a regression caused by :ticket:`2812` where the repr() for
table and column names would fail if the name contained non-ascii
characters. [ticket:2868]

11 years agobreak up behavioral changes into ORM and Core
Mike Bayer [Wed, 20 Nov 2013 00:42:21 +0000 (19:42 -0500)] 
break up behavioral changes into ORM and Core

11 years ago- The :class:`.RowProxy` object is now sortable in Python as a regular
Mike Bayer [Wed, 20 Nov 2013 00:29:18 +0000 (19:29 -0500)] 
- The :class:`.RowProxy` object is now sortable in Python as a regular
tuple is; this is accomplished via ensuring tuple() conversion on
both sides within the ``__eq__()`` method as well as
the addition of a ``__lt__()`` method. [ticket:2848]

11 years ago- The ``viewonly`` flag on :func:`.relationship` will now prevent
Mike Bayer [Wed, 20 Nov 2013 00:16:26 +0000 (19:16 -0500)] 
- The ``viewonly`` flag on :func:`.relationship` will now prevent
attribute history from being written on behalf of the target attribute.
This has the effect of the object not being written to the
Session.dirty list if it is mutated.  Previously, the object would
be present in Session.dirty, but no change would take place on behalf
of the modified attribute during flush.   The attribute still emits
events such as backref events and user-defined events and will still
receive mutations from backrefs. [ticket:2833]

11 years agoAdded support for new :attr:`.Session.info` attribute to
Mike Bayer [Tue, 19 Nov 2013 19:21:20 +0000 (14:21 -0500)] 
Added support for new :attr:`.Session.info` attribute to
:class:`.scoped_session`.

11 years ago- apply a timeout to all join() calls for test_pool
Mike Bayer [Sun, 17 Nov 2013 19:35:11 +0000 (14:35 -0500)] 
- apply a timeout to all join() calls for test_pool
- use thread.join() for waiters_handled test

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 17 Nov 2013 18:50:52 +0000 (13:50 -0500)] 
Merge branch 'master' into rel_0_9

11 years agoname it with a dash
Mike Bayer [Sun, 17 Nov 2013 18:50:42 +0000 (13:50 -0500)] 
name it with a dash

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 17 Nov 2013 18:45:57 +0000 (13:45 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- remove informix dialect, moved out to https://bitbucket.org/zzzeek/sqlalchemy_infor...
Mike Bayer [Sun, 17 Nov 2013 18:45:23 +0000 (13:45 -0500)] 
- remove informix dialect, moved out to https://bitbucket.org/zzzeek/sqlalchemy_informixdb
- remove informix, maxdb, access symbols from tests etc.

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 15 Nov 2013 03:11:58 +0000 (22:11 -0500)] 
Merge branch 'master' into rel_0_9

12 years agosync up some changes for #2604 and #2607 from 0.7.10, 0.8.0b2
Mike Bayer [Fri, 15 Nov 2013 03:11:22 +0000 (22:11 -0500)] 
sync up some changes for #2604 and #2607 from 0.7.10, 0.8.0b2

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 15 Nov 2013 02:22:37 +0000 (21:22 -0500)] 
Merge branch 'master' into rel_0_9

12 years agoMerge branch 'master' of github.com:vrajmohan/sqlalchemy into mm
Mike Bayer [Fri, 15 Nov 2013 02:19:59 +0000 (21:19 -0500)] 
Merge branch 'master' of github.com:vrajmohan/sqlalchemy into mm

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 15 Nov 2013 02:19:20 +0000 (21:19 -0500)] 
Merge branch 'master' into rel_0_9

12 years agodo the wheel thing
Mike Bayer [Fri, 15 Nov 2013 02:18:44 +0000 (21:18 -0500)] 
do the wheel thing

12 years agoFix cross references
Vraj Mohan [Thu, 14 Nov 2013 20:59:06 +0000 (15:59 -0500)] 
Fix cross references

12 years agoAdd undocumented members to resolve cross references
Vraj Mohan [Thu, 14 Nov 2013 20:34:05 +0000 (15:34 -0500)] 
Add undocumented members to resolve cross references

12 years agoFix method name
Vraj Mohan [Thu, 14 Nov 2013 19:27:50 +0000 (14:27 -0500)] 
Fix method name

12 years agoEnsure API generation
Vraj Mohan [Thu, 14 Nov 2013 19:26:31 +0000 (14:26 -0500)] 
Ensure API generation

12 years agoRemove references to (previously removed) AbstractType
Vraj Mohan [Thu, 14 Nov 2013 18:33:31 +0000 (13:33 -0500)] 
Remove references to (previously removed) AbstractType

12 years agoImport CTE so that API doc can be generated
Vraj Mohan [Thu, 14 Nov 2013 17:51:14 +0000 (12:51 -0500)] 
Import CTE so that API doc can be generated

12 years agoChange CompileException references to ConpileError
Vraj Mohan [Thu, 14 Nov 2013 15:58:02 +0000 (10:58 -0500)] 
Change CompileException references to ConpileError

12 years agoFix references to exceptions
Vraj Mohan [Thu, 14 Nov 2013 15:42:35 +0000 (10:42 -0500)] 
Fix references to exceptions

12 years agoEnsure API generation of inherited members to resolve references
Vraj Mohan [Thu, 14 Nov 2013 15:42:01 +0000 (10:42 -0500)] 
Ensure API generation of inherited members to resolve references

12 years agoFix cross reference
Vraj Mohan [Thu, 14 Nov 2013 15:10:59 +0000 (10:10 -0500)] 
Fix cross reference

12 years agoadded ORM support
Mario Lassnig [Thu, 14 Nov 2013 19:18:52 +0000 (20:18 +0100)] 
added ORM support

12 years agoEnsure API generation
Vraj Mohan [Thu, 14 Nov 2013 15:02:28 +0000 (10:02 -0500)] 
Ensure API generation

12 years agoRemove extra indentation
Vraj Mohan [Thu, 14 Nov 2013 14:17:52 +0000 (09:17 -0500)] 
Remove extra indentation

12 years agoEnsure API generation and fix cross references
Vraj Mohan [Wed, 13 Nov 2013 20:26:44 +0000 (15:26 -0500)] 
Ensure API generation and fix cross references

12 years agoFix cross-references in changelogs
Vraj Mohan [Wed, 13 Nov 2013 19:11:23 +0000 (14:11 -0500)] 
Fix cross-references in changelogs

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Wed, 13 Nov 2013 16:56:09 +0000 (11:56 -0500)] 
Merge branch 'master' into rel_0_9

12 years agoFixed bug where usage of new :class:`.Bundle` object would cause
Mike Bayer [Wed, 13 Nov 2013 16:55:54 +0000 (11:55 -0500)] 
Fixed bug where usage of new :class:`.Bundle` object would cause
the :attr:`.Query.column_descriptions` attribute to fail.

12 years agoEnsure API doc for make_url and resolve references
Vraj Mohan [Wed, 13 Nov 2013 14:40:17 +0000 (09:40 -0500)] 
Ensure API doc for make_url and resolve references

12 years agoSuppress warnings about files not being included in any toctree
Vraj Mohan [Wed, 13 Nov 2013 13:41:52 +0000 (08:41 -0500)] 
Suppress warnings about files not being included in any toctree

12 years agoFix indentation and escape *args and **kwargs
Vraj Mohan [Wed, 13 Nov 2013 13:24:35 +0000 (08:24 -0500)] 
Fix indentation and escape *args and **kwargs

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Wed, 13 Nov 2013 04:50:25 +0000 (23:50 -0500)] 
Merge branch 'master' into rel_0_9

12 years agoFix indentation issues in docstrings
Vraj Mohan [Tue, 12 Nov 2013 23:18:04 +0000 (18:18 -0500)] 
Fix indentation issues in docstrings

12 years agoFix indentation and escape *args and **kwargs
Vraj Mohan [Tue, 12 Nov 2013 19:39:18 +0000 (14:39 -0500)] 
Fix indentation and escape *args and **kwargs

12 years agoFix cross references
Vraj Mohan [Mon, 11 Nov 2013 20:04:52 +0000 (15:04 -0500)] 
Fix cross references

12 years agoadd psql FOR UPDATE OF functionality
Mario Lassnig [Tue, 12 Nov 2013 22:08:51 +0000 (23:08 +0100)] 
add psql FOR UPDATE OF functionality

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Tue, 12 Nov 2013 18:01:03 +0000 (13:01 -0500)] 
Merge branch 'master' into rel_0_9

12 years agoadd sap sqlanywhere
Mike Bayer [Tue, 12 Nov 2013 18:00:49 +0000 (13:00 -0500)] 
add sap sqlanywhere

12 years agocss updates to better work with RTD badge
Mike Bayer [Tue, 12 Nov 2013 01:36:35 +0000 (20:36 -0500)] 
css updates to better work with RTD badge

12 years agomove the css to the base so that the site can override
Mike Bayer [Tue, 12 Nov 2013 01:27:40 +0000 (20:27 -0500)] 
move the css to the base so that the site can override

12 years agouse an explcit css block
Mike Bayer [Tue, 12 Nov 2013 01:20:11 +0000 (20:20 -0500)] 
use an explcit css block

12 years agoattempt to use the css_files list so that we can integrate css
Mike Bayer [Tue, 12 Nov 2013 00:45:43 +0000 (19:45 -0500)] 
attempt to use the css_files list so that we can integrate css
better with rtd

12 years ago0.3.2 please
Mike Bayer [Sun, 10 Nov 2013 08:04:12 +0000 (03:04 -0500)] 
0.3.2 please

12 years ago- tutorial updates
Mike Bayer [Sun, 10 Nov 2013 07:55:06 +0000 (02:55 -0500)] 
- tutorial updates
- emphasis on not using a custom contructor by default, making sure it's clear that
you *can* use one
- other separation of narrative from special notes using sidebars

12 years ago- some py3k compatibility
Mike Bayer [Sun, 10 Nov 2013 07:52:27 +0000 (02:52 -0500)] 
- some py3k compatibility

12 years ago- use a dictionary here
Mike Bayer [Sun, 10 Nov 2013 05:32:41 +0000 (00:32 -0500)] 
- use a dictionary here

12 years ago- add a new sphinx extension "viewsource". takes advantage of part of the viewcode...
Mike Bayer [Sun, 10 Nov 2013 00:42:01 +0000 (19:42 -0500)] 
- add a new sphinx extension "viewsource".  takes advantage of part of the viewcode extension
to allow ad-hoc display of the source of any file, as well as a "directory listing" structure.
- reorganize examples/ to take advantage of new extension.  in particular, keep moving all
the descriptive text for files etc. into module docstrings, taking more advantage of
self-documentation.

12 years agoinclude the start-line directive here so that we dont get warnings
Mike Bayer [Sat, 9 Nov 2013 21:07:04 +0000 (16:07 -0500)] 
include the start-line directive here so that we dont get warnings
for the headers in the included files

12 years agoalso update requirements file...
Mike Bayer [Sat, 9 Nov 2013 18:24:12 +0000 (13:24 -0500)] 
also update requirements file...

12 years ago- use pypi changelog plugin
Mike Bayer [Sat, 9 Nov 2013 18:19:47 +0000 (13:19 -0500)] 
- use pypi changelog plugin
- remove outdated pullreq links
- support pullreq links for bitbucket or github and add a few

12 years ago- add proof of concept for versioning, [ticket:2861]
Mike Bayer [Fri, 8 Nov 2013 23:19:41 +0000 (18:19 -0500)] 
- add proof of concept for versioning, [ticket:2861]

12 years ago- Fixed bug which prevented history_meta recipe from working with
Mike Bayer [Fri, 8 Nov 2013 01:35:24 +0000 (20:35 -0500)] 
- Fixed bug which prevented history_meta recipe from working with
joined inheritance schemes more than one level deep.
- don't need to use _lib.py here anymore now that these features are in
sqlalchemy.testing

12 years ago- Fixed a regression introduced by the join rewriting feature of
Mike Bayer [Fri, 1 Nov 2013 19:24:43 +0000 (15:24 -0400)] 
- Fixed a regression introduced by the join rewriting feature of
:ticket:`2369` and :ticket:`2587` where a nested join with one side
already an aliased select would fail to translate the ON clause on the
outside correctly; in the ORM this could be seen when using a
SELECT statement as a "secondary" table. [ticket:2858]

12 years ago- add a section re: using column_reflect for mapping, link to it from the "naming...
Mike Bayer [Thu, 31 Oct 2013 19:29:45 +0000 (15:29 -0400)] 
- add a section re: using column_reflect for mapping, link to it from the "naming columns distinctly" and "column_prefix" sections since this is often what ppl are looking for.  [ticket:2856] is related.

12 years ago- Fixed a regression introduced by :ticket:`2818` where the EXISTS
Mike Bayer [Wed, 30 Oct 2013 14:34:31 +0000 (10:34 -0400)] 
- Fixed a regression introduced by :ticket:`2818` where the EXISTS
query being generated would produce a "columns being replaced"
warning for a statement with two same-named columns,
as the internal SELECT wouldn't have use_labels set.

12 years agoMerge pull request #39 from jmagnusson/minordocfix
mike bayer [Tue, 29 Oct 2013 00:52:09 +0000 (17:52 -0700)] 
Merge pull request #39 from jmagnusson/minordocfix

Super-minor doc fix

12 years agoSuper-minor doc fix
Jacob Magnusson [Mon, 28 Oct 2013 22:26:37 +0000 (23:26 +0100)] 
Super-minor doc fix

12 years agono such thing as default_strategy()...
Mike Bayer [Mon, 28 Oct 2013 17:54:08 +0000 (13:54 -0400)] 
no such thing as default_strategy()...

12 years ago- whitespace below ..version, sigh
Mike Bayer [Mon, 28 Oct 2013 17:48:44 +0000 (13:48 -0400)] 
- whitespace below ..version, sigh

12 years agofix to the changelog system for when there's no change recs in the body
Mike Bayer [Sun, 27 Oct 2013 22:25:47 +0000 (18:25 -0400)] 
fix to the changelog system for when there's no change recs in the body

12 years ago- Fixed bug where index reflection would mis-interpret indkey values
Mike Bayer [Sun, 27 Oct 2013 22:14:44 +0000 (18:14 -0400)] 
- Fixed bug where index reflection would mis-interpret indkey values
when using the pypostgresql adapter, which returns these values
as lists vs. psycopg2's return type of string.
[ticket:2855]

12 years ago- farm out everthing to do with rtd out to the sqlalchemy.org site
Mike Bayer [Sun, 27 Oct 2013 18:43:35 +0000 (14:43 -0400)] 
- farm out everthing to do with rtd out to the sqlalchemy.org site

12 years agoMerge branch 'rel_0_9'
Mike Bayer [Sat, 26 Oct 2013 21:33:09 +0000 (17:33 -0400)] 
Merge branch 'rel_0_9'

12 years ago- more updates to compatability, C extensions, building, etc. rel_0_9_0b1
Mike Bayer [Sat, 26 Oct 2013 20:57:49 +0000 (16:57 -0400)] 
- more updates to compatability, C extensions, building, etc.

12 years ago- ensure 0.9 in various documentation spaces
Mike Bayer [Sat, 26 Oct 2013 20:47:42 +0000 (16:47 -0400)] 
- ensure 0.9 in various documentation spaces
- supporting py 2.6, update pypy version, jython not working these days

12 years ago- release 0.9.0b1
Mike Bayer [Sat, 26 Oct 2013 20:35:23 +0000 (16:35 -0400)] 
- release 0.9.0b1

12 years ago- add copyright to source files missing it
Mike Bayer [Sat, 26 Oct 2013 20:32:17 +0000 (16:32 -0400)] 
- add copyright to source files missing it

12 years ago- add copyright to source files missing it
Mike Bayer [Sat, 26 Oct 2013 20:32:17 +0000 (16:32 -0400)] 
- add copyright to source files missing it

12 years agowill call this 0.9.0b1
Mike Bayer [Sat, 26 Oct 2013 20:15:09 +0000 (16:15 -0400)] 
will call this 0.9.0b1

12 years ago- Fixed bug where Oracle table reflection using synonyms would fail
Mike Bayer [Fri, 25 Oct 2013 23:11:53 +0000 (19:11 -0400)] 
- Fixed bug where Oracle table reflection using synonyms would fail
if the synonym and the table were in different remote schemas.
Patch to fix courtesy Kyle Derr. [ticket:2853]