]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- changelog
Mike Bayer [Sat, 30 Nov 2013 21:26:55 +0000 (16:26 -0500)] 
- changelog
- put list.clear() instrumentation under "if not py2k"

11 years agoMerge branch 'orm-collections-list-clear' of github.com:schettino72/sqlalchemy into...
Mike Bayer [Sat, 30 Nov 2013 21:17:27 +0000 (16:17 -0500)] 
Merge branch 'orm-collections-list-clear' of github.com:schettino72/sqlalchemy into list_clear

11 years agonot new anymore...
Mike Bayer [Sat, 30 Nov 2013 21:15:58 +0000 (16:15 -0500)] 
not new anymore...

11 years ago- move additional enum compilation tests to postgresql/test_compiler.py
Mike Bayer [Sat, 30 Nov 2013 21:12:20 +0000 (16:12 -0500)] 
- move additional enum compilation tests to postgresql/test_compiler.py

11 years ago- selected documentation issues
Mike Bayer [Sat, 30 Nov 2013 21:07:14 +0000 (16:07 -0500)] 
- selected documentation issues
- add glossary terms

11 years ago- re-document synonyms and remove warnings about "superseded"; synonyms
Mike Bayer [Sat, 30 Nov 2013 20:30:24 +0000 (15:30 -0500)] 
- re-document synonyms and remove warnings about "superseded"; synonyms
are still useful, just include notes that for more complex descriptor operations,
hybrids are probably preferable

11 years ago- Fixed bug where values within an ENUM weren't escaped for single
Mike Bayer [Sat, 30 Nov 2013 18:53:26 +0000 (13:53 -0500)] 
- Fixed bug where values within an ENUM weren't escaped for single
quote signs.   Note that this is backwards-incompatible for existing
workarounds that manually escape the single quotes. [ticket:2878]

11 years agoforgot to add this, oopsie
Mike Bayer [Sat, 30 Nov 2013 15:34:09 +0000 (10:34 -0500)] 
forgot to add this, oopsie

11 years agosimplify this
Mike Bayer [Sat, 30 Nov 2013 15:26:11 +0000 (10:26 -0500)] 
simplify this

11 years agoconvert to a list here for py3k
Mike Bayer [Sat, 30 Nov 2013 00:35:44 +0000 (19:35 -0500)] 
convert to a list here for py3k

11 years ago- add support for bindparam() called from AsFromText
Mike Bayer [Sat, 30 Nov 2013 00:06:33 +0000 (19:06 -0500)] 
- add support for bindparam() called from AsFromText
- get PG dialect to work around "no nonexistent binds" rule for now,
though we might want to reconsider this behavior

11 years ago- start reworking examples to include more code from the wiki.
Mike Bayer [Fri, 29 Nov 2013 23:53:53 +0000 (18:53 -0500)] 
- start reworking examples to include more code from the wiki.
- add the other versioning examples from the wiki
- modernize the dictlike examples

11 years agoremove this
Mike Bayer [Fri, 29 Nov 2013 23:53:37 +0000 (18:53 -0500)] 
remove this

11 years agoFixed bug where in Py2K a unicode literal would not be accepted
Mike Bayer [Fri, 29 Nov 2013 23:15:52 +0000 (18:15 -0500)] 
Fixed bug where in Py2K a unicode literal would not be accepted
as the string name of a class or other argument within
declarative using :func:`.relationship`.

11 years ago- reduce verbiage in mutation.py regarding legacy style, place under versionadded
Mike Bayer [Fri, 29 Nov 2013 21:32:24 +0000 (16:32 -0500)] 
- reduce verbiage in mutation.py regarding legacy style, place under versionadded

11 years agoFixed a syntax error in example code.
Hyunjun Kim [Thu, 21 Nov 2013 07:36:48 +0000 (16:36 +0900)] 
Fixed a syntax error in example code.

11 years agoMerge pull request #45 from timka/patch-1
mike bayer [Fri, 29 Nov 2013 21:12:17 +0000 (13:12 -0800)] 
Merge pull request #45 from timka/patch-1

Fix sessionmaker.__repr__

11 years agoMerge pull request #46 from vrajmohan/master
mike bayer [Fri, 29 Nov 2013 21:11:27 +0000 (13:11 -0800)] 
Merge pull request #46 from vrajmohan/master

More fixes for cross references and reducing warnings (3rd wave)

11 years agomore fix
Mike Bayer [Fri, 29 Nov 2013 20:26:00 +0000 (15:26 -0500)] 
more fix

11 years agofix
Mike Bayer [Fri, 29 Nov 2013 20:23:33 +0000 (15:23 -0500)] 
fix

11 years agomake generativeselect available
Mike Bayer [Fri, 29 Nov 2013 20:22:12 +0000 (15:22 -0500)] 
make generativeselect available

11 years ago- New improvements to the :func:`.text` construct, including
Mike Bayer [Fri, 29 Nov 2013 19:36:24 +0000 (14:36 -0500)] 
- New improvements to the :func:`.text` construct, including
more flexible ways to set up bound parameters and return types;
in particular, a :func:`.text` can now be turned into a full
FROM-object, embeddable in other statements as an alias or CTE
using the new method :meth:`.TextClause.columns`.
[ticket:2877]

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 agoorm.collection, list.clear(). remove 'before_delete()', added unit-test.
schettino72 [Mon, 25 Nov 2013 01:18:34 +0000 (14:18 +1300)] 
orm.collection, list.clear(). remove 'before_delete()', added unit-test.

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 agoFix cross references
Vraj Mohan [Fri, 15 Nov 2013 16:32:38 +0000 (11:32 -0500)] 
Fix cross references

11 years agoGenerate API and resolve cross references
Vraj Mohan [Fri, 15 Nov 2013 16:11:13 +0000 (11:11 -0500)] 
Generate API and resolve cross references

11 years agoFix cross references
Vraj Mohan [Fri, 15 Nov 2013 13:32:07 +0000 (08:32 -0500)] 
Fix cross references

11 years agoAdd API generation to resolve cross references
Vraj Mohan [Fri, 15 Nov 2013 15:08:55 +0000 (10:08 -0500)] 
Add API generation to resolve cross references

11 years agoAdd module documentation to resolve references
Vraj Mohan [Fri, 15 Nov 2013 14:52:09 +0000 (09:52 -0500)] 
Add module documentation to resolve references

11 years agoRemove reference to defunct class
Vraj Mohan [Fri, 15 Nov 2013 13:41:00 +0000 (08:41 -0500)] 
Remove reference to defunct class

We should probably reword this entirely as, IMHO, this should be in the
changelog and not in the doc proper (which should only describe the
current state of affairs).

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 agoFix sessionmaker.__repr__
Timur [Sat, 16 Nov 2013 00:45:59 +0000 (03:45 +0300)] 
Fix sessionmaker.__repr__

A comma separating 'class_' from the other args. It's still there even when kw is empty, which is syntactically correct.

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