Commits

Show all
Author Commit Message Labels Comments Date
Kirill Simonov
Removed the download url: the package will be uploaded to PyPI.
Tags
2.0.0b1
Kirill Simonov
Set the package version to `2.0.0b1`. `make dist` now builds both a source and an EGG distribution. `make pypi` now uploads the source and binary distributions to PyPI.
Kirill Simonov
Added Makefile targets `dist` and `pypi`. `make dist` builds a source distribution. `make pypi` registers the package on PyPI. Added a distutils manifest file.
Kirill Simonov
Removed the static list of supported engines: engines are pluggable.
Kirill Simonov
Added support for an explicit format indicator `/:fmt`.
Kirill Simonov
Added aggregates `sum` and `avg`.
Kirill Simonov
Fixed :csv and :html formatters to properly handle the `as` decorator.
Kirill Simonov
Documented the `htsql.tr.encode` module. Renamed `JoinedTableBinding` to `AttachedTableBinding`.
Kirill Simonov
Refactored the encoder. Renamed module `htsql.tr.encoder` to `htsql.tr.encode`; renamed some classes and attributes too. Introduced encoding adapters: `Encode`, `Relate`, `Direct`. Introduced `Convert` adapter to handle untyped and tuple->boolean casts.
Kirill Simonov
Renamed `.order()` to `.sort()`. Method `.sort()` now understands order modifiers.
Kirill Simonov
Added support for order modifiers: `+` and `-`.
Kirill Simonov
Added title decorator: `as`
Kirill Simonov
Reviewed code nodes. Documented space, code and unit nodes; explained space operations. Renamed `Code` -> `Expression`, `Expression` -> `Code`, `FreeTableSpace` -> `CrossProductSpace`, `JoinedTableSpace` -> `JoinProductSpace`, `ScreenSpace` -> `FilteredSpace`; other renames and API changes. Fixed comparison for domain and join objects; other minor fixes.
Kirill Simonov
Reviewed binding nodes and the binding process. Added comparison operator to domain instances. Refactored the Bind adapter: introduced a `BindingState` object. Separated lookup into two adapters: Lookup, and Itemize. Moved UnaryCoerce and BinaryCoerce adapters to a separate module. Refactored binding nodes: removed the parent attribute from most of the nodes. Updated API documentation to list modules in alphabetical order. Added docstrings and …
Kirill Simonov
Reviewed the scanner and the parser. Renamed `htsql.tr.scanner` to `htsql.tr.scan` and `htsql.tr.parser` to `htsql.tr.parse`. Added global utility functions `scan()` and `parse()`. Removed unused module `htsql.translate`. Added a module for translation-specific errors: `htsql.tr.error`.
Kirill Simonov
Reviewed modules `htsql_pgsql.domain` and `htsql_sqlite.domain`.
Kirill Simonov
Reviewed module `htsql.domain`.
Kirill Simonov
Reviewed and added docstrings to `htsql.entity` module. Removed `ViewEntity`.
Kirill Simonov
Refactored the adaptation mechanism. Divided all interfaces into three groups: utilities (no dispatch), adapters (type-based dispatch), protocols (name-based dispatch). Removed explicit order indicators (temporarily?): `weights()`, `dominates()`, `dominated_by()`. Automated lookup for components exported by an addon: no longer need to list all the components explicitly. `toposort()`: added an option `is_total` to check if the give…
Kirill Simonov
Added draft support for correlated sub-queries. Reimplemented `exists()` and `every()` as correlated expressions.
Kirill Simonov
Added the AD schema to the SQLite regression database.
Kirill Simonov
Working on `.order()` and `.limit()` methods.
Kirill Simonov
Normalize Boolean values produced by SQLite.
Kirill Simonov
Added date constructor and arithmetic operators.
Kirill Simonov
Added `length()` method and `~` operator.
Kirill Simonov
Added `string()` cast.
Kirill Simonov
Added unary +/- operators, `round()` function. Also binary operators no longer need to be decorated with underscores.
Kirill Simonov
Added some tests for numeric casts.
Kirill Simonov
Replaced `div` function with a division operator.
Kirill Simonov
Added arithmetic operators.
  1. Prev
  2. Next