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

402 Commits

Author SHA1 Message Date
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
a7d382ee42 [Cleanup] Use QZ_WS_X11 only for X11 specific code
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +01:00
nowrep
c7a31c57e0 [CodeCleanup] Use QMouseEvent::button() in mouse release events
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
eb9b2635d5 [ButtonWithMenu] Fixed selectPreviousItem not selecting first item 2014-02-20 17:06:21 +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
S. Razi Alavizadeh
35f1799e59 [ComboTabBar] Fix tabAt function for RTL languages 2014-02-14 18:48:16 +01:00
nowrep
6a4a41a5d9 [TabBar] Don't show tab previews while dragging tabs 2014-02-13 17:06:09 +01:00
nowrep
3ec9e0b893 [TabListButton] Show popup menu inside window for tab-list button in tabbar 2014-02-13 17:05:50 +01:00
nowrep
fa091d77f2 [ComboTabBar] Fixed drawing tabbar with only pinned tabs
Regression from e2dcf4d525affddf280ff1dfd36468a782fa3332
2014-02-13 14:48:02 +01:00
nowrep
d17584d944 [ComboTabBar] Rework tab scrolling animation
Using OutQuad easing curve and restarting animation on new wheel events
make the scrolling feel a lot better.

Wheel scrolling behavior:
horizontal wheel event: slower scrolling
vertical wheel event with control modifier: faster scrolling
vertical wheel event with other(+no) modifiers: fast scrolling
2014-02-12 16:28:12 +01:00
nowrep
7cefc22c0a [Flicker] Fixed flicker when opening new tabs with sites that loads instantly
Eg. this happens for internal qupzilla: pages
Also early set locationbar's url to newly opened tab's url.
2014-02-12 13:50:06 +01:00
nowrep
4d211e0098 [ComboTabBar] Hopefully fixed all issues with wrong mouseover state for tabs
Repaint the whole tabbar on enter and leave events, so all tabs are
rendered with correct mouseover state.
2014-02-12 11:16:06 +01:00
nowrep
0da5bf7994 [ListItems] Apply workaround only for Fusion style
It actually breaks other styles ...
Fixes 2105b48ca4
2014-02-11 22:53:06 +01:00
nowrep
dab7c82ae8 [WebView] Another approach to window.onbeforeunload handling
Don't try to load empty url just to check for beforeunload event.
Explicitly evaluate the window.onbeforeunload function instead.
2014-02-11 22:25:32 +01:00
nowrep
653db8f4bf [Json] Implement bool values
This fixes expanded state with QScriptEngine Json parsing
2014-02-11 15:34:51 +01:00
nowrep
2105b48ca4 [ListItems] Fixed drawing of ListItems with Qt5 Fusion style 2014-02-11 14:54:18 +01:00
nowrep
47496501eb [ComboTabBar] Correctly set height of pinned tabbar
Both tabbars will now have the same height.
This commit fixes incorrect drawing of line under pinned tabs when
moving tabs with Oxygen theme.

Also removed unused maxVisiblePinnedTabs property
2014-02-11 10:55:05 +01:00
nowrep
ed13086e1d [ComboTabBar] Fixed draw issues with Oxygen theme
Always draw a selected tab in paint event. If the tab is not active,
let's just move the selected tab outside the tabbar's rect
2014-02-11 10:24:00 +01:00
nowrep
35fb5cecad [Json] Removed dependency on QJson
QtScript is now used instead of QJson. QtScript is available on both
Qt 4 & Qt 5 and also as side benefit, is TWICE as fast as QJson!
2014-02-10 23:33:12 +01:00
nowrep
28091f4957 [Menus] Menus are not closed when opening links with middle mouse button
It is the same behaviour as in Konqueror
Closes #1165
2014-02-10 21:36:24 +01:00
nowrep
d91e6ef5a7 [ComboTabBar] Fix flickering when (un)pinning tabs 2014-02-10 20:06:09 +01:00
nowrep
f7806bed7d [ComboTabBar] Fixed incorrectly changing current index when closing tabs in inactive tabbar. 2014-02-10 19:49:09 +01:00
nowrep
51498fdb6e [ClosedTabsManager] Use QLinkedList for storing closed tabs
The operations prepend() and takeFirst() are O(1) in linked list
2014-02-10 19:26:38 +01:00
nowrep
d328ad2023 [Bookmarks] New JSON backend supports multi-level folders and more...
Merge branch 'bookmarks'

