Commit Graph

3803 Commits

Author SHA1 Message Date
Martin Kleusberg
90a15fde1a Revert "libs: Update bundled QScintilla to version 2.13.3"
This reverts commit 6ddd4f019f since it
breaks AppImage builds. The newer version of QScintilla depends on Qt
5.11 which is not available in the Ubuntu 18.04 the AppImages use. We
also cannot just use the version of QScintilla available in the OS
instead of the bundled one for the AppImages as that is too old for our
purposes. It is probably best to just update to Ubuntu 20.04 for the
AppImage builds in April 2023 when 18.04 reaches its end of life.
2023-02-18 16:16:58 +01:00
Martin Kleusberg
6ddd4f019f libs: Update bundled QScintilla to version 2.13.3 2023-02-18 15:09:31 +01:00
Martin Kleusberg
503ec9d789 Mark some constructors as explicit
No functional changes here.
2023-02-18 15:09:30 +01:00
SeongTae Jeong
6f1f35a8bb chore: change app screenshot 2023-02-16 16:42:27 +09:00
Justin Clift
8e99dd140f Update our AppImage builds to use SQLite 3.40.1 2023-02-15 11:03:14 +11:00
Martin Kleusberg
39e9eb0ef2 Fix altering tables with generated as columns
This fixes editing tables featuring "generated as" columns using the
Edit Table dialog. For these columns we must not insert the generated
column data when copying the data over to the temporary table.

See issue #3209.
2023-02-10 20:39:02 +01:00
mgrojo
496d39db3a Export: use QSaveFile to get better error check on full partition
Note that, at least under Linux, this will still fail to detect the
error due to this Qt bug: https://bugreports.qt.io/browse/QTBUG-75077

See issue #3243
2022-12-27 23:44:26 +01:00
mgrojo
ce176be2b4 Plot: show x and y values on a tooltip when hovering over the plot
See issue #3186
2022-12-27 00:35:43 +01:00
Martin Kleusberg
c0adfe43c5 Fix error messages in Execute SQL tab
This fixes a regression which was introduced when optimising the
performance of the Execute SQL tab in commit
a4a1969321.
2022-12-26 22:19:33 +01:00
Martin Kleusberg
21c7f76e99 Speed up execution of many SQL statements by delaying the log output
When executing a large amount of SQL statements a significant amount of
time is spent on logging the executed statements and their results. This
time can be reduced by caching the log text and only updating the log
view a single time when everything is done.

See issue #3237.
2022-12-26 22:09:59 +01:00
Martin Kleusberg
a4a1969321 Optimise executing large SQL files in the Execute SQL tab
This speeds up running very large SQL files via the Execute SQL tab
significantly. Before this commit all the remaining statements for
execution were analysed in order to find out the type of the next
statement. Especially because comments were stripped from the entire
text this would take a long time for large files. With this change the
next statement is prepared for execution first, then the prepared
statement only is analysed, and then it's finally executed.

See issue #3237.
2022-12-26 17:00:45 +01:00
Martin Kleusberg
f142e86150 Fix whitespace 2022-12-26 17:00:42 +01:00
mgrojo
b466cfa992 Export: more error checks
- Error check in SQL export
- Correct placement of `stream.status()` check in CSV export
- Error check immediately after writing (additional to the one after
  closing)

See issue #3243
2022-12-26 12:53:00 +01:00
Martin Kleusberg
a5a3d7fd19 Fix crash when removing the only index constraint from a table
This fixes a possible endless loop when using the Edit Table dialog and
removing the only index constraint (i.e. primary key and unique
constraints) from the table.

See issue #3245.
2022-12-25 16:11:40 +01:00
mgrojo
e56051ce1f Export: fix no error check for export errors
See issue #3243
2022-12-22 14:49:05 +01:00
Justin Clift
87f079afa9 Updated for the new SQLCipher 4.5.3 release yesterday 2022-12-21 15:39:08 +11:00
Christopher Michael Chandler
efcb24ae7c translation: update German translation
* Update sqlb_de.ts

Add translation

* Translated two lines

Execute this SQL file after opening the DB-> Diese SQL-Datei nach dem Öffnen der Datenbank ausführen  
Open this project file (*.sqbpro) -> Diese Projektdatei (*.sqbpro) öffnen
2022-12-08 17:35:35 +09:00
SeongTae Jeong
420e712d40 docs: Specify Qt version as 5.x in macOS build component installation instruction
The Qt version in the Homebrew Formulae DB currently points to 6.x.

