1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 18:42:11 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
David Rosca
478b5ddb84 Use open() instead of exec() in all dialogs
Avoid blocking exec().

Closes #1515
2014-11-07 18:08:12 +01:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
Javier Llorente
458f6fecf0 [DownloadItem] Add date of completed download
[ci skip]
2014-03-26 16:20:43 +01:00
nowrep
ab638a5525 [IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
fe0b03fdb7 Include QDebug in qzcommon.h
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
214279e3bb [DataPaths] Added new class DataPaths
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
ea7237b90e [Downloads] Make sure to always add slash '/' between path and filename 2014-02-10 19:57:02 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
b6683ab6b9 [DownloadManager] Change "Remove" -> "Remove From List"
Closes #1162
2014-01-25 21:57:05 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
ea7720e64b Added option to copy download link in download options dialog.
Closes #1056
2013-10-17 17:20:50 +02:00
Muhammad Fawwaz Orabi
c2ed0d6482 Enhanced plural forms for languages with complex rules 2013-10-10 10:36:01 +02:00
nowrep
cb0cd31f3b Coding style in downloaditem.cpp 2013-09-29 13:52:45 +02:00
Muhammad Fawwaz Orabi
baecfddad1 Added plural forms for hours/mins/secs in download manager and tr() for data units 2013-09-28 23:01:53 +03:00
nowrep
f098f1e1d1 Fix using external download manager with use defined location setting.
Closes #984
2013-08-12 15:32:03 +02:00
nowrep
c313b2d961 Set WM_CLASS also to Download Manager. 2013-07-12 11:43:13 +02:00
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
nowrep
c21f2882be [DownloadManager] Also raise window when showing it.
Closes #937
2013-06-11 09:08:26 +02:00
nowrep
68b59621c0 [Downloads] Use better translation string for manager's title.
See #878
2013-05-05 12:41:12 +02:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
bed43ed0c8 [Qt5] Use RegExp wrapper to take advantage of new regexp engine.
QzRegExp wrapper is using QRegExp directly on Qt 4 and
QRegularExpression (with PCRE engine) on Qt 5.
2013-02-24 10:57:58 +01:00
nowrep
8c9f09b17a Improved arguments parsing in external download manager.
Option to choose where exactly to put url (%d placeholder)
instead of just appending it at the end of arguments.
2013-02-15 15:35:23 +01:00
nowrep
e4ebeb3252 [Code] Use QString::SkipEmptyParts in QString::split. 2013-02-15 12:36:25 +01:00
nowrep
68e0831bdb Fixed parsing arguments when starting external applications.
When starting external RSS readers and external download managers.
2013-02-15 12:29:13 +01:00
S. Razi Alavizadeh
9951d2e69b [FTP] Added support for non-latin names for dir/file. 2013-02-13 19:49:29 +03:30
nowrep
668022ed64 Improved parsing of Content-Disposition header.
It now tries to detect whether UTF-8 encoding is used.
Closes #745
2013-02-04 22:48:34 +01:00
nowrep
95445738ef [win] Don't check for default browser on startup.
Also cleanup in #ifdefs in RegisterQappAssociation
2013-01-29 20:34:14 +01:00
nowrep
b415df3395 Fixed building on both Linux & Windows. 2013-01-29 19:55:09 +01:00
S. Razi Alavizadeh
de7c9d56d3 Fixed crash on choosing non-writable download location. 2013-01-29 19:50:58 +03:30
nowrep
570ecf36cd Using mApp->tempPath() everywhere. (PROFILEDIR/temp) 2013-01-29 13:16:24 +01:00
S. Razi Alavizadeh
23a16726a8 Fixed bug about incorrect icon returned by QFileIconProvider() for the file that is going to download.
-and added the missing include
2013-01-29 05:22:08 +03:30
nowrep
709bc71f1a Merge branch 'srazi-master' + fixed building on Linux.
Conflicts:
	src/lib/lib.pro
2013-01-29 00:13:34 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
S. Razi Alavizadeh
347cebcf8a [Windows] Fixed saving files endings with space. 2013-01-22 22:56:39 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
743c402603 Coding style. 2013-01-21 22:11:31 +01:00
S. Razi Alavizadeh
6c3d210544 [Qt5][Windows] Now QupZilla compiles with Qt5 on Windows (msvc).
-There are some issues when enabling blur effect!
2013-01-20 01:52:30 +03:30
S. Razi Alavizadeh
f917f03b26 [Windows] fixed: open folder and select downloaded file (using ShellExecute for run explorer).
-Now it covers all possible situations (e.g. path with spaces, file without extention, ...)
2013-01-19 23:49:25 +03:30
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
999f499288 Use .qupzilla/tmp instead of /tmp.
- use it for downloading temporary files that are going
  to be opened
- this directory will be cleaned upon application close
2012-11-27 19:14:03 +01:00
nowrep
2d5b0c0bc0 Don't check for null pointer before deleting objects.
- as delete 0 is safe
2012-09-11 11:43:11 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
c7cdaf824f Qt5: Changing Q_WS_* macros to Q_OS_*
- Q_WS_* macros have been removed in Qt 5
2012-09-03 23:03:20 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00