Closes #458
2014-02-10 18:13:38 +01:00
nowrep
75f3460a27 [Bookmarks] Automatically migrate bookmarks from SQLite to JSON 2014-02-10 16:58:43 +01:00
nowrep
946354a15d [Bookmarks] Load default bookmarks on error 2014-02-09 18:55:11 +01:00
nowrep
b3c4d5d8da [Bookmarks] Draw separators in BookmarksTreeView 2014-02-09 17:27:55 +01:00
nowrep
d21d6c43a0 [ComboTabBar] Fixed flickering when removing tabs from tabbar 2014-02-09 14:26:03 +01:00
nowrep
877eefec22 [Bookmarks] Clean dead code in Bookmarks & TreeWidget 2014-02-09 12:43:06 +01:00
nowrep
973014ae89 [EnhancedMenu] Rename signals to ctrlTriggerd and shiftTriggered 2014-02-09 01:14:00 +01:00
nowrep
bb6ead3ad4 [Bookmarks] Bookmarks menu is now working 2014-02-09 01:09:08 +01:00
nowrep
eef8741b4b [QJson] Hack to check for Indent support
There is no library version available in header files, so this is
the only solution to fix building on Debian stable
2014-02-08 00:19:22 +01:00
Javier Llorente
c84f3d2366 [Theme] Use theme icon for Exit Fullscreen button in toolbar 2014-02-07 23:14:32 +01:00
nowrep
9271b70802 [Bookmarks] Added BookmarksModel 2014-02-07 22:48:30 +01:00
nowrep
c9a556658a [Json] Use built-in QJSonDocument class in Qt 5 2014-02-06 22:24:10 +01:00
nowrep
03186060aa [Bookmarks] New bookmarks backend using JSON format
New format is compatible with Chromium's Bookmarks file.
It will support everything as the current backend +
 * multi-level bookmarks
 * bookmark description
 * bookmark keyword
 * remember expanded state (for folders)

NOTE: It is NOT yet complete. There is a LOT of work still needed.
Only bookmarks loading + saving and internal tree representation is
done.
2014-02-06 17:13:05 +01:00
nowrep
fe9ecbbbaa [Code] Renamed BookmarksModel class to Bookmarks
It actually is not model. BookmarksModel name will be needed for future
Bookmarks DataModel class.
2014-02-05 15:26:51 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
08929228bd [CodingStyle] TabStackedWidget::isValid should be private
And also choose better name - validIndex
2014-01-29 21:15:04 +01:00
nowrep
b4377767c0 [AdBlockTreeWidget] Greatly speedup loading rules from subscriptions
Don't use per-pixel scrolling. For some reason, it massively slows
rendering of TreeWidget

See #1169
2014-01-25 21:13:14 +01:00
nowrep
555453a7e2 [ComboTabBar] Fixed isOverflowed() for empty tabbar.
It returned true for empty tabbar. Switching tabs with
mouse wheel now works correctly in all scenarios.
2014-01-22 16:57:04 +01:00
nowrep
7cb39aed0b [TabBar] Added option to always switch tabs using mouse wheel
It will switch tabs even when tabs are overflowing.
2014-01-12 16:39:23 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Mladen Pejaković
3a3e7341a2 Thematic changes 2014-01-05 00:44:36 +01:00
nowrep
637e2715d3 [SpeedDial] Allow dial's width up to 500px
New page screens will now be generated in 450x253px resolution

