Commit Graph

905 Commits

Author SHA1 Message Date
Peinthor Rene
adf34baa36 gitignore: add testdata directory 2014-10-26 18:37:44 +01:00
Justin Clift
3a6f43a174 Adjust OSX wording to show 10.6 through to 10.10 work 2014-10-26 17:28:09 +00:00
Peinthor Rene
f68cf4c86a Merge pull request #136 from manisandro/icon
Install icon to hicolor directory
2014-10-26 15:43:52 +01:00
Sandro Mani
1491a9318e Install icon to hicolor directory 2014-10-26 09:30:01 +01:00
Peinthor Rene
8c5dfbb977 sqlexport: rewrite "to sql file" export to use streaming 2014-10-23 20:56:09 +02:00
Justin Clift
4f00f2119c Merge pull request #134 from vertexclique/patch-1
Yosemite status added.
2014-10-19 20:36:03 +01:00
Mahmut Bulut
5f345917fd yosemite status added. 2014-10-19 22:06:54 +03:00
Martin Kleusberg
9207e46a5e Add option to remove all line breaks in the DB Schema view
Add an option to the preferences dialog (by default disabled) which,
when activated, removes all line breaks from the Schema column in the
Database Structure tab and the DB Schema pane. Especially if there are
many tables this might make things clearer.
2014-10-17 15:37:22 +02:00
Martin Kleusberg
7b6bee11e5 Show more information on the fields of a table in the DB Structure view
In the Database Structure tab of the main window and the DB Schema
pane, show more information in the field nodes of the tree view. This
commit puts the field definition in the Schema column which has been
unsused until now. It also changes the icon of the field row when the
field is a primary key. This hopefully makes the Schema view a bit more
useful, especially in the pane.
2014-10-17 15:24:13 +02:00
Peinthor Rene
9304b4013f edittabledlg: missed to remove another textchangeevent 2014-10-17 13:54:18 +02:00
Justin Clift
b8db289581 Neatened up the OS headings a bit 2014-10-17 02:12:15 +01:00
Justin Clift
7bba7809fe Try make the 7zip nightlies info more noticable
The existing wording isn't working, so trying the info inline instead. :)
2014-10-17 02:10:10 +01:00
Martin Kleusberg
05c8a153ba EditTableDialog: Make it possible again to delete default value
Commit c29702a1b9 fixed the handling of
default values and added a check to enforce quote characters when they
are needed. This check wasn't prepare for empty default values (i.e. no
default value) and would add quote characters in this case, too. This is
fixed by this commit.

