Commit Graph

654 Commits

Author SHA1 Message Date
Justin Clift
8dfc8ad4fb Add placeholder 256x256 OSX icon image.
I'll do a proper one with all of the recommended sizes later if
John still has the source .svg.
2014-05-12 02:14:21 +01:00
Justin Clift
968e12e57c Add .DS_Store to .gitignore
OSX adds .DS_Store files for housekeeping metadata.  No need to
store it in .git.
2014-05-12 02:06:54 +01:00
Martin Kleusberg
ddda08b673 Make sure the SQL editor has got the focus after creating a new tab
Focus the SQL editor of a newly created tab to make sure it receives
keyboard input without need to click it first. On my system this wasn't
the case after starting the application, i.e. the first time the SQL tab
is used.
2014-05-11 13:46:28 +02:00
Martin Kleusberg
770a37928b Plot: Suggest file formats in save dialog 2014-05-11 12:37:46 +02:00
Martin Kleusberg
1daff4a32c Update Windows icon and add script for creating new icons in the future
Add a script that takes the PNG application icon and converts it into a
multi-res Windows icon file.

Update the Windows icon file to match the new application icon.
2014-05-11 12:31:51 +02:00
Justin Clift
c33344a3e8 Trivial formatting tweak 2014-05-11 01:58:31 +01:00
Justin Clift
48430f5e1d Added URL for the new project website
Doh!  Just realised it's not explicitly mentioned anywhere yet.
2014-05-11 01:58:05 +01:00
Peinthor Rene
4ed5d9a778 plot: add a button to save the current plot as different file formats 2014-05-10 09:23:16 +02:00
Peinthor Rene
e3db2fc3e3 make the aboutdialog a bit higher, didn't fully fit on my system 2014-05-10 08:41:34 +02:00
Martin Kleusberg
c4a257256c Update the about dialog
Fix the link to the Qt project page. Also link to their page for license
information instead of pointing at a non-existant file in our
repository. This fixed issue #5.

Mention the Silk icon set in the about dialog and link to its page. This
should also make the hard-to-find CREDITS file dispensable.

Generally redesign the about dialog to use layouts for its design.
2014-05-09 21:59:14 +02:00
Martin Kleusberg
954cc2f689 cmake: Add extra lib and include paths when building on MacOS
When compiling with cmake on MacOS, search for the SQLite library and
include files in some other irectories before falling back to the standard
paths.
Maybe this fixed the issue at
https://github.com/rp-/sqlitebrowser/issues/42
2014-05-09 19:26:21 +02:00
Martin Kleusberg
0def8fd674 Add some cmake files to the gitignore list 2014-05-09 18:41:17 +02:00
Peinthor Rene
2055bc6b26 plot: fix crash with selecting column out of range 2014-05-09 17:51:55 +02:00
Peinthor Rene
c495524fbc fix a crash with browsing VIRTUAL tables, that we can't query 2014-05-09 17:41:00 +02:00
Peinthor Rene
9bd3cf1655 plot: add some comments 2014-05-09 17:29:00 +02:00
Peinthor Rene
062f2df775 plot: reselect columns after model change 2014-05-09 17:28:45 +02:00
Martin Kleusberg
a002e6768f Make 'without rowid' tables browseable
Don't depend on the existance of the rowid column when using the Browse
Data tab; this means falling back to the primary key if the selected
table is a 'without rowid' table.
While still not supporting these tables very well this makes them at
least readable.
2014-05-09 15:21:27 +02:00
Martin Kleusberg
1f8686d1d4 Add tests for the new 'without rowid' parsing
Add tests for the 'without rowid' parsing in our SQL grammar added in
commit 3761acfd02.
2014-05-09 14:49:32 +02:00
Martin Kleusberg
3761acfd02 Extend SQL grammar to recognise 'without rowid' tables correctly
Since version 3.8.2 SQLite supports tables without the internal rowid
column added to the table. For these tables the primary key serves as a
replacement for the rowid column.

These changes update the grammar parser to correctly handle 'without
rowid' tables and also generate 'without rowid' SQL statements.
2014-05-09 14:46:42 +02:00
Martin Kleusberg
69df819687 Update the application icon
Replace the application icon by a much better looking version made by
John Haller of portableapps.com
2014-05-09 13:48:03 +02:00
Justin Clift
275c1ea2fe Merge branch 'justinclift-add_mplv2' 2014-05-07 09:35:42 +01:00
Justin Clift
7b9c53c6e3 Update to bi-licensed MPLv2 and GPLv3
Bi-license wording copied from VLC for iOS.  MPLv2 license text
taken from:

  https://www.mozilla.org/MPL/2.0/index.txt