Closes #1116
2014-01-01 18:35:54 +01:00
nowrep
36d1bed75a [CodingStyle] Coding style updates in ComboTabBar 2014-01-01 15:57:17 +01:00
nowrep
48079096c2 [ComboTabBar] Middle click on left/right buttons now scrolls to current tab 2014-01-01 15:42:30 +01:00
nowrep
cf5abaddb0 [ToolButton] Emit doubleClicked only on left mouse double click 2014-01-01 15:42:13 +01:00
S. Razi Alavizadeh
7bd48d6674 [ComboTabBar] Don't scroll to current tab on window focus change 2014-01-01 15:15:26 +01:00
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
eada3365c9 [QzTools] FileDialogs: Fix suggesting default filename 2013-12-30 13:15:20 +01:00
nowrep
f28eb82fb2 [FileDialogs] All file dialogs now remember last directory. 2013-12-26 20:49:59 +01:00
nowrep
5828d57277 [TabBar] Fixed crash in tabSizeHint (division by zero). 2013-12-26 19:52:07 +01:00
nowrep
e9fccbfb75 [ComboTabBar] Fixed height of tabbar when there are no normal tabs. 2013-12-26 19:46:56 +01:00
nowrep
3d4da9e4ea [FileDialogs] Remember last path in all dialogs
Closes #1075
2013-12-25 19:06:58 +01:00
nowrep
33615d3f32 Fixed compilation with Qt 5 2013-12-24 17:21:10 +01:00
nowrep
23d402a12b [ComboTabBar] Setup layout as soon as possible.
Also fixed typo widthes -> widths
2013-12-24 12:28:51 +01:00
nowrep
0038fd6cb6 [ComboTabBar] Double click on scroll buttons will scroll to end/start 2013-12-24 00:57:01 +01:00
nowrep
e8bbe53edb [ComboTabBar] Correctly fix tabAt function 2013-12-24 00:01:18 +01:00
nowrep
b4f3b5962e [ComboTabBar] Fix tabAt when pos is on right/left scroll buttons 2013-12-23 21:24:41 +01:00
nowrep
ea8b099688 [ComboTabBar] Tweaked appearance of buttons when tabs overflows.
Also disabled painting shadow gradient indicationg that tabbar is not
scrolled at the end.
2013-12-23 20:31:56 +01:00
nowrep
3e3d823d95 [ComboTabBar] m_heightIsDirty is not really needed 2013-12-23 20:31:51 +01:00
nowrep
852e197334 [ComboTabBar] Workaround for setting tabbbar height with Oxygen 2013-12-23 20:31:44 +01:00
S. Razi Alavizadeh
23876a3765 [ComboTabBar] Fixed weird scrolling on resizing. 2013-12-23 20:31:12 +01:00
nowrep
6fcbefc7b1 TabBar: Edit sizes of tabs. Minimal tab width is now 100 2013-12-23 20:31:05 +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
586982e473 [Bookmarks] Fixed drag&drop moving folders into bookmarks toolbar
Closes #1097
2013-12-05 21:15:20 +01:00
nowrep
a49e574f83 [WebSearchBar] Ctrl+Up/Down for changing search engines.
Closes #1090
2013-11-21 18:23:11 +01:00
Muhammad Fawwaz Orabi
c2ed0d6482 Enhanced plural forms for languages with complex rules 2013-10-10 10:36:01 +02:00
nowrep
567d6c74f4 GreaseMonkey: Run usercscripts in all frames on page 2013-07-29 17:55:35 +02:00
nowrep
3a5f8a263b Fixed compilation with Qt 5 2013-07-17 16:06:10 +02:00
nowrep
3a06549c70 Fix compilation with Qt 5.1 2013-07-09 10:43:23 +02:00
nowrep
e690dbdd2c Fix compile on non X11 platforms 2013-07-08 00:16:02 +02:00
nowrep
7e00f73daf Define QzTools::setWmClass on all platforms.
Get rid of #ifdef's and make it do nothing on non X11.
2013-07-08 00:08:05 +02:00
nowrep
2dcb5efbb1 Don't leak when setting WM_CLASS 2013-07-07 15:29:41 +02:00
nowrep
dccf8d9787 X11: Set correct WM_CLASS property to windows
Closes #968
2013-07-07 12:32:55 +02:00
nowrep
166a7fedd4 [AesInterface] Q_OBJECT macro is needed there for translations.
It is needed for tr() functions.
2013-07-05 15:55:15 +02:00
S. Razi Alavizadeh
5d48edc7a3 [LocationBar][StatusBar] show precent decoded version of non-latin link and draw RTL path correctly.
- also fixed a compile issue
2013-07-05 02:51:07 +04:30
nowrep
2554ad9870 Coding style: Uninline public functions 2013-06-30 12:41:01 +02:00
nowrep
8414f4fa48 Updated translations 2013-06-30 12:27:29 +02:00
nowrep
eb2567939f Removed Google Reader from online RSS readers.
Also fixed uninitialized variable issue in AES interface.
2013-06-22 17:33:59 +02:00
S. Razi Alavizadeh
6342884e86 Added AES encryption/decryption ability (version 1)
-AesInterface is a Qt interface for AES encryption/decryption
   that uses AES 256 CBC mode.
