Commit Graph

2307 Commits

Author SHA1 Message Date
Mike Bayer 4340a87f07 - changelog, migration 2013-11-28 23:44:11 -05:00
Mike Bayer 6029496bd3 - 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?)
2013-11-25 14:46:58 -05:00
Mike Bayer 2800e34710 - 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]
2013-11-24 18:11:37 -05:00
Mike Bayer ae4629e6a0 - 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]
2013-11-23 17:03:48 -05:00
Mike Bayer 6b79d2ea79 - 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]
2013-11-22 20:04:19 -05:00
Mike Bayer f112dc1d53 - 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]
2013-11-22 18:35:36 -05:00
Mike Bayer 467784e89c 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]
2013-11-22 17:56:35 -05:00
Mike Bayer 2aa00c49d7 - Fixed bug which prevented the `serializer` extension from working
correctly with table or column names that contain non-ASCII
characters. [ticket:2869]
2013-11-21 13:30:32 -05:00
Mike Bayer 42fd77a4bf - Fixed a regression caused by 🎫2812 where the repr() for
table and column names would fail if the name contained non-ascii
characters. [ticket:2868]
2013-11-21 13:16:49 -05:00
Mike Bayer 13b6ddc823 break up behavioral changes into ORM and Core 2013-11-19 19:42:21 -05:00
Mike Bayer 02f21ffcf3 - 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]
2013-11-19 19:29:18 -05:00
Mike Bayer 63508b82cd - 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]
2013-11-19 19:16:26 -05:00
Mike Bayer 452ce0c2e7 Added support for new :attr:.Session.info attribute to
:class:`.scoped_session`.
2013-11-19 14:21:20 -05:00
Vraj Mohan 90d1f98f43 Generate API and resolve cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan a62afc6229 Fix cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan 4bc2869b24 Add API generation to resolve cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan bf735f83b0 Add module documentation to resolve references 2013-11-17 17:37:55 -05:00
Mike Bayer 756f22182a name it with a dash 2013-11-17 13:50:42 -05:00
Mike Bayer 59ca4633ac - remove informix dialect, moved out to https://bitbucket.org/zzzeek/sqlalchemy_informixdb
- remove informix, maxdb, access symbols from tests etc.
2013-11-17 13:45:23 -05:00
Mike Bayer d6545f7db7 sync up some changes for #2604 and #2607 from 0.7.10, 0.8.0b2 2013-11-14 22:11:22 -05:00
Mike Bayer 7a3d3c050b Merge branch 'master' of github.com:vrajmohan/sqlalchemy into mm 2013-11-14 21:19:59 -05:00
Vraj Mohan 1a6dd8b393 Fix cross references 2013-11-14 17:42:55 -05:00
Vraj Mohan e7ee4ce162 Add undocumented members to resolve cross references 2013-11-14 15:34:05 -05:00
Vraj Mohan 2ebf91b63b Ensure API generation 2013-11-14 14:31:38 -05:00
Vraj Mohan f839c85c20 Remove references to (previously removed) AbstractType 2013-11-14 14:31:38 -05:00
Vraj Mohan caea88b37b Change CompileException references to ConpileError 2013-11-14 14:31:38 -05:00
Vraj Mohan fc64812bad Fix references to exceptions 2013-11-14 14:31:37 -05:00
Vraj Mohan d55193ce49 Ensure API generation of inherited members to resolve references 2013-11-14 14:31:37 -05:00
Vraj Mohan 24a4649930 Fix cross reference 2013-11-14 14:31:37 -05:00
Vraj Mohan 868e81a3f9 Ensure API generation 2013-11-14 10:02:28 -05:00
Vraj Mohan 63d628bbe4 Remove extra indentation 2013-11-14 09:18:15 -05:00
Vraj Mohan bb0531e86e Ensure API generation and fix cross references 2013-11-13 17:28:09 -05:00
Vraj Mohan 782a42abcb Fix cross-references in changelogs 2013-11-13 14:38:30 -05:00
Mike Bayer fefa2f5d57 Fixed bug where usage of new :class:.Bundle object would cause
the :attr:`.Query.column_descriptions` attribute to fail.
2013-11-13 11:55:54 -05:00
Vraj Mohan 6dc72a1355 Ensure API doc for make_url and resolve references 2013-11-13 09:40:17 -05:00
Vraj Mohan be303fe03f Suppress warnings about files not being included in any toctree 2013-11-13 08:46:19 -05:00
Vraj Mohan 226c7ec790 Fix indentation and escape *args and **kwargs 2013-11-12 20:23:05 -05:00
Vraj Mohan 631eb84108 Fix cross references 2013-11-12 20:23:05 -05:00
Mike Bayer f429032ac2 add sap sqlanywhere 2013-11-12 13:00:49 -05:00
Mike Bayer 48d41075fd move the css to the base so that the site can override 2013-11-11 20:27:40 -05:00
Mike Bayer 1bdc2c441d use an explcit css block 2013-11-11 20:20:11 -05:00
Mike Bayer 97e5f8e7d7 attempt to use the css_files list so that we can integrate css
better with rtd
2013-11-11 19:45:43 -05:00
Mike Bayer fd694d1aa8 0.3.2 please 2013-11-10 03:04:12 -05:00
Mike Bayer e269433efd - 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
2013-11-10 02:55:06 -05:00
Mike Bayer 409cdafe45 - some py3k compatibility 2013-11-10 02:52:27 -05:00
Mike Bayer 153fd6de0e - use a dictionary here 2013-11-10 00:32:41 -05:00
Mike Bayer 546015e6e1 - 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.
2013-11-09 19:42:01 -05:00
Mike Bayer b03961b824 include the start-line directive here so that we dont get warnings
for the headers in the included files
2013-11-09 16:07:04 -05:00
Mike Bayer 501fb6c22c also update requirements file... 2013-11-09 13:24:12 -05:00
Mike Bayer 3e09c404f1 - use pypi changelog plugin
- remove outdated pullreq links
- support pullreq links for bitbucket or github and add a few
2013-11-09 13:19:47 -05:00