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

66 Commits

Author SHA1 Message Date
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