2013-06-19 02:07:38 +04:30
nowrep
136452ad2a Properly test for USE_QTWEBKIT_2_2 define 2013-06-17 21:03:45 +02:00
nowrep
6abb37d6a1 [SuperButton] Show menu correctly inside with RTL layout. 2013-06-09 12:54:50 +02:00
nowrep
197240845d [Oxygen] Tweaked last icon to be used from theme. 2013-06-02 22:47:02 +02:00
nowrep
77abf8493a [SiteInfo] Set correct height of list view according to icons.
See #633
2013-05-27 18:00:20 +02:00
nowrep
c106c2376b [Themes] Set navigationbar layout margin and spacing from style sheet. 2013-04-27 13:51:08 +02:00
nowrep
a618cb7249 [WebSearchBar] Use search icon from theme. 2013-04-27 13:24:27 +02:00
nowrep
90ccae62f2 [Linux theme] Small tweaks in locationbar icons.
Using theme icon for GoIcon. Removed explicitly setting padding.
2013-04-26 23:40:54 +02:00
nowrep
9861af4d64 [Oxygen] Set rounded corners for custom tooltips.
Show custom tooltips with rounded corners when using Oxygen
theme.
Tab previews and popup statusbar message are now painted with
rounded corners.
2013-04-21 01:24:24 +02:00
nowrep
67dbddedfe [FileWatcher] Delay emition of file/dir changed signal.
Fixes reloading files edited by eg. vim.
2013-04-02 13:14:19 +02:00
nowrep
1d5d480c85 Added support for building with Wayland.
See NO_X11 define in BUILDING.
2013-03-23 14:16:08 +01:00
nowrep
93d22ec6fc [Fix] Don't show instant popup when clicking on back/forward button. 2013-03-12 12:19:55 +01:00
nowrep
b12c324f87 [SuperMenu] Improved menu in button used instead of menubar.
The menu is now displayed inside window, even when window
is not in fullscreen.
It now also contains the most important actions in addition to copy of
top level menus.
2013-03-08 21:06:37 +01:00
nowrep
d72dddf2f1 Merge branch 'srazi-master'
Fixed conflicts:
	src/lib/other/browsinglibrary.cpp
	src/lib/tools/treewidget.cpp
2013-03-06 14:00:37 +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
S. Razi Alavizadeh
a7a4ef87a7 Improved version of 'TreeWidget::filterString()' 2013-03-05 00:04:43 +03:30
nowrep
7e6d619516 AdBlock: Greatly improves performance of regexp rules.
Regexp will be parsed into parts that can be used with
QString::contains for quick match. If url contains all parts,
real QRegExp matching is applied.

This speedup affects rules that are internally converted into
regexp, not AdBlock's regexp rules (but those rules are very rarely used
in subscriptions, so there's no need to optimise them)
2013-02-26 15:48:47 +01:00
S. Razi Alavizadeh
b52d150e7d [Mac] Small fixes in themes + fixed building
Theme: fixed color of statusbar
Building: fixed linking to CoreServices framework
QzTools: show correct version of Mac OS X
Code: coding style
2013-02-26 13:01:00 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
9f226b9738 Significant memory savings in AdBlock (~ 30MB with just EasyList)
Even empty QRegExp can occupy a lot of space in memory, which can
grow into a big number with tens of thousands AdBlock rules.
QRegExp is now allocated with new, and only when really needed.
2013-02-26 10:45:33 +01:00
nowrep
3e74b18622 Show Mac OS X version in QzTool::operatingSystem.
It now also supports Windows 8 detection.

