Martin Kleusberg a1b72c5eef Extend the entire savepoint logic to allow multiple active savepoints
Allow multiple savepoints in DBBrowserDB, i.e. setRestorePoint() doesn't
simply return if the DB is already set to dirty but creates an
additional savepoint.

Track the names of all savepoints which have not been either saved or
reverted yet.

Finally, and that's the whole point of this commit, change the savepoint
logic of the EditTableDialog. We used to have a transaction started when
opening a database which was only committed when the file was closed
again. This way the EditFileDialog could savely create a savepoint when
being opened and just release it when OK was clicked or revert to it
when cancel was clicked. Getting rid of the transaction broke this
logic. The dialog still worked but as the savepoint was released when
the changes were applied all changes made via the dialog were
immediately committed to the database. So clicking the revert button had
no effect on those changes. This is at best an unexpected behaviour but
could also be a problem when some changes are reverted while others
aren't. So, having the option now of keeping multiple savepoints opened
this problem can be fixed by just creating a new savepoint every time
the dialog is opened, reverting to it when it is cancelled and _not_
releasing it when OK is clicked.

I hope this works!
2013-05-23 17:41:16 +02:00
2013-05-09 14:19:20 +02:00
2013-04-19 16:22:38 +02:00
2013-03-12 22:36:20 +00:00
2013-05-03 16:04:09 +02:00

=============
sqlitebrowser
=============

This is a fork from the SF project which seems to be stagnant. 

Old Project
-----------
- http://sqlitebrowser.sourceforge.net
- https://sourceforge.net/projects/sqlitebrowser/

What it is
----------

(taken from the website linked to above; it's still true - now even more)

SQLite Database Browser is a freeware, public domain, open source visual tool
used to create, design and edit database files compatible with SQLite. It is
meant to be used for users and developers that want to create databases, edit
and search data using a familiar spreadsheet-like interface, without the need
to learn complicated SQL commands.

What's been done since then
---------------------------
- Qt3Support was removed
- Recent files menu added
- Improved UI, making it more modern, replacing some dialogs etc.
- Syntax highlighting for SQL code
- Cleaned up the code, reducing the SLOC quite a bit
- Added basic support for triggers and views
- Added pragma editing
- Added BLOB support
- Added a new filter row for searching
- Improved performance when opening large tables
- Extended the SQL tab
- Added SQLite extension support
- Fixed a ton of bugs
- Probably more

All in all a fair amount of the code has been rewritten in order to regain
maintainability. Based on this quite a few bugs could be fixed and some
features added.

What's still to do
------------------

- Even more code cleanup
- Further improvement of the UI, adding more features and making it easier to
  use
- Feel free to add more issues at
  https://github.com/rp-/sqlitebrowser/issues

Windows binaries
----------------
Windows binaries can be downloaded from here:

http://rp.oldsch00l.com/sqlitebrowser/
Description
Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:
Readme 40 MiB
Languages
C++ 95.7%
C 2.6%
SCSS 0.7%
CMake 0.6%
QMake 0.2%
Other 0.1%