See issue #133.
2014-10-16 16:38:10 +02:00
Martin Kleusberg
280d5c1773 plot: Use default location from preferences dialog when saving picture 2014-10-15 19:53:06 +02:00
Martin Kleusberg
19baeb2a7a grammar: Fix double quote characters as used for escaping one
SQL allows you to use two quote characters instead of just one in order
to escape them. Example: ['aa''bb'] is read as [aa'bb]. Add detection
for these doubled quote characters to our grammar parser.

See issue #128.
2014-10-15 19:29:19 +02:00
Martin Kleusberg
a0f22a1ddb SqlExecutionArea: Use log font size for execution result
Use the same configurable font size as for the SQL log pane for the
result view of the SQL execution area tabs in the main window.

See issue #131.
2014-10-15 18:46:20 +02:00
Justin Clift
128b217279 Added info about .xz and 7zip for the Win nightly 2014-10-15 15:46:17 +01:00
Martin Kleusberg
5d20d97e24 MainWindow: Improve saving of project files
When saving a project file make sure it's got the right file ending.
Also add it to the list of recently opened files.

Use the default location from the preferences dialog for initialising
the file dialogs for loading and saving project files.
2014-10-15 13:44:52 +02:00
Martin Kleusberg
ff5cf3e63d MainWindow: Add project files to list of recently opened files
When opening a project file add it to the list of recently opened files
instead of the database file associated with it.
2014-10-15 13:38:32 +02:00
Martin Kleusberg
b841025bae tests: Add test to check escaping quotes by using two of them 2014-10-15 12:57:37 +02:00
Martin Kleusberg
c29702a1b9 EditTableDialog: Fix handling of default values
Fix the handling of default values in the Edit Table dialog by doing two
things: First, change the sqlb::Field class so that it doesn't put quotes
around any default values no matter what. This breaks for example NULL
default values but also causes invalid syntax if the default value is
already in quotes. Secondly, change the Edit Table dialog itself to
double check if the user should've put quotes around their default value
but hasn't. In this case add them automatically.

See issues #64 and #126.
2014-10-15 12:45:43 +02:00
Justin Clift
dea0a65385 Added info on OSX 10.9 compile workaround 2014-10-14 01:10:37 +01:00
Justin Clift
9c00bd9965 Added make install step to generic and Ubuntu build instructions 2014-10-14 00:35:30 +01:00
Justin Clift
59a9e0bc6a Placed OSX, Linux, and FreeBSD compile instructions in BUILDING.md 2014-10-14 00:22:05 +01:00
Justin Clift
3d09c7fd1d Removed the old "What's been done since SourceForge" section 2014-10-13 23:29:55 +01:00
Martin Kleusberg
63eaf01988 MainWindow: Automatically resize Schema column in DB Structure tab
Automatically resize the Schema column in the Database Structure tab of
the main window to fit its contents.

See issue #113.
2014-10-12 17:46:50 +02:00
Martin Kleusberg
eb8e801b57 Make it possible to jump between filters by pressing the tab key
Allow jumping between the filter input fields by pressing Tab and
Shift+Tab.

See issue #106.
2014-10-11 15:45:30 +02:00
Peinthor Rene
017715510f edittabledlg: don't react on textchanged
On every text change in the type combobox a renamecolumn was triggered
2014-10-10 18:47:04 +02:00
Peinthor Rene
f38c3f13ca csvexport: produce more rfc4180 complaint csv files 2014-10-06 20:59:09 +02:00
Peinthor Rene
62d72e6a9e csvexport: use CRLF as specified in RFC4180 2014-10-06 20:40:26 +02:00
Martin Kleusberg
ae199112a5 MainWindow: Make sure the filters are applied before getting the row num
First apply the new filter values and only when that is done get the
number of rows in the current view. This fixes the issue that, when
changing a filter, the number of rows shown under the table view is that
of the last results, not the current.

See issue #122.
2014-10-06 15:23:55 +02:00
Peinthor Rene
50731cd730 csvexport: streaming export to csv 2014-10-03 22:15:20 +02:00
Peinthor Rene
5bcea55960 Merge pull request #121 from mcirsta/master
install png icon and desktop file for Linux ( and other Unix )
2014-10-03 07:47:21 +02:00
Marius Cirsta
807c729910 install png icon and desktop file for Linux ( and other Unix ) 2014-10-03 00:13:02 +03:00
Peinthor Rene
5713bc9a07 edittabledlg: allow custom types to be entered
also changed the default key shortcut to CTRL+ENTER
2014-09-27 09:51:20 +02:00
Justin Clift
49581073b8 Typo fix 2014-09-23 00:08:05 +01:00
Justin Clift
6195896a6f Merge pull request #101 from justinclift/renamev2
Renamed project to "DB Browser for SQLite"
2014-09-23 00:01:54 +01:00
Peinthor Rene
594ea38420 Fix insert on integer PK fields with not null
Moved the emptyinsertstmt into DBBrowserDB class
to be able to query the database for values.
2014-09-21 20:45:12 +02:00
Justin Clift
05207b0b9f Renamed project to "DB Browser for SQLite" 2014-09-21 11:14:39 +01:00
Peinthor Rene
c615e9ac46 filters: add missing file commit for 57d086fbf2 2014-09-19 20:54:12 +02:00
Peinthor Rene
57d086fbf2 filters: don't clear filters on refresh 2014-09-19 18:27:40 +02:00
Peinthor Rene
0031c0723f tests: fix tests to run without x server 2014-09-18 08:05:45 +02:00
Peinthor Rene
98ab683662 tests: fix tests to run without x server 2014-09-18 08:01:04 +02:00
Peinthor Rene
e2ae5b4b64 cmake: lower required version for tests too 2014-09-18 07:48:06 +02:00
Peinthor Rene
21df05e1ce travis-ci also do unittests 2014-09-18 07:42:04 +02:00
Peinthor Rene
d5498160be add travis-ci current status image 2014-09-17 22:27:58 +02:00
Peinthor Rene
a2e704cd01 cmake: lower minimal required version a bit 2014-09-17 22:21:07 +02:00
Peinthor Rene
122f5372fb travis-ci: add first travis-ci.org config file 2014-09-17 22:16:27 +02:00
Martin Kleusberg
847ad46424 Enable version check for MacOS X 2014-09-16 20:04:46 +02:00
Martin Kleusberg
b2532686a9 Fix build on Qt 4 (hopefully) after 6c52ac736 2014-09-16 19:41:07 +02:00