Function have been renamed from buildSystem to operatingSystem
as it does not really returns build system anymore.
2013-02-24 23:02:55 +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
2ddff2a34e Restore tabs: Disable updates of tabbar while restoring session.
Fixes sometimes drawing tabbar while restoring is in process, resulting
in painting only few tabs and then all restored tabs after a moment.
It will now only draw completely restored tabbar.

Also fixed one incorrect usage of setUpdatesEnabled in TreeWidget.
2013-02-23 12:04:51 +01:00
nowrep
36e73949c2 Don't show context menu on scrollbars.
Also fixed coding style in mactoolbutton.cpp
2013-02-22 09:05:30 +01:00
S. Razi Alavizadeh
06ad80583c IconProvider: fixed, return a fallback icon on non-linux OSes 2013-02-22 01:25:28 +03:30
S. Razi Alavizadeh
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
nowrep
134f8f5263 [SiteInfo] Use uniform item sizes in list widget.
Also fixed showing the whole item on Windows.
2013-02-20 11:46:05 +01:00
S. Razi Alavizadeh
df8eeb9525 Faster 'filterString()' for CookieManager. 2013-02-18 23:25:31 +03:30
David Rosca
e718e00e5c Merge pull request #760 from srazi/master
Fixed some platform specific issues.
2013-02-16 13:29:50 -08: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
nowrep
5641d380d8 [QzTools] Added function to split arguments from command. 2013-02-15 11:05:46 +01:00
S. Razi Alavizadeh
c4b98d4a7a [Win] This fix completes e934af9 2013-02-15 01:53:28 +03:30
S. Razi Alavizadeh
c41e17611a [Cookie Manager] Reset search text on refresh. 2013-02-14 22:20:29 +03:30
nowrep
94f1af7f2f Merge branch 'master' of git://github.com/srazi/qupzilla into srazi-master
Updated coding style.
2013-02-14 18:07:50 +01:00
nowrep
bf75704cac [RSS] Show for akregator/liferea in PATH instead of just in /usr/bin 2013-02-13 21:48:06 +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
bea5f72ad7 [SiteInfo] Improved setting height of section widget. 2013-02-11 17:11:13 +01:00
nowrep
d81b77a004 [SpeedDial] Fixed fetching title of page when title is empty.
When user checks "Fetch title from page" and resulting title is empty,
let's just show url of the site.
2013-02-09 20:52:25 +01:00
Jonathan Hooverman
4e2a829680 Use consistently British English in UI 2013-02-09 19:43:13 +01:00
nowrep
8a6beac501 Show toolbars menu on right click in menubar and navigation toolbar. 2013-02-09 14:08:12 +01:00
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
37a81cdf30 Sending information about versions in reportbug page.
Improved OS detection on Windows. It will also show version
of Windows (except Win 8)
2013-02-04 13:07:21 +01:00
nowrep
4f3c8b0d00 Check for QtWebKit 2.2 availability with pkg-config.
Fixes issues with building with QtWebKit 2.2 and Qt 4.7
2013-01-31 20:27:37 +01:00
nowrep
b415df3395 Fixed building on both Linux & Windows. 2013-01-29 19:55:09 +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
nowrep
570ecf36cd Using mApp->tempPath() everywhere. (PROFILEDIR/temp) 2013-01-29 13:16:24 +01:00
nowrep
709bc71f1a Merge branch 'srazi-master' + fixed building on Linux.
Conflicts:
	src/lib/lib.pro
