lp:~kevin-wright-1/u1db-qt/kevin-wright-1-addCreateIndexList

Created by Kevin Wright and last modified
Get this branch:
bzr branch lp:~kevin-wright-1/u1db-qt/kevin-wright-1-addCreateIndexList
Only Kevin Wright can upload to this branch. If you are Kevin Wright please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kevin Wright
Project:
U1DB Qt/ QML
Status:
Merged

Recent revisions

15. By Kevin Wright

Modified comment: int Database::createIndex(QString index_name, QStringList expressions), which corresponds to the u1db.c function: int u1db_create_index(u1database *db, const char *index_name, int n_expressions, ...). It is being marked as INCOMPLETE

14. By Kevin Wright

Added the function int Database::createIndex(u1database *db, const char *index_name, QStringList expressions). It is currently marked INCOMPLETE.

13. By Kevin Wright

Added the function int Database::createIndexList(QString index_name, QStringList expressions), which corresponds to the u1db.c function: int u1db_create_index_list(u1database *db, const char *index_name, int n_expressions, const char **expressions). It is currently marked INCOMPLETE.

12. By Cris Dywan

Install to QT_INSTALL_QML, qmlscene/ testrunner doesn't see QT_INSTALL_IMPORTS

11. By Cris Dywan

Fix QT_BEGIN_NAMESPACE_U1DB, use QT_PREPEND_NAMESPACE_U1DB

Apparently Q_PROPERTY is oblivious of namespaces.

10. By Cris Dywan

QAbstractListModel support in Database + model test fixes

The re-wrapping in the test case is needed to have the
model be instantiated at all, based on hearsay.

The former kind of works, the later still never instantiates.

make; and qmltestrunner -import ./modules
make check

9. By Cris Dywan

Put without docId, suppressing false errors

8. By Cris Dywan

Introduce setError/ errorChanged/ lastError

A human-readable message is given.

7. By Cris Dywan

Verify docId against regex before storing

6. By Cris Dywan

Init db when changing name and "bind" correctly

A closed QSqlDatabase ignores filename changes.

Always prefix placeholders with : when binding. Also omit
table names in result value names.

Pass around json content instead of revisions.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:u1db-qt
This branch contains Public information 
Everyone can see this information.

Subscribers