However, since our project officially supports the 5.x version,
we have changed to guide to install the 5.x version when installing the build components on macOS.
2022-11-30 15:37:10 +09:00
Andika Triwidada
b93912124f Add Indonesian translation (#3233)
- Add Indonesian translation
- Add Indonesia flag image
- Add configuration for Indonesian translation

Co-authored-by: SeongTae Jeong <seongtaejg@gmail.com>
2022-11-25 10:31:10 +09:00
Justin Clift
f6571a14b1 Our custom Qt5 for macOs isn't working properly yet 2022-10-30 14:03:31 +11:00
Justin Clift
5e953498b5 Use our customed Qt version on our macOS nightly builds 2022-10-30 11:20:35 +11:00
DingoBits
ba2103ed7f fix: extensions loading in macos build script (#3203)
* fix: install path for macos extensions

* workaround: symlink extraneous .dylib in filename

* fix: link with sqlcipher for intel macos build
2022-10-26 16:16:23 +11:00
Justin Clift
30310ca19c Automatically notarize our intel macos nightly builds too 2022-10-25 19:42:05 +11:00
Justin Clift
8ec0fb79d5 Updated macOS arm64 nightly build pieces, to notarize the binaries 2022-10-23 08:03:08 +11:00
Navdeep Singh Sidhu
23dc6cde87 Badges for Snap builds and Updated Ubuntu section (#3194)
* Upgraded snap builds to use core20
* using core20 (Ubuntu 20.xx) for builds
* added required dependencies

* Badges for Snap builds and Updated Ubuntu section

* Added badges for Snap Builds
* Updated Ubuntu Section to give info about packages on old Ubuntu versions

* Fixed typo and verbiage in Readme
2022-10-23 01:27:30 +11:00
Manuel
6f9e6ba4cd Merge pull request #3083 from Sitlos/patch-1
[Fix] Can't parse db name in .env file
2022-10-15 19:32:37 +02:00
Justin Clift
c1605e227f Updated monthly run script on our nightlies server 2022-10-15 01:03:59 +11:00
Justin Clift
e4435e67aa Initial macOS ARM64 nightly build script
Doesn't (yet) notarize the builds.  That can come later.
2022-10-14 14:32:50 +11:00
Justin Clift
958d397134 Add "intel" to macOS x86 nightly build filenames 2022-10-14 03:44:03 +11:00
Justin Clift
556f9ca6ca Add icon file to the macos nightly build .app 2022-10-13 07:17:21 +11:00
Chris Locke
8cbf5795bc Merge pull request #3169 from vedantmgoyal2009/patch-1
Create winget.yml
2022-10-07 16:38:38 +01:00
mgrojo
f10bdbdba9 Fix translation to match UI 2022-10-02 00:29:29 +02:00
Vedant
8fd98f90df Update winget.yml 2022-09-29 16:57:53 +05:30
SeongTae Jeong
33639dd260 Fix type on TableBrowser.ui 2022-09-25 12:43:52 +09:00
SeongTae Jeong
5df9809917 <translations>: Update Korean tranlsation
- Delete obsolete translation context
- Now, DB4S support 100% Korean language support
2022-09-25 12:31:18 +09:00
Justin Clift
c946fbd3d8 Update M1 macOS paths for Qt5 and SQLite to CMake search list 2022-09-24 18:43:02 +10:00
Justin Clift
4db139bca7 Load nvm in the build script, so appdmg can be found 2022-09-23 21:37:05 +10:00
Justin Clift
d2fb4a413d Cleaned up the macOS nightly build script a bit
Working ok on macOS Monterey (so far), though we may need to adjust
the macOS release we're building on depending upon feedback from
our users.
2022-09-22 20:01:00 +10:00
Vedant
c3c69191ea Only MSI installers 2022-09-16 09:14:36 +05:30
Vedant
87ee0686f7 Create winget.yml 2022-09-16 09:12:07 +05:30
Manuel
3c8af7a980 Merge pull request #3000 from Biswa96/cmake-mingw-install
cmake: Follow unix-like install directories in mingw
2022-09-15 00:07:21 +02:00
Justin Clift
65a72c3ce3 In Qt 5.12.12, Brazilian Portuguese has its own translation files 2022-09-14 07:36:43 +10:00
Justin Clift
c44f24a21c Update Wix Toolset Qt path for our Win nightlies 2022-09-14 06:55:33 +10:00
Manuel
4dedbbae6e Merge pull request #3162 from hikmet517/master
Update line number width when zooming. Calculating number width using `font()` does not take zoom into account. So, the overload of `setMarginWidth` with `QString` as second parameter was used. This way we leave the width calculation to QScintilla which considers the zoom while calculating.
2022-09-13 21:10:41 +02:00
Justin Clift
16cea35ca4 Update Qt for our Windows nightly builds to 5.12.12 2022-09-14 05:03:34 +10:00
Justin Clift
2db65f4c53 Merge pull request #3168 from sqlitebrowser/fix_win_pr_3068
Fix Windows build after PR #3068
2022-09-14 03:26:21 +10:00
mgrojo
0fe88ef4dd Fix Windows build after PR #3068 2022-09-12 20:51:53 +02:00
Justin Clift
64f3475752 Ensure our macOS nightly builds use the correct SQLite include files 2022-09-07 15:52:34 +10:00
Justin Clift
b057ab7ee5 Add the path for our custom macOS SQLite build
This should help get our macOS nightly builds working again
2022-09-07 15:37:21 +10:00
Hikmet Altıntaş
ff8b846c04 update line number width while zooming 2022-09-01 15:06:24 +03:00