Commits

Author Commit Message Labels Comments Date
Robert Clipsham
Moved Sqlite bindings out of their own directory, no longer needed.
Robert Clipsham
Fixed a bug causing serenity not to compile. Ooops.
Robert Clipsham
Added a license header to compile.
Robert Clipsham
Added in a missing opApply() to handle foreach(i, t; result) for Result!(T).
Robert Clipsham
Editted the build script to be more flexible and support building with multiple compilers. Fixed a bug in registerController causing any type, not just models to be allowed as models. Added a thread pool to Serenity to allow for queued tasks. Added a setNumberOfThreads() method to class Serenity to control thread numbers. Added lazy execution for SQL Queries to allow for speedier SQL access. Updated copyright years for modified files.
Robert Clipsham
Added a missing file - bindings for SQLite.
Robert Clipsham
Serenity is now New BSD licensed, updated all files appropriately.
Robert Clipsham
Removed a debugging line from bootstrap.d. Added a nicer way of doing models.
Robert Clipsham
Fixed issue causing any SELECT query other than SELECT * to fail when using SqliteDatabase.
Robert Clipsham
Fixed a bug causing multiple unique elements to be added to an HtmlDocument. Added a debugging assert to generated unique methods. Surrounded Serenity.run() with a try/catch. Added a pretty major TODO/BUG comment to the SqliteDatabase backend. Trace exceptions.
Robert Clipsham
Added the missing Model class.
Robert Clipsham
Work on models - they pretty much work now. Fixed bugs in dbExec() and execute!(T)() causing compiler segfaults (fixed in ldc revision 1702) and runtime errors. Tweaked the dispatcher to give a more verbose error message to the error controller. Added a method to Serenity to get command line arguments - will probably be removed later. Added support for Time to SqlQuery and co. Added support for limits and offsets to SqlQuery.
Robert Clipsham
Dynamically link against SQLite instead of statically. Switch over to _v2 methods where needed.
Robert Clipsham
Fixed some issues with Result!(T), added a length method. Renamed abstract method Database.finalize() to finalize_() to avoid the conflict with the static method. Fixed a bug with boolean values in SQLite. Fixed some bugs in the SQLite adapter. Added complete and working unittests for SQLite.
Robert Clipsham
Temporarily tweaked compile script to link with sqlite for testing. Added a basic implementation for Result!(T). Added DatabaseException and SqlPrinterException. Renamed finalize() to finalize_() internally as not to conflict with the static method of the same name. Added a Bind struct to represent bound values. Added an implementation of SqliteDatabase.execute!(T)(). Begun unittests for the SQLite database backend. Added a temporary line to make the SQLite bindin…
Robert Clipsham
Added a finalize() method to free resources allocated by databases. Tweaked the dbExec() function to generate the default case.
Robert Clipsham
More work on database abstraction. Fixed some bugs in SqlitePrinter unittests due to getQueryString() changes. Added sqlite bindings.
Robert Clipsham
Added getQueryString() method to SqlPrinter. Begun work on the database abstraction layer.
Robert Clipsham
Renamed Constraint to be an anonymous enum to save code. Fixed bug in Table.bind!() causing compilation to fail. Fixed a bug in Table.field() causing it to just not work. Added a stub for SqlQuery.execute() as a shortcut to execute a query.
Robert Clipsham
More work on CREATE TABLE. Currently broken.
Robert Clipsham
Begun work on CREATE TABLE for SQLite.
Robert Clipsham
Added some debugging code to bootstrap.d and compile. Temporarily commented out code in the example Home controller. Renamed SqlDocument to SqlQuery. Added missing Document class. Begun implementation of SqlQuery - currently supports SELECT and INSERT. Added Table as a prototype for CREATE TABLE. Added a SqlitePrinter for printing Sqlite style SQL. Added abstract SqlPrinter which all SQL printers should inherit.
Robert Clipsham
More Document -> HtmlDocument changes Some more attribute() -> attr() changes
Robert Clipsham
Renamed Document to HtmlDocument
Robert Clipsham
Updates to how models should work. Changed Document.attribute() => Document.attr()
Robert Clipsham
Implemented error handling. Fixed a bug in the router causing it to fail for multiple requests. Added a sample of the interface I want to achieve for models.
Robert Clipsham
Added a very poor logging implementation, mainly for debugging. Added the missing error controller to the example plugin.
Robert Clipsham
More fixes to routing. Added some preliminary support for error handling. Improved dispatching.
Robert Clipsham
Routing and dispatching now works, more work to be done on dispatching.
Robert Clipsham
More work on routing, added some (failing) unittests.
  1. Prev
  2. Next