Commit Graph

3371 Commits

Author SHA1 Message Date
mgrojo
971b5ce5d2 Use Ctrl+PgUp to set focus to editor inside the SQL Execution Area.
This is the counterpart of Ctrl+PgDown in SQL editor, which focus out of
the editor.

See issue #2215
2020-05-03 16:34:54 +02:00
Manuel
81b9b5a125 Show a useful icon in SQL tabs (#2153)
The icon shows whether the tab is linked to a project file (open_sql icon)
or to a file in disk (document_open icon).

This has a lateral effect of fixing this, since the tab always has an icon
and the height of the tab bar never changes:

https://github.com/sqlitebrowser/sqlitebrowser/issues/2073#issuecomment-570900792
2020-05-03 00:48:45 +02:00
mgrojo
ebeef140fd Open SQL tabs for modifying views and triggers
Ideally there should be dialogs for editing views and triggers, but with
this feature, users will get a new SQL tab with the necessary statements
to recreate the object, so they can edit it and run it easily.
2020-05-03 00:12:50 +02:00
horst-p-w-neubauer
b0a0e34739 open a set of SQL-Files
Implements open a set of SQL-Files #2207
Allows to select more than one File in the OpenDialog and opens them in new tabs.

analyze open translations
update German translation
2020-05-02 22:32:38 +02:00
mgrojo
946d408aaf Improvements for working in the SQL Execution area using keyboard
This addresses two issued mentioned in #2215
# It's possible to focus out of the SQL Editor using Ctrl+PgDown (not used
by QScintilla)
# Ctrl+Tab and Ctrl+Shift+Tab works in all the widgets in the area and
provides the same functionality that the one provided by QTabWidget
(switch for- and backwards through the tabs)
2020-05-02 21:45:20 +02:00
Justin Clift
2622e659cf Merge pull request #2226 from horst-p-w-neubauer/de-translate-consistent-naming
update German translation
2020-05-03 04:53:56 +10:00
Justin Clift
9c3d7e3771 Merge pull request #2227 from deepsidhu1313/master
Changed grade level of snap package
2020-05-02 18:37:22 +10:00
Navdeep Singh Sidhu
7de2292386 Changed grade level of snap package 2020-05-01 19:37:46 -05:00
horst-p-w-neubauer
bbb8d1a61d update German translation
update German translation
done
* all unfinished
* 'push*' to 'übertragen'
2020-05-01 21:18:36 +02:00
horst-p-w-neubauer
253fcaed1e Consistent naming of DB Browser for SQLite (#2224) 2020-05-01 08:30:32 +10:00
Justin Clift
2bce428ced Merge pull request #2217 from deepsidhu1313/master
Fixed Look and feel for snap packages using Env Variables
2020-04-29 00:43:13 +10:00
Navdeep Singh Sidhu
a09f564742 Added Env variables to set QT theme
Signed-off-by: Navdeep Singh Sidhu <navdeepsingh.sidhu95@gmail.com>
2020-04-25 20:07:24 -05:00
Navdeep Singh Sidhu
648937011c Merge pull request #2 from sqlitebrowser/master
Changes from upstream
2020-04-25 18:08:12 -05:00
Justin Clift
8c48bf6032 Merge pull request #2205 from scottfurry/cmake_fix
Correct CMake Warning Messages - QCustomPlot, QHexEdit
2020-04-24 00:37:23 +10:00
Scott Furry
4e7669bd0c Correct CMake Warning Messages - QCustomPlot, QHexEdit
Correct text case usage in local FindXXX.cmake and CMakeLists.txt files.
During usage, warning messages appear due to differences in file name/library name case.

Resolution is to match file name case with variable name case where it appears in all CMake files.
i.e. file name - QCustomPlot.cmake
     variable name QCustomPlot_{LIBRARIES, INCLUDE_DIRS, et al}

Affects CMakeLists.txt and cmake/FindXXX.cmake files.
2020-04-23 05:00:23 -06:00
Justin Clift
f791c32896 Add initial 3.12.x item to our bug report template 2020-04-20 18:04:03 +10:00
Iulian Onofrei
e985a012d4 Fix logo issues (#2184) 2020-04-20 16:42:18 +10:00
Justin Clift
ad398820eb Merge pull request #2195 from pinotree/appdata-location
Install the AppStream file to the canonical location
2020-04-20 16:34:37 +10:00
Pino Toscano
09b8c549b2 Install the AppStream file to the canonical location
The canonical location for AppStream XML files has been changed to
/usr/share/metainfo four years ago at least, with /usr/share/appdata
left as legacy location. It is time to switch to the right location.
2020-04-19 13:34:37 +02:00
Justin Clift
988f200e12 Update nightly builds to use 3.12.99 as their version number 2020-04-15 17:14:12 +10:00
Justin Clift
209780ab0a Only include the build date for nightly builds.
Our alpha and beta releases use patch numbers greater than 99, so
were being caught by the version string check.
2020-04-14 17:53:12 +10:00
Justin Clift
44e6c4cceb Update MSVC and OpenSSL pieces in our nightly build scripts 2020-04-12 21:04:45 +10:00
Justin Clift
b20a822379 Update OpenSSL 1.1.1 file names 2020-04-12 19:10:12 +10:00
Justin Clift
1db1e6b802 Attempt #1 to work around WiX error CNDL0014
WiX doesn't seem to like the hyphen character ("-") being used
in Id's, which is a problem as it's used in the OpenSSL library
filenames.
2020-04-12 18:10:03 +10:00
Justin Clift
c1ac897e26 Updating MSI installer for OpenSSL 1.1.1 2020-04-12 17:25:13 +10:00
Justin Clift
8adcfe8d48 Update the 32-bit MSVC 2017 related pieces for our Win build VM 2020-04-11 22:37:16 +10:00
Justin Clift
0da8973716 Updating 32-bit Qt install on our Win build VM to Qt 5.12.8 2020-04-11 22:15:59 +10:00
Justin Clift
2fc7bf6477 Updating path for the 64-bit Qt install on our Win build VM 2020-04-11 21:20:49 +10:00
Justin Clift
8306497cab Update macOS nightlies build script to match the new Qt install path 2020-04-11 13:20:20 +10:00
Justin Clift
3d15ba46d1 Update to SQLCipher v4.3.0 in our nightly Windows builds 2020-04-07 19:35:12 +10:00
mgrojo
3b2dec4f12 Update QDarkStyleSheet to 2.8 and apply workaround for combo-boxes
This fixes the problem with tab-bar scroll buttons reported in #1968

This version has a problem with combo-boxes with icons, so the recommended
workaround is implemented for the language combo-box in Preferences and the
Table combo-box in Browse Data.

https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/169
2020-03-08 23:58:44 +01:00
mgrojo
ad15e7aa92 Fix ambiguity of shortcuts in Cell Editor
The action shortcuts are application wide and the shortcuts in the
Scintilla Editor of the DB Cell Editor were eclipsed by the Table Browser
shortcuts.

Now they are established programmatically and given a widget-with-children
context, so they are applicable to the Table Browser.
2020-03-03 21:04:56 +01:00
Anand Narayanan
36dfdbb406 Completed implementing a secondary Y axis - Fix for #2026 (#2131)
* Completed implementing a secondary Y axis on the right with independent scale

* Added compatibility for earlier version project xml

* Stream format has only one axis information - Used as y1

* Code refactored to avoid code duplication for secondary y axis
2020-03-02 21:00:04 +01:00
Mercury233
58fb31a808 Update zh translation (#2145) 2020-02-27 23:15:37 +11:00
Martin Kleusberg
6cf4c37831 Revert "Try fixing the loading of the translations of the Qt strings"
This reverts commit f74bf2a35c.
2020-02-26 16:50:23 +01:00
Martin Kleusberg
07351b36b0 Fix some problems reported by Coverity
This fixes some problems which were reported by Coverity. None of these
is critical and some are only theoretical issues which will never be
triggered. But better prepare the code for future changes and fix these
warnings properly instead of just silencing them.
2020-02-25 22:10:25 +01:00
Martin Kleusberg
f74bf2a35c Try fixing the loading of the translations of the Qt strings
It seems like the translations of the strings from the Qt framework are
not loaded correctly. This is my attempt to fix this problem.

See issue #2124.
2020-02-25 22:10:24 +01:00
Justin Clift
20373dd714 Merge pull request #2146 from SafaAlfulaij/master
Update Arabic translation
2020-02-24 16:22:35 +11:00
Safa Alfulaij
eeac07b580 Update Arabic translation 2020-02-23 20:17:44 +03:00
Iulian Onofrei
77023540ff Fix dotenv not working for databases encrypted using SQLCipher 3
Related to 6827cde5.
2020-02-23 15:17:36 +02:00
GortiZ
6f3dc9cb16 Update italian translation 3.12 (#2141)
Updated italina translation to the latest upstream.
2020-02-21 00:08:31 +11:00
Martin Kleusberg
13742c4602 Fix recordset number in Browse Data tab showing -1
This fixes an issue earlier introduced in commit
cee3523f37 which made the number of the
last visible record in an empty table -1 instead of 0.
2020-02-20 12:38:35 +01:00
Martin Kleusberg
29db270e80 Fix string in What's This text in Browse Data tab
Fix a string which contained some escpaed HTML tags which made them
visible to the user.

See comment in #2124.
2020-02-20 11:58:00 +01:00
Martin Kleusberg
0db3c1e04a dbhub: Fix translations in remote dock
Fix the translations of the table headers in the remote dock. Probably
because they were static they were not translated.

See comments in issue #2124.
2020-02-20 11:49:35 +01:00
Martin Kleusberg
ca4f1c9317 Disable editing of generated columns in Browse Data tab
This disables all cells in generated columns for editing in the Browse
Data tab. Since the values of these columns are generated by SQLite
there is no way to edit them directly and each attempt will result in an
error. So it is best to not allow editing them in the UI.

See issue #2107.
2020-02-20 11:37:49 +01:00
Martin Kleusberg
1bab387b7a Store pointer to table object in SqliteTableModel
Store a pointer to the table object of the currently browsed table in
the SqliteTableModel objects. This avoids fetching the table object from
the DBBrowserDB object repeatedly which in turn should speed up some
functions of the model a bit.
2020-02-20 11:37:49 +01:00
FriedrichFroebel
c890d13fc0 update German translation 2020-02-19 20:50:42 +01:00
FriedrichFroebel
1886e79870 update German translation 2020-02-19 20:50:42 +01:00
GortiZ
ac836d3db5 Update translation for 3.12.x (#2136)
Updated Italian translation to the latest 'master' branch.
2020-02-19 08:17:45 +11:00
Martin Kleusberg
2ae45c33f5 Fix inserting into tables with generated columns
This fixes inserting new rows into tables with generated columns by not
trying to insert NULL values into these columns. With this change these
columns are effectively treated as if they had a default value which
means that the Add Record dialog does not need to show by default
anymore.

See issue #2107.
2020-02-17 23:03:37 +01:00