2013-01-29 00:13:34 +01:00
nowrep
eb583d429b New dialog in preferences: HTML5 Permissions
Show all sites that will have permanent permissions (be always
blocked) to show desktop notifications / use geolocation.
2013-01-28 18:20:36 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
498f24add1 [Code] Renamed AutoFillModel + new class PageFormCompleter. 2013-01-24 17:47:50 +01:00
nowrep
21d2c57dd8 Added autotests for QzTools helper functions. 2013-01-24 14:25:26 +01:00
nowrep
a34a72cdb8 Moved all cookies settings into Cookies Manager. 2013-01-23 01:34:15 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
3729649f6b Fixed using new icon for search button. 2013-01-22 15:31:50 +01:00
nowrep
6ebfee73ba [Linux theme] New icon for search button in searchbar.
Use "edit-find" icon for theme, if there is no such
icon, the old one will be used.
2013-01-21 22:39:20 +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
ef4cfad805 Removed USE_QTWEBKIT_2_2 build variable.
It will now be automatically detected.
It assume that if you are building with Qt 4.8 and higher,
you have QtWebKit 2.2 and higher.
2013-01-19 19:37:40 +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
S. Razi Alavizadeh
653f1478ec Fixed compile issue from recent commit: 02ea92ad28 2012-12-29 11:28:11 +03:30
nowrep
f27137f8ae Fixed rendering issues in ListWidget in SiteInfo
It should now be rendered well with all possible
font sizes.

Closes #663
2012-12-28 01:59:39 +01:00
nowrep
8cca4437f1 Fixed crash in qz_escape()
Closes #691
2012-12-27 11:31:10 +01:00
nowrep
02ea92ad28 Qt5: X11: Fixed moving windows to virtual desktops
Moving windows to virtual desktops upon restoring
session.
2012-12-22 15:01:55 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +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
Franz Fellner
4bb87822cf Highlight host in locationbar.
To simplify color computation I simply imported the "blib/colors.*" from bespin.
2012-09-19 20:24:41 +02:00
nowrep
5a3f4e5f4d Fixed crash when dragging bookmark from manager to sidebar 2012-09-06 11:28:43 +02:00
S. Razi Alavizadeh
d9ae633d1a Added Drag-n-Drop functionality to bookmarkmanager and bookmarksidebar. 2012-09-06 02:22:40 +04:30
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +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
d5e21ab911 BookmarksSideBar: Get focus to search line when opening sidebar
- also addeed support for opening bookmarks with Enter
   * Enter - opens bookmark in current tab
   * Ctrl + Enter - opens bookmark in new tab
2012-09-02 15:53:00 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
60ae2c1705 Moved fileSizeToString into qz_ function 2012-08-23 15:40:10 +02:00
nowrep
5ca2e2d75f Using prepare SQL statements everywhere it is needed. 2012-08-23 15:37:43 +02:00
nowrep
c0b04f660e Moved WebPage::applyDirectionToPage into globalfunctions.h 2012-08-19 19:47:28 +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
474d665e52 Fixed closing bookmarks menu when menu toolbar is hidden.
closes #481
2012-07-27 18:51:24 +02:00
nowrep
69aeeac1be Fixed zooming with Ctrl+wheel for some users.
closes #451
2012-07-13 18:00:03 +02:00
nowrep
f65b30fda7 Another Windows fixes + added qt_uk.qm (ukrainian qt translation) 2012-07-12 12:55:22 +02:00
nowrep
b0f209b1da Using UTF-8 when reading files. 2012-07-08 21:17:10 +02:00
nowrep
7fee7053d4 Plugins: New method in API (createRequest in network manager) 2012-07-08 00:15:03 +02:00
nowrep
adac699cc9 AdBlock: Subscription downloading now follows redirects.
- fixed related possible crash
2012-07-03 21:54:04 +02:00
nowrep
dd170f653f Using QChar instead of 1-char QString everywhere 2012-07-01 18:50:18 +02:00
nowrep
a37b29b275 Using QString::left instead of QString::mid(0, ) 2012-07-01 18:11:43 +02:00
nowrep
6228082225 AdBlock: Support for $object $subdocument and $xmlhttprequest options
- also there's now support for blocking all netscape plugins,
  not just flash plugin
2012-07-01 12:07:00 +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
e471bfd5d4 AdBlock: Support for adding new subscriptions.
- you can add subscriptions in AdBlock dialog or with
  abp: scheme links

- however, AdBlock rules are not yet optimized for performance
  so you shouldn't add too much subscriptions
  performance optimizations will come in next commits
- support for element hiding is still yet to come too