2014-05-07 09:04:00 +01:00
Peinthor Rene
fea0821e56 Fix bad default Preference dialog size #2 2014-05-05 20:01:16 +02:00
Justin Clift
814f3a759e Change README to say this is the official new home
Plus some minor wording/formatting tweaks
2014-05-05 00:28:39 +01:00
Justin Clift
62b2b1738d Adjusted rp-/sqlitebrowser to sqlitebrowser/sqlitebrowser 2014-05-01 14:55:23 +01:00
Peinthor Rene
78b305e7bb Merge pull request #47 from justinclift/master
Corrected instructions for OSX
2014-04-30 07:45:45 +02:00
Justin Clift
d5e9f17c8c Corrected instructions for OSX
The qmake approach is working on OSX, whereas the cmake one isn't.
2014-04-30 02:23:34 +01:00
Martin Kleusberg
309204b01a Merge branch 'master' of github.com:rp-/sqlitebrowser 2014-04-29 20:28:20 +02:00
Martin Kleusberg
a1f506bb14 Fix not working filters.
Closes issue #46.
2014-04-29 20:27:20 +02:00
Peinthor Rene
26a23595b4 updater: Fix a crash and handle redirects 2014-04-28 22:12:17 +02:00
Peinthor Rene
c42e893191 update: announce new release 3.0.3 for windows 2014-04-28 21:45:54 +02:00
Peinthor Rene
c106e82f77 grammar: forgot to update the AST treewalker too 2014-04-28 21:31:47 +02:00
Peinthor Rene
d2246b79d7 grammar: fix column constrain
DEFAULT also takes quoted literals
2014-04-28 21:22:32 +02:00
Martin Kleusberg
6057edaaf1 qmake: Avoid 'double linking' of qcustomplot library 2014-04-23 20:45:32 +02:00
Peinthor Rene
fdbda563d4 plot: only allow X column to be selected once 2014-04-23 19:54:07 +02:00
Peinthor Rene
d084646595 fix qt5 build 2014-04-23 19:35:21 +02:00
Rene Peinthor
0ecff2caa2 cmake: build qcustomplot as static lib and fix windows build 2014-04-23 08:31:53 +02:00
Martin Kleusberg
9e73f31a18 Reset plot dock after closing a DB
Reset the new plot widget after closing a database.
2014-04-22 22:28:01 +02:00
Martin Kleusberg
d1ed2d151f Update the recordset label in the Browse tab after closing a DB
Reset the recordset label in the Browse Data tab of the main window
after closing a DB file.
See issue #44.
2014-04-22 22:21:46 +02:00
Martin Kleusberg
a7110ea0fc Clear the tree widget in the Structure tab when after closing a DB
Clear the tree widget in the 'Database Structure' tab of the main window
after closing a database.
See issue #44.
2014-04-22 22:08:27 +02:00
Martin Kleusberg
f451beef0d Update qmake files
As promised, here is me updating the qmake project files in order to
allow building the new version with qmake instead of cmake.
2014-04-20 12:36:21 +02:00
Peinthor Rene
956dde9a59 plot: wrong date format 2014-04-19 22:44:28 +02:00
Peinthor Rene
0b2a61d213 better visualize the log from the execute sql tab 2014-04-19 22:20:04 +02:00
Peinthor Rene
88ccd48173 plotting: add a simple mechanism to visualize data
added a plotting dock, where you can select x and y axis
and it will draw a chart out of it
2014-04-19 22:19:32 +02:00
Peinthor Rene
abeafa2786 add qcustomplot qt plotting widget 1.2.1 2014-04-19 22:00:02 +02:00
Peinthor Rene
75de1fa795 fix a bug in our mainwindow ui design
it wasn't possible to add new tab pages from the qt designer
added a QWidget container with a vertical layout as this is
done also if you create a new empty mainwindow
2014-03-07 21:04:57 +01:00
Peinthor Rene
09c01a49b9 add a link to nightly windows builds 2014-02-18 20:59:21 +01:00
Martin Kleusberg
30cef84f09 Add CSV export to context menu of the Database Structure tab
Add an entry for the CSV export to the context menu of the Database
Structure tab of the main windows as well which preselects the currently
selected table.

When opening the CSV export dialog via the standard menu also preselect
the currently selected table when the Database Structure tab is active.
2014-02-14 16:40:44 +01:00
Martin Kleusberg
4cd5131d1a ExportCsvDialog: Set table selection to current table in Browse Data tab
When called while the Browse Data tab of the main window is selected
also select the current table or view in the ExportCsvDialog.

Sort the table names in the combobox of the ExportCsvDialog.
2014-02-14 16:22:51 +01:00
Martin Kleusberg
393a58be73 Sort db objects in Database Structure tab by their name 2014-02-14 16:12:09 +01:00