Mammoth Power
de06e63334
Fix a compiler error with older compilers.
2017-07-11 17:22:20 +01:00
Dave Page
374bf79911
Fix proxy support with Qt 5.9+
2017-07-11 11:48:13 +01:00
Neel Patel
c93aa3810d
Fix a compiler error with older compilers.
2017-07-11 09:14:53 +01:00
Dave Page
ea5dfe23a0
Bump version numbers prior to release.
2017-07-10 14:56:20 +01:00
Neel Patel
a21dad4c45
Fix runtime support under Qt4
2017-06-16 11:26:31 +01:00
Neel Patel
0056a94115
Add support for detachable tabs to the runtime.
...
This allows the Query Tool, Debugger and web browser tabs to be moved to different monitors as desired.
Fixes #1344
2017-06-16 09:57:19 +01:00
Khushboo Vashi
3a5fda44e4
Add a shortcut (Ctrl/Cmd + 0 (zero)) to the runtime to allow the zoom level to be reset. Fixes #2485
2017-06-13 10:21:51 +01:00
Dave Page
dea850b503
Tune startup retry loop - try 50 times, with a 100ms pause between each attempt.
2017-06-11 14:38:22 +01:00
Dave Page
ef4b8e8c1c
Another minor perf tweak for the runtime.
2017-06-11 14:34:49 +01:00
Dave Page
f0d287588a
Couple of minor performance tweaks. Tests on my Windows VM show a consistent 30% startup time reduction.
2017-06-11 13:56:49 +01:00
Neel Patel
6e24cb038a
Ensure the runtime works correctly if a Windows user has a proxy server enabled.
2017-05-30 13:17:07 +01:00
Dave Page
f0e78309cb
Bump version in preparation for release.
2017-05-15 12:25:28 +01:00
Neel Patel
07b06348ab
While building runtime with QtWebEngine, we found 2 compilation errors which were introduced in a previous commit in runtime:
...
We set "setNetworkAccessManager" in WebEnginePage which was only required for Webkit so removed that statement.
"triggerAction" on WebPage is only required for Qt > 5 with WebKit only. Not required for WebEngine so added that condition.
2017-05-15 11:29:14 +01:00
Neel Patel
3ed00d3be7
1) Fixed compilation issue with QT4.
...
2) Make trigger action 'RequestClose' backword compatible with annulen webkit.
2017-05-10 13:34:39 +05:30
Neel Patel
d0e9c82fea
Fixes #2328
...
1) Fixed issue of opening Query Tool and Debugger in new Tab with QT 5.8 and annulen webkit
2) Moved unload event of window from javascript files to html.
3) Change alertify messages for debugger.
4) Closed all connections created by debugger. Previously only one connection has been closed.
2017-05-09 13:03:44 +05:30
Dave Page
0c435154ac
Adjust windows resources so they work consistently.
2017-04-10 15:15:15 +01:00
Dave Page
665ec46052
Fix application icon in mingw builds.
2017-04-10 14:29:53 +01:00
Dave Page
fdf292964b
Bump version numbers for release.
2017-04-10 14:24:46 +01:00
Dave Page
ee17c77093
Ignore some MinGW related build files.
2017-04-03 20:59:42 +01:00
Dave Page
e7cee870a7
Mingw32 compatibility fixes
2017-04-03 12:58:08 +01:00
Maxim Zakharov
4e16345257
Add support for proxies in the runtime. Fixes #2301
2017-03-29 12:17:16 -04:00
Dave Page
87bbb5ef2c
Revert to the old, arguably broken code for QT4 port selection, as QT4 doesn't support TCP socket binding as QT5 does.
2017-03-29 11:33:55 -04:00
Dave Page
44ce8985e0
Fix typo in variable name.
2017-03-28 08:55:38 -04:00
Dave Page
688c810300
Add header that seems to be needed with Python 3.
2017-03-28 08:41:38 -04:00
Maxim Zakharov
72548a99e1
Fix usage of QString::toUtf8(). Fixes #2299
...
Desktop runtime has a couple bugs using already freed memory supplied to embedded python leading to occasional crashes and failures to start maintenance processes (VACUUM, ANALYZE, REINDEX, CLUSTER).
This is caused by incorrect usage of QString::toUtf8() which returns newly created QByteArray which is automatically destroyed once closing context; e.g.
Py_SetPythonHome(pythonHome.toUtf8().data());
2017-03-28 08:26:16 -04:00
Dave Page
ea6d97c49d
Add a couple of headers that Qt 5.8 seems to be more picky about, and fix the free port check to use TCP not UDP
2017-03-26 21:02:15 -04:00
Ashesh Vashi
7767c085c3
Resolved an issue finding the python interpreter on *nix systems, and
...
Windows 2008 R2 (32 bit), while running the pgAdmin 4 as runtime for
the PostgreSQL one click installers.
- Found a typo in runtime code, we were appending the path using ';' on
*nix systems too. We should have used ':', and that did not allow the
os.environ['PATH'] to identify the correct path of the python
interpreter under the 'venv' directory.
- On Windows 2008, it was not honouring the environment variables, set
under the Qt application (e.g. pgAdmin4.exe runtime), in the python
application. (e.g. pgAdmin4.py). We will need to assume that - the
python interpreter resides under the 'venv' directory outside the
'bin' directory.
- Also, on windows 2008, it was setting PYTHONHOME environment variable
to the full path of the pgAdmin4.exe, we need to reset it to 'venv'
directory, if we find the python interpreter under it.
Thanks Murtuza Zabuawala for tips, and help.
2017-03-10 21:19:06 +05:30
Dave Page
063177155e
Bump version prior to release.
2017-03-06 15:35:08 +00:00
Dave Page
6696b3c316
Authenticate the runtime to the server. Fixes #2228
2017-03-06 14:53:49 +00:00
Dave Page
5a7a82b4e9
Simplify runtime startup polling, and increase retries to 30.
...
Ensure the splash screen is hidden before showing errors.
2017-02-27 10:49:47 +00:00
Dave Page
2ebd256307
Fix startup complete tests to ensure we properly poll the server for completed startup. Fixes #2192
2017-02-26 11:52:42 +00:00
Dave Page
d9ddd64a8b
Qt 5.8 seems to generate an additional header we should ignore.
2017-02-16 11:27:14 +00:00
Dave Page
40f2520fa6
Add comment to note command line qmake usage.
2017-02-13 12:08:36 +00:00
Dave Page
88aac7a4c9
Update the runtime build to allow users to force building with QtWebKit in Qt5, instead of QtWebEngine.
2017-02-13 11:44:53 +00:00
Dave Page
d3232b2449
Fix runtime version number.
2017-02-10 12:02:42 +00:00
Dave Page
e95dc5f895
Fix indentation
2017-02-08 11:40:43 +00:00
Jonas Thelemann
2db705ad80
Add runtime/pgAdmin4 to .gitignore, and re-order entries for ease of maintenance.
2017-01-16 14:46:44 +00:00
Dave Page
f221194bcc
Update copyright notices for 2017.
2017-01-04 13:33:32 +00:00
Dave Page
f80f271e0c
Only include the triggerWebViewWindowEvents declaration where appropriate.
2016-12-12 09:40:46 +00:00
Dave Page
c4c3d2b6b8
Change the org name and product name to ensure the the runtime config file is sensibly named.
...
This changes the default orgname to 'pgadmin' and product name to 'pgadmin4' in the runtime.
2016-12-02 11:24:32 +09:00
Dave Page
58910c4b62
Allow the ApplicationPath to be absolute.
2016-12-02 11:10:08 +09:00
Neel Patel
4bde18685b
Pass copy/cut/paste events from the runtime to the webview on Mac under QtWebEngine.
2016-11-29 14:18:39 +09:00
Dave Page
d5351ad657
Add file resources to the windows runtime. Fixes #1874
2016-11-18 15:46:39 +00:00
Dave Page
297733634b
Use a more reasonable dynamic default for the window size (90% x 90%). Fixes #1939
2016-11-08 11:37:57 +00:00
Neel Patel
6e5683064e
Use QtWebEngine with Qt5.5+ instead of QtWebKit. Fixes #1375 , fixes #1641 ,
...
fixes #1916 , fixes #1815 , fixes #1332
2016-11-08 10:57:42 +00:00
Dave Page
5be9d5f054
Fixes #1909 Handle startup errors more gracefully in the runtime
2016-11-02 13:42:08 +05:30
Dave Page
517a85866b
Update version number for release.
2016-10-24 16:30:37 +01:00
Dave Page
821f70663e
Fix default zoom setting.
2016-09-22 14:43:32 +01:00
Dave Page
8c913f5773
Allow zooming in the runtime with Ctrl/Cmd+Plus and Ctrl/Cmd+Minus. Fixes #1726
2016-09-22 12:37:38 +01:00
Dave Page
cd3b938179
Tweak splash screen image
2016-09-05 16:55:34 +01:00