closes #266
2012-06-24 23:46:32 +02:00
nowrep
1e179b3b83 Small improvements in drag&drop.
- dragging is now enabled in locationbar and websearchbar
- dragging site icon has now new pixmap
2012-05-27 14:05:28 +02:00
nowrep
9872f3281f Fixed handling special chars when searching with locationbar shortcuts 2012-05-22 12:11:27 +02:00
nowrep
330b35f8db Fixed too big "External Protocol Request" dialog when URL is very long
- it will now align URL to multi line text
2012-05-13 17:01:35 +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
e6da887f1a Updated translations 2012-04-22 21:02:25 +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
30f97be3b1 Plugin list is now painted with QStyledItemDelegate. 2012-04-19 18:07:00 +02:00
nowrep
cdf73b01b5 Auto selection on focus in search toolbar's line edit.
closes #381
2012-04-19 15:58:23 +02:00
nowrep
ba1cf804eb Address bar now searches also in bookmarks.
closes #79
2012-04-15 15:41:48 +02:00
nowrep
a34057d1ea Using faster thumbnail generation also in Speed Dial.
- thanks to Ariya Hidayat #378
2012-04-12 15:24:57 +02:00
nowrep
3d1b490cc5 Using QTimeLine in AnimatedWidget instead of QPropertyAnimation 2012-04-10 20:52:10 +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
e608bc0e1f Enhanced Plugins API - possibility to add sidebar
- example implementation is now in TestPlugin
2012-04-01 16:36:38 +02:00
nowrep
43cd497d3f Using QStringBuilder now. Fixed speed dial dialogs for webkit 533.3 2012-03-30 12:01:12 +02:00
nowrep
abcfc455de Fixed showing icons in some dialogs on KDE + removing local certificates
- also no longer faking double click on middle mouse click on Windows
  to activate "autoscroll" - it could interfere with mouse gestures
2012-03-28 16:42:50 +02:00
nowrep
373d6162d7 Improved suggesting file name when downloading page / links.
- it now appends .html ONLY when you are attempting to download
  the whole page and when there is no suffix set in url
2012-03-23 13:58:31 +01:00
nowrep
3898f7f3f7 Improved dialogs in Speed Dial + fixed issue with saving page screen.
- closes #319
- closes #318
2012-03-17 16:01:12 +01:00
nowrep
471ac7ba1f Fixed building with NONBLOCK_JS_DIALOGS + other small fixes. 2012-03-16 23:28:23 +01:00
nowrep
dbfc09538c Fixed compilation with QtWebKit < 2.2 and AKN plugin. 2012-03-16 13:53:49 +01:00
nowrep
60c5b81f88 Improved source viewer, it now shows lines and fixed go to line.
- plugins can now register scheme handlers
- tweaked javascript alert window
- initial support for Geolocation & Notifications API
    * question to ask user for permission needs not implemented yet
2012-03-15 19:35:37 +01:00
nowrep
f590ad1925 Removed use of whatsThis() and other code cleanups 2012-03-13 17:51:06 +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
cb603f409a Send Referer header when opening new tab from webview. 2012-03-10 13:57:50 +01:00
nowrep
6ed52fd732 Fixed deleting history entries in history manager.
- also significally improved performance when deleting more
  entries at once
2012-03-10 12:21:45 +01:00
nowrep
0e4fd462ba Access Keys Navigation plugin now add also lower/upper case chars.
- imporved pages screen = removing scrollbars from screen
2012-03-07 12:19:54 +01:00
nowrep
eb7de9a104 Various enhancements in Bookmark Importing.
- when importing from Html file, also bookmark folders are imported
- bookmark tree now shows folder structure
- fixed importing from UTF8 files
- loading icons in own thread = dialog won't freeze anymore
2012-03-06 15:28:52 +01:00
nowrep
94fdba5aba Fixed building (removed one unused slot) 2012-03-05 20:41:54 +01:00
nowrep
a0b9c0fc69 Fixed building on Windows + whole compilation is now faster. 2012-02-29 18:33:50 +01:00
nowrep
9df1b8ca1e Don't reload search results when saving search engines. 2012-02-28 18:57:05 +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