1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 10:42:11 +02:00
Commit Graph

271 Commits

Author SHA1 Message Date
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
b8cb20ced6 Revert "[Code] Use QDir::separator() instead of hardcoded "/""
This reverts commit 4f059a75ee.

It is really not helpful at all (Qt will automatically use native
separators)
2013-12-27 15:09:42 +01:00
nowrep
a9dc3a929a [Code] Added comment 2013-12-27 15:09:31 +01:00
nowrep
4f059a75ee [Code] Use QDir::separator() instead of hardcoded "/"
QDir::separator() returns native separator (= "\" on Windows)
2013-12-26 20:52:21 +01:00
S. Razi Alavizadeh
bff614144b Added TabStackedWidget + ComboTabBar
Set of patches:
Introduce TabStackedWidget+ComboTabbar
[Windows] Fix enabling blur background in fullscreen
[ComboTabBar] Fix some issues with pinned tabs
[ComboTabBar] Don't use pointer to integer,
Implement TabStackedWidget::keyPressEvent() and fix changing tab by wheel event
Fix animation delay of dragged tab's buttons.
[ComboTabBar] Add themable scrollButtons
2013-12-23 20:30:54 +01:00
nowrep
d519a1253e [Sessions] Last 2 sessions are now backuped in profile directory.
Closes #1100
2013-12-06 21:26:07 +01:00
S. Razi Alavizadeh
99236b58be Open the new window in the screen contains the last active window. 2013-08-04 00:47:15 +04:30
nowrep
f149aaebf2 Add possibility to load themes from profile directories.
Themes are now loaded from the following directories:
 1. Directory "themes" in user profile
 2. Directory "themes" in root profile directory
 3. System data path
      > /usr/share/qupzilla/themes on Linux
      > $EXECUTABLE_DIR/themes on Windows

Closes #928
2013-06-07 12:59:22 +02:00
nowrep
bd315afe9e [AutoFill] Rewritten password management to support multiple backends. 2013-05-14 17:57:13 +02:00
nowrep
1b617068b2 [AdBlock] Fixed hiding rules when more than 5000 rules in subscription.
Closes #873
2013-05-02 21:01:17 +02:00
Mladen Pejaković
aac0956a0f Add spatial navigation option 2013-04-23 13:31:29 +02:00
nowrep
ee42199669 Fixed crash upon closing private browsing window.
Also updated translations for previous commits.
2013-04-16 10:00:18 +02:00
nowrep
35ceee25ee [Preferences][Win] Changed labels on "Set as default" button.
Also renamed QtSingleApplication::removeLockedFile to removeLockFile
2013-04-05 11:39:19 +02:00
nowrep
43d514a647 [QtSingleApplication] Correctly remove lockfile only on app close.
Fixes regression when multiple instances of browser were opened.
2013-04-04 23:33:02 +02:00
S. Razi Alavizadeh
dc659e2fa4 [Windows] Fixed issues about window positioning
-Fixed #821 and also position of new window
2013-03-23 21:07:58 +04:30
Oliver Gerlich
eecbc352c4 Added option to open another private window from private window.
Closes #776
Closes #772
2013-03-23 13:04:35 +01:00
nowrep
2d27c40384 Use /tmp/qupzilla/tmp as a temp path on Linux.
Instead of creating another folder in /tmp (qupzilla-tmp),
use already created /tmp/qupzilla.

See #811
2013-03-21 23:44:01 +01:00
S. Razi Alavizadeh
45830b1917 Fixed some little issues.
-show default browser dialog after application window completely rendered and correct default checked state
-show host instead URL in authentication dialog
2013-03-16 18:19:31 +03:30
S. Razi Alavizadeh
d75ab566ef [Mac] Added some actions to menu of dock icon 2013-03-16 18:19:28 +03:30
nowrep
ff4e5b74d4 [Fix] Certificates from custom path disappearing on preferences saving. 2013-03-15 10:44:05 +01: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
50e993e014 [TabBar] Compute minimum tab sizes with ProxyStyle pixelMetrics.
It will make it possible for styles to basically style tabs.
2013-03-03 20:20:49 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
cf4daaa37a [Qt5] Fixed crash when using network cache from Qt 4
Network cache is now saved  in %WEBKITVERSION%-Qt%QTVERSION%
subdirectory.
2013-02-26 11:58:38 +01:00
nowrep
a1ad8dab9b Properly destroy NetworkManager on application close. 2013-02-25 23:25:11 +01:00
David Rosca
560c4c414c Merge pull request #780 from srazi/master
[Windows] Don't update transparent margins on close.
2013-02-24 04:17:03 -08:00
S. Razi Alavizadeh
825e14140c [Mac] fixed search highlighting on Mac, see #756, also don't paint cursor when showing popup. 2013-02-24 15:37:14 +03:30
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
1cbc8c6d2d [Windows] Fixed color of selected text when view loses focus.
Closes #756
2013-02-22 11:59:52 +01:00
nowrep
bc2e163b90 X11: Symlink qupzilla/tmp into /tmp 2013-02-22 10:06:05 +01:00
nowrep
3e743c9d1f Moved config directory info ~/.config/qupzilla
See #774
2013-02-21 11:05:00 +01:00
nowrep
18a1d4802e Don't use double QUrl::fromUserInput in QupZilla constructor.
Closes #762
2013-02-19 11:56:47 +01:00
nowrep
7b3b4f9b94 [Regression] Fixed restoring session with pinned tabs.
Regression from adding tabs on top feature.
2013-02-15 22:18:46 +01:00
nowrep
9a99509faf Proper fix for restoring current tab.
Fix for 3b4d2f5534
2013-02-11 16:45:10 +01:00
nowrep
a1a8fb90f5 Added option to choose where to store network cache. 2013-02-10 14:50:18 +01:00
nowrep
945b40f2a5 Improved showing navigation in fullscreen.
It will now hide navigation toolbar after 1 second instead
of hiding it instantly when on mouse leave.
2013-02-09 15:44:17 +01:00
S. Razi Alavizadeh
860b5b8440 [Mac] Added support for global-menu.
-Added MacMenuReceiver class
-Added MENU_RECEIVER as receiver for action's signal
2013-02-09 14:47:18 +03:30
nowrep
c3a0e1f13a [spellcheck] Added context menu options to replace misspelled words.
And also to add word into user dictionary.
2013-02-05 20:43:53 +01:00
nowrep
074bd928c7 [spellcheck] Adding Speller object into MainApplication. 2013-02-05 15:41:10 +01:00
nowrep
4f42040c7e Followup for background fix with dark themes. 2013-01-31 14:18:28 +01:00
nowrep
b97d1eeef5 Revert "Add new option "Ignore system colors" for dark themes."
This reverts commit 4b2fd86fdd.
2013-01-31 11:53:48 +01:00
nowrep
4b2fd86fdd Add new option "Ignore system colors" for dark themes.
It will set default background of html element to white.
However, this may break some sites, so let's just make this
optional.
2013-01-31 02:08:28 +01:00
nowrep
109f607157 Fixed removing all cookies on close option.
Closes #731
2013-01-30 16:04:05 +01:00
nowrep
e9b3442ef9 Use different network cache folders for each WebKit version
Fixed crashes when using cache from older QtWebKit in 2.3 version
2013-01-30 12:18:07 +01:00
nowrep
5569cec48b [win] Fixed building after last commit. 2013-01-29 20:58:08 +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
S. Razi Alavizadeh
62d3fd8bbb [FTP] Caching file icons, also added ftp to installer script and associationManager() 2013-01-29 20:03:56 +03:30
S. Razi Alavizadeh
dd58127293 Fixed blocking link with ftp and qupzilla schemes because of the 'Same Origin Policy'. 2013-01-29 05:15:10 +03:30
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
3cdb4c26df Fixed setting current tab after recovering crash.
It set currentIndex - 1 before.
2013-01-25 23:36:50 +01:00
nowrep
df6417af4a Final fix for page background with dark themes.
Background of html element is now by default set to
white.
Closes #602
2013-01-25 21:14:37 +01:00
nowrep
498f24add1 [Code] Renamed AutoFillModel + new class PageFormCompleter. 2013-01-24 17:47:50 +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
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
nowrep
81ac819746 Ask user to allow site to use notifications/geolocation.
With option to remmber the choice for page.
2013-01-19 17:28:12 +01:00
nowrep
64a180d1fe Enable new features in QtWebKit 2.3.0
Also hiding new features in preferences if building
with older QtWebKit versions.
2013-01-09 18:47:36 +01:00
Mladen Pejaković
ea604d5bca JavaScript privacy options 2012-12-28 01:17:01 +01:00
nowrep
64355e2a3d Qt4: Fixed broken session restoring.
Adding Qt version into sessionVersion number
only when using Qt 5.

Closes #689
2012-12-25 16:56:23 +01:00
nowrep
bdc9a0417a Qt5: Added new option to use Caret Browsing
It can be enabled from Preferences -> Browsing,
Menu View or with F7 shortcut.
2012-12-22 13:52:46 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
666f6678f3 Qt5: New option to turn Animated Scrolling
Feature similiar to "smooth scrolling"
2012-12-21 16:38:44 +01:00
nowrep
cadfd63b1e Fixed rendering pages with Qt 5
Filtering "\" from AdBlock CSS rules.
2012-12-20 22:57:58 +01:00
nowrep
365c0d5efd Qt5: Added info about Qt version into session files.
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +01:00
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
2dd3f80618 Little change to fix from previous commit 54e1bfeffa
Set QPalette white background color instead of setting
CSS stylesheet.
2012-12-06 22:23:11 +01:00
nowrep
54e1bfeffa [Fix] Use default white bg for pages with dark themes
This commit should finally resolve this issue. It is
setting background-color:white for html by default.

See #602
2012-12-06 17:51:16 +01:00
nowrep
60792f3762 Coding style 2012-12-01 11:16:49 +01:00
S. Razi Alavizadeh
a81419921c Windows: Check to see if QupZilla is the default web browser.
-Added 'registerqappassociation.h' and 'registerqappassociation.cpp' that contain 'RegisterQAppAssociation' and 'CheckMessageBox' classes.
2012-12-01 10:27:55 +03:30
nowrep
85d09c8a64 Added option to disable Alt/Ctrl + numbers shortcuts
Closes #647
2012-11-28 11:27:30 +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
0c4b8e164e Don't set white body bg color for sites by default
- it does actually break some pages

Reverts 4fce161414
2012-11-09 14:59:46 +01:00
nowrep
4fce161414 Set default white background for all pages.
- fixes issue with dark themes

closes #602
2012-10-06 11:15:58 +02:00
nowrep
55845ab4df X11: Restore windows on correct virtual desktops
- this will not be used for first application window, to prevent
  starting application and no window being opened on current
  desktop

   = applies only for other restored windows (2nd, 3rd, ...)
2012-09-06 11:39:42 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
7b21bf61f1 Q_OS_X11 macro is invalid in both Qt 4 & 5.
- so for now, use just Q_WS_X11
2012-09-04 10:54:39 +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
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
53d4f00c36 Added option to start new instance of browser with --no-remote option
- however, new instance cannot be started for default profile

closes #541
2012-09-01 15:59:27 +02:00
nowrep
2acc6021aa Regression: Fixed restoring sessions with pinned tabs.
- it was opening & restoring tabs in new window
2012-08-24 19:24:48 +02:00
nowrep
983df81ee0 Try to return active window in MainApplication::getWindow 2012-08-23 15:52:07 +02:00
nowrep
c6445513e0 Don't close additionally opened tabs when restoring session
- if user opens app after crash, he will get 1 tab asking him
  about restoring a session
  if user opens another tabs and later decides to restore session,
  new opened tabs won't be closed

Patch by Franz Fellner
2012-08-22 13:45:03 +02:00
nowrep
80e89b2644 New Restore Session GUI - allows choosing to/not to restore each tab
- added as new qupzilla:restore page
- thanks a lot for work by Franz Fellner

closes #515
2012-08-21 20:28:38 +02:00
nowrep
3f5b6382a3 Backend support for setting per-domain UserAgent.
see #399
2012-08-16 23:15:31 +02:00
nowrep
826d85a5e1 Fixed left margin in websearchbar after RTL commits.
- also added Seyyed Razi Alavizadeh into authors
2012-08-14 13:12:55 +02:00
nowrep
5de31410a4 Fixed padding of text and widgets position in address bar
- after recent RTL commit

closes #500
2012-08-13 15:41:08 +02:00
S. Razi Alavizadeh
341739cf59 LineEdit class uses a new layouting strategy for support RTL direction. theme changed for fulfillment this strategy. 2012-08-13 14:46:56 +02:00
S. Razi Alavizadeh
89f9fc9ac2 Added support for Right To Left layout direction and also themes support RTL! 2012-08-13 09:26:21 +02:00
nowrep
e709e17d5c Small cleanup in code (classes holding settings as static variables)
- merged LocationBarSettings and WebSettings into one class
- new class QzSettings no longer uses static variables
2012-08-10 21:16:43 +02:00
nowrep
e4e87b02a5 CommandLineOptions: Added option to open new window with url
- syntax: -ow=URL or --open-window=URL
2012-07-10 00:36:05 +02:00
nowrep
b0f209b1da Using UTF-8 when reading files. 2012-07-08 21:17:10 +02:00
nowrep
ac36261549 Plugins: Calling unload() on app shutdown. 2012-07-08 14:03:50 +02:00
nowrep
d8e0556d3e AdBlock: Changes to element blocking rules are now instant.
- instead of need to reload settings / restart browser
2012-07-04 17:53:49 +02:00
nowrep
dd170f653f Using QChar instead of 1-char QString everywhere 2012-07-01 18:50:18 +02:00
nowrep
38ef828b82 Private browsing now opens new browser window (in own process)
- closes #415
2012-06-26 11:49:39 +02:00
nowrep
847469e0be AdBlock: Support for element hiding rules & improved performance
- improved performance with not using regexps when not necessary
- added support for element hiding even with domain restrictions
- almost all types of rules are supported now
   * exceptions are only some special cases when rule has
     unssuported options (part of rule after $ character)
   * those rules are ignored
2012-06-25 16:07:25 +02:00
nowrep
8f75fd2532 Fixed crash when cleaning cache while cache is not used (disabled). 2012-06-15 17:43:19 +02:00
nowrep
5b75c0e5a0 History completely rewritten into Model/View architecture.
- much faster history loading (loading history entries only when
  needed - eg. expanding top level items)
- less memory usage (sidebar and manager are using the same model)
- searching is now performed on title and url
- clear private data -> clear history is now working properly
2012-04-30 16:33:14 +02:00
nowrep
2055621f2a Show star icon in completer when item is from bookmarks.
- IconProvider has no longer static members
- new macro qIconProvider for accessing IconProvider instance
2012-04-22 20:51:28 +02:00
nowrep
99722aa7aa Added option to open external protocols in system apps.
- so for example, links with apt: or tomahawk: protocol can be opened
- it will ask user whether he wants to open link in external app
  and give option to remember the choice
2012-04-13 13:26:32 +02:00
nowrep
ecec41d647 Correct release of version 1.2.0 2012-04-05 14:26:44 +02:00
nowrep
b1d0cd9228 Improved performance of bookmarks import and bookmarks deleting.
- moved general defines into qz_namespace.h file
- fixed showing default theme to be "default" on mac in
  theme manager instead of "mac" theme
2012-04-05 10:27:35 +02:00
nowrep
f94e69d557 Updated Georgian translation + fixed plugin system loading. 2012-04-04 21:12:52 +02:00
nowrep
9778773199 Using better method for loading translations.
- it can now load xx_CC translation even if xx_DD is
  user's system locale
2012-04-04 18:48:54 +02:00
nowrep
79a548b365 Command line option to open url in current tab.
-ct=URL or --current-tab=URL
2012-04-03 20:41:07 +02:00
nowrep
e608bc0e1f Enhanced Plugins API - possibility to add sidebar
- example implementation is now in TestPlugin
2012-04-01 16:36:38 +02:00
nowrep
aa6962f8cb Sending "correct" UA to assure full functionality of Google services
- also fixed startup issue with QtCurve theme
2012-03-31 21:36:27 +02:00
nowrep
a554d48e45 Saving user defined default text encoding from menu view -> encoding
- closes #357
2012-03-30 12:03:11 +02:00
nowrep
99a6b5de86 Fixed loading utf urls from command line.
- updated Brazilian Portuguese translation
2012-03-24 22:08:17 +01:00
nowrep
8e9293e475 Added new page into Site Info: Databases.
- shows all used web databases on the site
2012-03-23 17:29:12 +01:00
nowrep
471ac7ba1f Fixed building with NONBLOCK_JS_DIALOGS + other small fixes. 2012-03-16 23:28:23 +01:00
nowrep
f09e5c981c Fixed recalculating size of tabs after unpinning tab.
+ other small improvements / fixes
2012-03-14 14:04:20 +01:00
nowrep
9d6d5d1774 Another small startup behaviour changes. 2012-03-13 17:51:37 +01:00
nowrep
17d70adfa5 Various changes in starting application.
- constantly renaimed app plugins to Extensions
2012-03-13 15:10:18 +01:00
nowrep
9161945d97 Various fixes regarding "Don't load tabs until selected" option
- fixed typo in Access Keys Navigation plugin
2012-03-12 18:22:01 +01:00
nowrep
246f765a7a Changing global version of session.dat file.
- rather than adding version check in tabwidget restore
2012-03-11 18:24:19 +01:00
nowrep
1be705e9af Now saving cookies with tabs (not on app quit). Closes #300 2012-03-05 14:32:24 +01:00
nowrep
a0b9c0fc69 Fixed building on Windows + whole compilation is now faster. 2012-02-29 18:33:50 +01:00
nowrep
9c789792f4 Rearranged directory structure. All sources are under src/ dir now.
- updated Italian homepage translation
2012-02-23 19:18:08 +01:00