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

3085 Commits

Author SHA1 Message Date
duanemoody
a4d53499ff Add application category for OS X
Because /Applications is typically not subfoldered (updaters don't like it when it is) OS X has had a separate view option View --> Arrange By --> Application Category which simplifies viewing apps. Unfortunately if LSApplicationCategoryType is missing from the app's info.plist, the app will be sorted into "Other" at the bottom. public.app-category.productivity is the category for web browsers.
2014-04-20 16:01:33 -07:00
David Rosca
028db62be0 [ComboTabBar] Set objectName of base widget, so it can be styled
TabBar base is now correctly styled in all themes.
Updated the themes accordingly to this change.
2014-04-20 13:03:08 +02:00
David Rosca
0a8337758e [Themes] Fix loading linux.css and mac.css on Mac/Linux 2014-04-20 12:28:33 +02:00
David Rosca
668c8b024a [LocationBar] Fixed showin progress over text. Use opacity with QPainter
Not the best solution, but probably the easiest.
Closes #1261
2014-04-20 11:05:20 +02:00
David Rosca
2138978ab7 [LocationBar] Make sure text format is correct even when text doesn't change
refreshTextFormat() is using page's url to determine which part of
displayed text is host. Url of page may not change immediately when
starting loading.
This commit makes sure that text format is correct with every
WebView::urlChanged() signal.
2014-04-20 09:51:20 +02:00
David Rosca
d25847cfce [ToolButton] Added property "toolbar-look"
This property makes it possible for themes to customize look of
additional ToolButtons in Navigation Toolbar.
2014-04-20 09:32:35 +02:00
David Rosca
1fd3d84320 [ToolButton] Don't try to show menu when it is already visible 2014-04-19 18:50:44 +02:00
David Rosca
6797433e39 [ComboTabBar] Fixed tabAt() on scroll buttons 2014-04-19 18:47:44 +02:00
David Rosca
7568ee3e2d [TabWidget] Don't save qupzilla:restore page in closed tabs 2014-04-19 18:24:09 +02:00
David Rosca
20764b3c1e [Build] Fixes building with Qt5 2014-04-19 15:30:14 +02:00
David Rosca
f21be271b2 [ReloadStopButton] It is now only one button
Instead of hiding and showing two buttons (reload and stop), use
only one ToolButton and change the object name accordingly.
2014-04-19 14:40:54 +02:00
David Rosca
5782de0387 [ToolButton] New function to set look of button as it was in toolbar
Currently, it only sets the correct icon size
2014-04-19 13:46:23 +02:00
David Rosca
b3a9b99ac7 [ToolButton] Manually handle showing menu
ToolButtons now don't have menu indicators.
This fixes issue with Back/Forward buttons in Navigation Toolbar
being more wide than other buttons.
2014-04-19 13:12:04 +02:00
David Rosca
717585c6d6 [ToolButton] Cleanup code + removed unused properties 2014-04-19 12:06:48 +02:00
David Rosca
8283a5a42e [Styles] Don't mention to use [style=QtStyle] selectors in comment
It is not available in current Qt releases

QzSchemeHandler+AboutDialog: Fixed coding style
2014-04-19 12:06:16 +02:00
David Rosca
535cc3e73a [QzCommon] Move constants initialization into source file (.cpp)
Plugins are now checking for a match of version that were built with
in Plugin::testPlugin() function.
2014-04-17 15:20:54 +02:00
David Rosca
c6ae381404 [Mac] There is no /proc filesystem on Mac
Closes #1294

[ci skip]
2014-04-17 14:42:06 +02:00
David Rosca
9df585a8f8 [AdBlockSubscription] Fix infinite loading of subscription when cannot write to file 2014-04-16 17:15:55 +02:00
David Rosca
cc479f29e1 [CaBundleUpdater] Correct the error handling when downloading bundle 2014-04-16 16:51:53 +02:00
David Rosca
cd5ea7d66a [Build] Fixed build after last commit 2014-04-16 09:17:57 +02:00
David Rosca
72f5d49074 [MainApp] Try to use windowIcon from icon theme 2014-04-16 09:13:17 +02:00
David Rosca
94444b30d5 [Bookmarks] Add new bookmarks at the end of the folder
Creating new bookmarks in Bookmarks Organizer are still prepended
(inserted at the begin)
2014-04-16 09:12:33 +02:00
David Rosca
97d32a1191 [Mac] Drawing QTabBar without actual object crashes on Mac
[ci skip]
2014-04-15 09:58:51 +02:00
David Rosca
8a0b6f0d10 [Build] Fixed building with Qt4 2014-04-13 12:24:37 +02:00
David Rosca
eb8ae20cc1 [AdBlockRule] Improve performance of rule matching with QStringMatcher
Use QStringMatcher instead of QString::contains in RegExpFilters.
QStringMatcher internally uses fast Boyer-Moore algorithm.
2014-04-13 11:49:39 +02:00
David Rosca
45635f6da8 [WebView] Fixed loading of bookmarklets
Closes #1288
2014-04-12 22:24:42 +02:00
David Rosca
e9a9a768cc [TabbedWebView] Make sure to not crash with invalid m_window pointer
This is followup to properly handle detached WebTab (outside
BrowserWindow)

[ci skip]
2014-04-11 22:23:42 +02:00
David Sterba
f7552e42aa [BrowserWindow] Add slash as a single key shortcut for search 2014-04-10 11:09:29 +02:00
David Sterba
ddba93a3d0 [Preferences] Update help text for single key shortcuts
Put the list of implemented shortcuts into a tooltip with a bit of
formatting.
2014-04-10 01:09:23 +02:00
David Rosca
e4512ae14f [Click2Flash] Fix playing YouTube videos with Qt5
Closes #1283
2014-04-09 22:52:41 +02:00
David Rosca
646f9a2013 [Build] Fix building with Qt 4.7 2014-04-09 22:52:30 +02:00
nowrep
a560b7f498 [TabWidget] Make sure current tab is loaded on session restore
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.

Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
bfcae43c21 [WebTab] Don't show "Loading.." on empty tabs
[ci skip]
2014-04-08 14:41:30 +02:00
David Sterba
683ec42736 [BrowserWindow] Enable single key shortcuts
Translate single keys to shortcuts:

1 - previous tab
2 - next tab
(basic Opera compatibility)

There are more to choose from, but 1 and 2 are probably the most used.
Full list:
http://help.opera.com/Windows/9.50/en/keyboard.html#single-key

Configurable in preferences/Keyboard shortcuts, off by default.

Closes #1172
2014-04-07 14:50:38 +02:00
nowrep
78ba3875d9 [IconTheme] Fixed setting fallback icon theme
Closes #1274

[ci skip]
2014-04-07 09:31:13 +02:00
nowrep
7824f3862e [Windows] Correctly fix building after 6473bace10 2014-04-07 08:25:07 +02:00
nowrep
6473bace10 Fixed build after 39c9fec3dd 2014-04-06 15:36:52 +02:00
nowrep
6e18ee7502 [PageFormCompleter] Try to be extra cautious with QWebFrames
This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage

[ci skip]
2014-04-06 15:13:07 +02:00
S. Razi Alavizadeh
39c9fec3dd [Windows] Fixed compile issues after aa248893 and 7f3d8ee7 2014-04-06 17:38:36 +04:30
nowrep
463fa96e04 [Build] Fixed building with Qt5 2014-04-06 13:50:09 +02:00
nowrep
db664184d0 [AdBlock] Improved performance of loading rules
Don't use regexps for parsing rules.
Added benchmark for loading subscriptions

Before:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     596.3 msecs per iteration (total: 2,982, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********

After:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     481.8 msecs per iteration (total: 2,409, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********
2014-04-06 13:36:42 +02:00
nowrep
1b01e7469f [MouseGestures] Bump plugin version
[ci skip]
2014-04-05 17:54:26 +02:00
David Sterba
3360f17735 [MouseGestures] Configurable mouse gesture button
UI changes:
* the Settings dialog offers a combo box to select left and right
  mouse buttons, or disable the gestures completely
* changes are permanently saved
* OK button is added

Closes #386
Closes #1280

It is now also possible to enable/disable rocker navigation.

Closes #1234
2014-04-05 17:46:05 +02:00
nowrep
f69c8645fb [MouseGestures] Implement "Rocker navigation"
Left+Right click - Forward
Right+Left click - Back

It is currently disabled by default and there is no GUI to enable it.
2014-04-05 17:04:41 +02: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
nowrep
41ff89c3dd [WebView] Added option to force context menu to be opened on mouse release
This is needed for mouse gestures to be able to use right mouse button.
See #1280
2014-04-05 13:20:21 +02:00
Mladen Pejaković
297090692f [Speller] Detect and properly display script variant
[ci skip]
2014-04-04 17:26:50 +02:00
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +02:00
nowrep
b7016a70ee [PopupWindow] Fixed edit actions in menu
WebView now has all edit-functions as public signals, so we can
connect it directly (instead of triggering page action in separate
slot in PopupWindow)
2014-04-04 17:09:04 +02:00
nowrep
5c2c90ae6d [WebTab] More cleanup in detach/attach code.
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
61c1b8d8a1 [Cookies] Renamed Match Domain exactly to Filter 3rd party cookies
Closes #1277

[ci skip]
2014-04-03 10:19:11 +02:00
nowrep
7469aced65 [Cleanup] Deleted unused ActionCopy class
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
34eeea4d58 [WebInspector] Propagate hideEvent only when closing inspector 2014-04-01 16:34:47 +02:00
nowrep
551ccd6e3c [BrowserWindow] Make sure window is created with at least one tab 2014-04-01 16:34:08 +02:00
nowrep
84f117e68e [AutoScroll] Fixed AutoScroll plugin after recent commits
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
7369e86a0a [SearchAction] Don't block Ctrl+F shortcut from pages
It is now possible to search in WebInspector with Ctrl+F

[ci skip]
2014-03-31 18:03:35 +02:00
nowrep
2d9dfa9db7 [WebInspector] WebInspector is now displayed inside WebTab
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
nowrep
ed823d4d50 [ClosedTabsButton] No longer needed to have two copies of button
ClosedTabsButton is now permanent right corner widget
2014-03-31 11:50:07 +02:00
nowrep
5c8afde4d9 [Crash] Fixed crash in BrowserWindow::event
Closes #1273
2014-03-31 10:01:04 +02:00
nowrep
bfe08409b4 [PrivateBrowsing] Show PrivateBrowsing indicator as left corner widget in tabbar
Removed PrivateBrowsing icon in Status Bar
2014-03-31 09:50:54 +02:00
nowrep
da6ccdcee5 [ComboTabBar] Draw TabBarBase also on parts that are not QTabBar
Draw TabBarBase on left/right corner widgets and left/right scroll
buttons.
2014-03-31 09:47:47 +02:00
S. Razi Alavizadeh
b26d9b06ab [ComboTabBar] Fixed right scroll button being hidden on resize
When resizing window and triggering overflow, right scroll button
was hidden until the next resize event.
2014-03-30 16:42:13 +02:00
nowrep
b95da97904 [BrowserWindow] Move TabBar into NavigationContainer
Simplifies entering/leaving fullscreen, as it is only needed to
update visibility of the whole container.
2014-03-30 16:38:34 +02:00
nowrep
6e71ae3c54 [ClosedTabsManager] Save icon of closed tab
Instead of searching icon from database, save the icon of tab.
It will now correctly shows icon of not-yet loaded closed tab if
the url was not in database.
2014-03-30 12:47:13 +02:00
nowrep
a059c005ff [SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
d6625c60fb [SBI_Icons] Update JavaScript icon state on startup 2014-03-29 15:48:50 +01:00
nowrep
9c67d874e7 [Translations] Updated plugins translations 2014-03-29 15:47:38 +01:00
nowrep
6812e020d6 [Qt5] Fixed hiding close button on current tab when dragging it
[ci skip]
2014-03-29 13:02:39 +01:00
nowrep
e598ee1230 [CaBundle] Updated ca-bundle.crt
[ci skip]
2014-03-27 22:32:41 +01:00
nowrep
543c3b8732 [Translations] Try to load Qt (qt_*.qm) translations from Qt path
Also removed all qt_*.qm translations that are part of official Qt
distribution.
2014-03-27 11:53:09 +01:00
Javier Llorente
458f6fecf0 [DownloadItem] Add date of completed download
[ci skip]
2014-03-26 16:20:43 +01:00
nowrep
9c7d6e9795 [BookmarksToolbarButton] Final fix for rendering issues with various styles
It now works correctly with Windows, Gtk+, Oxygen and Fusion theme with
both Qt4 and Qt5.
The only theme that doesn't work correctly is Bespin, because it draws
icon size animation upon hover, but we are drawing the icon and text
manually. I think there is not much to do with it actually...
2014-03-26 10:11:30 +01:00
nowrep
525c4ff5cf [MainMenu] Create toolbars and sidebars menu to fix shortcuts
Shortcuts for sidebars are now available even before first showing
sidebars menu
2014-03-26 10:10:33 +01:00
nowrep
586a9d2242 [OxygenFallback] Correctly initialize fallback icon theme
For some reason, QIcon::hasThemeIcon does not work correctly.
2014-03-26 10:05:27 +01:00
nowrep
4305b59028 [ProgressBar] Use update() instead of repaint()
update() does not trigger repaint immediately. It helps with
speed of restoring crashed session (progressbar does not need to be
refreshed for every restored tab immediately).

The same change was made for SiteIcon in PopupLocationBar
2014-03-25 17:06:50 +01:00
nowrep
545b3f9c54 [SessionRestore] Set override busy cursor when restoring session
TabWidget: Delete WebTab in closeTab() with deleteLater

[ci skip]
2014-03-25 16:55:33 +01:00
nowrep
a284a7c864 [SiteIcon] Don't set :pressed state when popup is not shown
Popup will not be shown eg. on qupzilla: sites
2014-03-25 16:53:41 +01:00
nowrep
fcfe2999f7 [WebView] Delete m_page in destructor
This should fix rare crash when closing tab.

[ci skip]
2014-03-24 21:21:07 +01:00
nowrep
e1661a88b5 [ClosedTabsButton] Hide by default
[ci skip]
2014-03-24 18:13:37 +01:00
nowrep
b9891a815b [LinuxTheme] Deleted now unused icons
Also added "edit-find" icon to oxygen-fallback
2014-03-24 18:07:56 +01:00
nowrep
d4e9682db1 [SiteIcon] Don't flicker when opening site info popup
Make sure the Down state doesn't change between clicking on icon
and opening popup.

[ci skip]
2014-03-24 17:07:25 +01:00
nowrep
174b4e8218 [Unix] Don't register SIGPIPE handler
[ci skip]
2014-03-24 16:28:28 +01:00
nowrep
f7a88a82f7 [Oxygen-fallback] Added bookmark-new-list icon 2014-03-24 16:23:21 +01:00
nowrep
c182dd6f34 [Icons] Removed unused icons 2014-03-24 16:16:35 +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
3c0576fcfa [BookmarksToolbarButton] Improved rendering of bookmark button
It now correctly draws hover state. It now also supports shifting
contents for Down state
2014-03-24 12:51:42 +01:00
nowrep
a0dba6bd32 [BookmarksToolbarButton] Only fix down state rendering when button is folder
Eg. when the button has menu
2014-03-23 23:54:09 +01:00
nowrep
2e8c9f690e [SiteIcon] Support :pressed state for style sheets 2014-03-23 23:53:51 +01:00
Javier Llorente
539ade15b8 add es_ES language translated 2014-03-23 13:50:15 +01:00
nowrep
e10126d2a9 [TabWidget] Fix showing empty tab title when adding new tab
Regression from recent commits
2014-03-22 23:59:38 +01:00
nowrep
64b53baee3 [TabbedWebView] No need to override stop() method 2014-03-22 22:18:28 +01:00
nowrep
db2d879717 [WebHistoryWrapper] Removed unused WebHistoryWrapper class 2014-03-20 09:11:19 +01:00
S. Razi Alavizadeh
0b4be9055e [Windows] Fixed inserting QUnicodeControlCharacterMenu to contextmenu. 2014-03-20 01:14:36 +03:30
nowrep
e36697eedf [SearchEngines] Support for loading POST engines from LocationBar
Added new class LoadRequest, that holds network request with its
operation type and POST data.
2014-03-19 21:27:43 +01:00
korwru
d247fd9f74 Fix msvc compile issue m_navigationBar undeclared identifier 2014-03-19 15:38:14 +04:00
korwru
a1e849fd9a Fix msvc compile error m_usingTransparentBackground undeclared
identifier
2014-03-19 15:32:30 +04:00
korwru
2097ce08d3 Fix msvc compile issue with datapaths 2014-03-19 15:22:16 +04:00
korwru
75040eace2 Fix msvc compile issue in mainapplication use of undefined type
RegisterQAppAssociation
2014-03-19 15:14:01 +04:00
korwru
a4588a0c28 Fix msvc compile issue in tabwidget. 2014-03-19 15:01:53 +04:00
K0r5hun
8e0d849e01 Fix compile issue with plugins on msvc. 2014-03-19 14:38:16 +04:00
nowrep
f042ba9b88 [TabBar] Fixed showing 2 AddTab buttons when tabs overflows 2014-03-18 20:38:30 +01:00
nowrep
cbc3f4f875 [DuckDuckGo] Use new icon for DuckDuckGo search engine 2014-03-18 20:10:19 +01:00
nowrep
3d23f3eb02 [WebTab] Move more code into WebTab, instead of handling in TabWidget/TabBar
This also fixes showing tab icon after detaching tab
2014-03-18 20:00:34 +01:00
nowrep
27a3781ed0 [ComboTabBar] Move right/left containers to ComboTabBar class
It is now possible to set corner widgets of all tabbar, not only
main tabbar.
2014-03-18 17:35:44 +01:00
nowrep
96b6743ac6 [ClosedTabsButton] New button in the right corner of tabbar
Added icon for Linux theme.
But it needs a new icon for other themes...
2014-03-17 15:04:58 +01:00
nowrep
b3c40e6281 [SiteIcon] Correctly show first site icon 2014-03-17 11:04:26 +01:00
nowrep
5b6b6c6eaf [LoadingAnimation] New loading animation
Instead of using QMovie with GIF, one PNG file with all
frames is now animated.
Fixes issue with bad transparent background of previous GIF
animation.
2014-03-17 10:43:18 +01:00
nowrep
ebd501c9cd [SiteIcon] Show icon with small delay (100ms) 2014-03-17 09:08:36 +01:00
nowrep
a9eba60da2 [LocationCompleter] Pause updates when removing items from completer
Also adjust the size of popup after removing items + close it after
removing last item.
2014-03-16 17:24:10 +01:00
nowrep
20cd658274 [ProfileManager] Fix currentProfile() cutting last char of profile name 2014-03-16 15:31:19 +01:00
nowrep
b9c58b14b3 [AutoScroll] Force ArrowCursor when scrolling 2014-03-16 14:56:09 +01:00
nowrep
f9f74f3642 [LocationBar] Always show site icon in 16x16px 2014-03-16 14:33:56 +01:00
nowrep
e6baa54179 [Qt5] Fixed QIODevice::not open warning message 2014-03-16 14:30:59 +01:00
nowrep
43cb2d6b27 [LocationBar] Fixed crash in setGoIconVisible. Always check for m_webView 2014-03-16 13:56:27 +01:00
nowrep
dbec199ea8 Fixed building with Qt5 2014-03-16 13:55:37 +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
d464d9bdef [LineEdit] Create context menu in LineEdit
Instead of code duplication in LocationBar and WebSearchBar, create
the context menu from LineEdit.
Also actually create the menu, not just re-use the standardContextMenu.
2014-03-16 13:06:38 +01:00
nowrep
a701079d27 [LocationBar] Cleanup code + fixed showing rss icon 2014-03-16 12:12:49 +01:00
nowrep
6e53add7d7 [LocationBar] Set cursor position at start when showing long url
Also disable animations for Oxygen style, it breaks when changing
text to completely different one (eg. loading foo.com and then bar.com)
and the url is too long to fit in line
2014-03-16 11:21:24 +01:00
nowrep
caabbc237f [LocationBar] Tweaked Linux theme. No longer hardcode height
It is now specified only minimum height.
Fixes issue with locationbar being too small with bigger fonts.
2014-03-16 09:38:28 +01:00
nowrep
23a599ed75 [ComboTabBar] Fixed double clicking on scroll buttons with Qt5 2014-03-15 23:46:10 +01:00
nowrep
72904a80c3 [LocationBar] Major cleanup. New code to change color of text parts
The code to change color of host of url is completely new.
It doesn't use any paint hacks anymore. That means text in
locationbar will now be always rendered pixel perfect, as it would
with normal QLineEdit.

Cleanup in LocationCompleter. It is now using QCompleter in inline
mode to complete domain. It is still not ideal, eg. it refreshes
and show the domain completion with delay (job run in separate thread),
and sometimes it misses it completely.

WebSearchBar: Always complete when receiving suggestions. Fix issue
when suggestions were only showed after typing at least 2 characters.
2014-03-15 23:22:35 +01:00
nowrep
9c7e9a1396 Fixed building with Qt 4 2014-03-15 20:20:39 +01:00
nowrep
c395f19524 [BrowserWindow] Create shortcuts with QShortcut instead manually in keypress
This fixes eg. Ctrl+W writing W in locationbar
2014-03-15 19:58:19 +01:00
nowrep
7e57cb63f5 [LocationCompleter] Run completions search in separate thread
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.

Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
8069573f08 [Crashlogs] Fix showing bad path when saving crashlogs
Regression from recent DataPaths commits
2014-03-15 19:16:58 +01:00
nowrep
0a622e325c [SqlDatabase] New implementation, hold connections for threads
Instead of using worker thread, use multiple threads with QtConcurrent,
and hold database connections for each thread.
2014-03-15 19:16:50 +01:00
nowrep
688e021fff [DatabaseWriter] Replace with new SqlDatabase class 2014-03-15 01:14:06 +01:00
nowrep
167ae2af50 [SqlDatabase] New class allowing to exec Sql queries in separate thread
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +01:00
nowrep
16ff847a8b [Session] Use the same session with both Qt4 & Qt5
The issue with incompatible session were only with first alpha
releases of QtWebKit 2.3
2014-03-14 14:08:38 +01:00
nowrep
a2de6e1627 [ShowStatusBar] Fixed settings to show/hide Status Bar
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
fbafd56e90 [CaBundle] Update bundle + fix make_ca_bundle.sh script
make_ca_bundle.sh was actually appending all certs to the file.
As a result, there were duplicated certificates after multiple runs
of the script.
2014-03-14 12:27:10 +01:00
nowrep
83bb7c757c [CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow 2014-03-13 17:06:08 +01:00
nowrep
bd0cc0e121 [Crash] Fixed crash after closing some tabs (eg. GMail)
QWebPage::networkAccessManager should be cleared in destructor, to avoid
using it after it was already deleted

This is regression from recent commits
2014-03-13 16:15:23 +01:00
nowrep
b4d2ced60f [CodeCleanup] Cleanup Mac #ifdefs 2014-03-13 15:58:39 +01:00
nowrep
b52a84da3c [CreatingWindow] Don't disable updates when creating browser windows 2014-03-13 13:38:14 +01:00
nowrep
ae511eaa6c [Toolbars] Fixed toggle show Status Bar action
Closes #1259
2014-03-13 13:36:57 +01:00
nowrep
50e8bb071f [NetworkCache] Fix path for network cache 2014-03-13 12:53:19 +01:00
nowrep
34bb2a2097 [WebInspector] Use TabWidget::currentChanged(int) signal and check for invalid tab
TabWidget::currentChanged(int index) can be emited with  index == -1,
which means there are no tabs in tabbar. This may lead to crash after
accessing current webview (null)
2014-03-13 12:52:55 +01:00
nowrep
ea60478160 [Toolbars] Fixed possibility to hide both Navigation Toolbar and Menu Bar
If both Navigation Toolbar and Menu Bar are hidden, there is no way
to access Preferences and other actions from menu.
2014-03-13 12:31:08 +01:00
nowrep
9a6bb0444d [TabBar] Make sure adding new background tab make it visible in tabbar 2014-03-13 12:10:58 +01:00
nowrep
9fda55d86d [StatusBarIcons] Fixed crash when restoring session
All icons have now same parent SBI_Icon
2014-03-13 12:06:28 +01:00
nowrep
d2528417d1 [CodeCleanup] Removed all disconnectObjects() methods
I don't think we need this hack anymore.
2014-03-13 11:24:19 +01:00
nowrep
07cf7036df [ComboTabBar] When removing tabs, don't use timer for enabling updates
Also fixed Show Site Info action in SiteInfoWidget
2014-03-13 11:11:52 +01:00
nowrep
d109159408 [CloseOnLastTab] Instead of blocking closing tab, load new-tab-url 2014-03-13 11:11:15 +01:00
nowrep
22452aa825 [CloseOnLastTab] Changed behavior of "Don't quit upon closing last tab" option
It is now "Don't close window upon closing last tab", as it is more
reasonable to bind it to window, not the whole app.

Instead of loading the url-on-new-tab, it now simply blocks closing last
tab
2014-03-12 22:31:33 +01:00
nowrep
853e3905ee [Crash] Fixed crash after closing first app window
Always create BrowserWindow with MainApp::createWindow (even in MainApp
constructor).
Regression from recent commits.
2014-03-12 21:36:34 +01:00
nowrep
493edfc655 [AdBlockRule] Save some memory with dynamic allocation and removing member variables
m_regExpStrings are now also dynamically allocated only for RegExp rules
m_cssSelector is now merged with m_matchString (m_matchString was empty
for Css Rules)
2014-03-12 13:25:12 +01:00
nowrep
d3e8cbac97 Fixed building after recent commits
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
4fb58a6202 [Strings] Small changes in translation strings
Always use HTML in caps + don't translate file filters (.html here)
Use "Import and Export" everywhere
2014-03-10 21:37:20 +01:00
nowrep
34cb20e82a Updated translations 2014-03-10 20:55:31 +01:00
David Rosca
c580d4167b Merge pull request #1256 from pejakm/srtrans
[Translations] Update Serbian language
2014-03-10 20:43:37 +01:00
Mladen Pejaković
ecfc987b4f [Translations] Update Serbian language 2014-03-10 19:47:27 +01:00
nowrep
5ca0073410 [Translations] Fixed loading translations
Regression from recent commits
+ more cleanup
2014-03-10 19:41:44 +01:00
nowrep
e827249f50 [MainMenu] Added MainMenu class that holds all menu actions of window
All actions are now saved in QHash with name, this will make possible
to implement own keyboard shortcuts for actions.
+ WIP cleanup of BrowserWindow class
2014-03-10 16:55:11 +01:00
nowrep
fb2629898b [TabBar] Don't draw base. Should help with Qt5 Fusion style
Also small changes in MainApplication
2014-03-10 09:38:16 +01:00
S. Razi Alavizadeh
d14655a3ab [ComboTabBar] Don't emit overflowChanged when not necessary 2014-03-10 09:36:37 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
969f262cf8 [DataPaths] Don't add trailing slash to paths
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +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
985db8a35d [AdBlockManager] Use Q_GLOBAL_STATIC for AdBlockManager 2014-03-09 12:54:23 +01:00
nowrep
a3c3dead87 [CodeCleanup] Get rid of Qz::AppMessage enum 2014-03-09 12:54:07 +01:00
nowrep
a61ce67d7c [SpellCheck] Cleanup: Speller class is now singleton
All spellcheck is now where it belongs, under spellcheck directory
2014-03-08 14:21:08 +01:00
nowrep
0e9fcc2113 [Building] Fixed building on Qt 5 & without Hunspell
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
875d48b580 [Bookmarks] Save bookmarks after restoring defaults 2014-03-07 23:21:06 +01:00
nowrep
9764cea3a3 [ToolButton] ShowMenuInside option needs own aboutToShowMenu signal 2014-03-07 23:20:31 +01:00
nowrep
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
fdf4fcc54e [main.cpp] SIGPIPE is not needed to be handled in signal_handler 2014-03-07 18:57:42 +01:00
nowrep
f558a836b0 [Code] Create singletons with Q_GLOBAL_STATIC macro 2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
e0780b7779 [CookiesTest] Make the test pass after last commit 2014-03-06 17:07:58 +01:00
nowrep
d0d1fa1844 [Session] Save session to QByteArray and then write it to file
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.

Closes #1247
2014-03-06 16:18:58 +01:00
nowrep
f33552320f [AutoSaver] Rework AutoSaver so each object can use own instance
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.

Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
nowrep
c0311d7ee8 [Building] Include defines.pri after Qt modules are added
Fixes regression from 74883f8af4
Closes #1253
2014-03-05 19:00:53 +01:00
nowrep
74883f8af4 [Building] Use QZ_DESTDIR variable for $SRC/bin directory
Should fix problems with shadow builds.
Closes #1252
2014-03-04 15:14:19 +01:00
nowrep
688455158c [Bookmarks] HtmlImporter: Fixed filter for html files
See #1228
2014-03-04 14:16:58 +01:00
nowrep
29f20ae520 [Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options 2014-03-03 15:08:52 +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
82ca226127 [Code] Use QTime::elapsed() for timing 2014-03-03 12:55:35 +01:00
nowrep
12948cd0a4 [DNT] Enable sending DoNotTrack header by default 2014-03-02 22:42:10 +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
5ad76995a2 [BookmarksSidebar] Enable only SingleSelection in sidebar 2014-03-01 14:06:44 +01:00
nowrep
b826ebc52a [LocationCompleter] Support Ctrl / Shift activation of items
Ctrl activation: Opens url in new tab
Shift activation: Opens url in new window
Closes #1245

Bookmarks: Update visit count also from location completer
BookmarkItem: Added new method updateVisitCount
2014-03-01 14:05:44 +01:00
Mladen Pejaković
8f9f187b80 Fix regression after 2a6896e57f 2014-03-01 00:22:55 +01:00
Mladen Pejaković
b18ac632df [HistoryMenu] Improvements 2014-02-28 21:12:25 +01:00
nowrep
a9bce8c775 [Code] Moved history menu into separate HistoryMenu class 2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
3650aac9ff [Code] Little cleanups after rename QupZilla -> BrowserWindow 2014-02-26 19:55:49 +01:00
S. Razi Alavizadeh
84ef3e9fda Fixed, renamed QupZilla class to BrowserWindow everywhere 2014-02-25 22:06:13 +03:30
nowrep
b6181315f7 [AdBlock] Don't add domain css rules to sites whitelisted with $document option
Closes #1246
2014-02-25 12:12:27 +01:00
nowrep
4133106988 [PinnedTabs] Restore pinned tabs also when not restoring session
Closes #1239
2014-02-24 11:38:18 +01:00
Mladen Pejaković
9b7ecf1d12 [TabBar] Comment fix 2014-02-23 14:54:22 +01:00
Mladen Pejaković
5d23a21f37 [TabBar] Option to show/hide close button on inactive tabs. Closes #1220 2014-02-23 14:49:32 +01:00
nowrep
7d98a162d6 [Code] Fixed cppcheck issues 2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d Open links in private window. 2014-02-22 14:57:22 +01:00
nowrep
eb9b2635d5 [ButtonWithMenu] Fixed selectPreviousItem not selecting first item 2014-02-20 17:06:21 +01:00
nowrep
77e8afb5ec [Bookmarks] Force icons visible in bookmarks menu
For example, Gnome3 has icons hidden in menu by default

Closes #1215
2014-02-20 16:56:08 +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
118478351f [AutoScroll] Set window title of settings dialog 2014-02-19 21:39:34 +01:00
nowrep
c7cf42f0a4 [AutoScroll] Set minimum value of divider to 1.0 2014-02-18 17:52:20 +01:00
nowrep
47fe951001 [Translators] Added Juan Carlos Sánchez into translators 2014-02-18 17:50:55 +01:00
nowrep
a4541da935 [Plugins] Updated translations 2014-02-18 17:23:14 +01:00
nowrep
1f7628ff05 [AutoScroll] Added settings - option to change scroll divider value 2014-02-18 17:21:31 +01:00
nowrep
65a47fd450 [LocationCompleter] Speedup searching in Bookmarks & History
See #1135
2014-02-18 16:17:22 +01:00
nowrep
7323fb1cad [AutoScroll] Add scrolling icons (from Oxygen cursor theme)
Also scroll timer interval is now 10 msecs, so scrolling will be a
little faster.
2014-02-18 15:16:03 +01:00
nowrep
e5240bcc8e [AutoScroll] Added AutoScroll plugin
I'm still looking for some icon. For now, only red square is shown.
2014-02-17 20:00:40 +01:00
David Rosca
22e195b621 Merge pull request #1218 from pejakm/sdfix
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-17 12:15:55 +01:00
nowrep
b8f8e3753f [Bookmarks] Added Export dialog + HTML Bookmarks Exporter 2014-02-17 12:13:26 +01:00
nowrep
daa3f07426 [FirefoxImporter] Support importing full bookmarks structure 2014-02-16 15:39:59 +01:00
Mladen Pejaković
091f4ab6a6 [SpeedDial] Fix overlay text input visibility with dark themes 2014-02-15 23:50:54 +01:00
nowrep
680ed27c22 [BookmarksImportDialog] Draw separators in imported bookmarks treeview 2014-02-15 22:18:11 +01:00
nowrep
763183be88 [OperaImporter] Support importing full bookmarks structure 2014-02-15 22:07:52 +01:00
nowrep
650558dea6 [ChromeImporter] Support importing full bookmarks structure 2014-02-15 20:53:03 +01:00
Mladen Pejaković
3eede1d8a2 Rework list of closed tabs 2014-02-15 18:49:48 +01:00
nowrep
5301495966 [BookmarksImport] Added back button to import dialog + other small changes
Also moved all bookmarks import classes to bookmarks/bookmarksimport
2014-02-15 01:49:12 +01:00
nowrep
09893f20b4 [BookmarksImport] Create new base BookmarksImporter class
Also moved all importers into bookmarks/import folder
2014-02-15 00:17:31 +01:00
nowrep
23b55d9158 [BookmarksImport] Show full structure of imported bookmarks
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
167e80f59a [SaveSettings] Don't save settings twice on app close 2014-02-14 20:29:41 +01:00
nowrep
d422ce3767 [Models] Decrease the delay for filtering to 300ms 2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec [Cleanup] QTimer::start() restarts timer if it is already running 2014-02-14 19:31:35 +01:00
nowrep
a99f954930 [ReloadStopButton] Instead of pausing updates, only update the button after delay 2014-02-14 19:28:41 +01:00
S. Razi Alavizadeh
35f1799e59 [ComboTabBar] Fix tabAt function for RTL languages 2014-02-14 18:48:16 +01:00
nowrep
907386b921 [Sslv3Sites] easylist-downloads.adblockplus.org shouldn't be there 2014-02-14 10:53:19 +01:00
nowrep
94c32ae235 [FreeBSD] Link to execinfo 2014-02-14 10:51:27 +01:00
nowrep
363cd01016 [AdBlockDialog] Show error if subscription can't be loaded 2014-02-14 10:38:43 +01:00
nowrep
4aa4864c06 [OS/2] Fixed build of StatusBarIcons 2014-02-13 22:16:32 +01:00
nowrep
9ae0352548 [SslV3Sites] Added possibility to change list of sites in settings.ini
In settings.ini: Web-Browser-Settings/SSLv3Sites

Also added sermapa.es to default list
2014-02-13 20:46:15 +01:00
nowrep
d005505dba FreeBSD build patches
Imported from http://svnweb.freebsd.org/ports/head/www/qupzilla/files/
See #1206
2014-02-13 20:17:57 +01:00
nowrep
156a14dfb6 [Windows] Use %LOCALAPPDATA% only if user doesn't have config in older paths 2014-02-13 20:17:57 +01:00
nowrep
84eea976c2 [Building] Fixed building on OS/2 2014-02-13 20:17:56 +01:00
nowrep
a22b40db9d Updated translations from Transifex 2014-02-13 17:06:15 +01:00
nowrep
5e131033e6 [Flicker] Another set of flicker patches
Old approach caused navigationbar to be empty for a moment while
opening a lot of tabs at once
2014-02-13 17:06:09 +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
851e19ce01 [Bookmarks] Fixed assert when migrating bookmarks
Assert when user had bookmark with folder that doesn't exists
Also save bookmarks as soon as they are migrated

Closes #1213
2014-02-13 16:35:52 +01:00
S. Razi Alavizadeh
b880a920ff [Windows] Fixed PROFILEDIR when using Qt4. 2014-02-13 17:23:20 +03:30
nowrep
fa091d77f2 [ComboTabBar] Fixed drawing tabbar with only pinned tabs
Regression from e2dcf4d525affddf280ff1dfd36468a782fa3332
2014-02-13 14:48:02 +01:00
David Rosca
14923a728e Merge pull request #1210 from javierllorente/recoverywidget
make 'Windows and Tabs' a translatable string
2014-02-13 03:13:10 +01:00
nowrep
884cde6abf [LocationBar] Don't ever set cursor location to start
Probably fixes #1212
2014-02-13 02:41:13 +01:00
Javier Llorente
49d9889fcd make 'Windows and Tabs' a translatable string 2014-02-12 17:46:11 +01:00
S. Razi Alavizadeh
f52d5fa234 [Themes][RTL] Use correct icons for tabbar scroll buttons.
- also fixed compile issue on Windows.
2014-02-12 19:41:05 +03:30
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
f5955c7b92 [Window] Disable updates when showing/hiding toolbars 2014-02-12 14:23:23 +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
96b5ec1c50 [NewTabFlags] Fixed incorrect usage of Qz::NewTabPositionFlags 2014-02-12 13:49:48 +01:00
nowrep
79cd4e381d [TabTooltips] Fixed tooltips disappearing on (un)pinning tabs 2014-02-12 12:11:09 +01:00
nowrep
801284eda0 [BookmarksToolbar] Don't hardcode height of buttons
Also don't "hide" (=resize only to layout spacing * 2) toolbar
when there is no bookmark in it.
2014-02-12 11:42:01 +01:00
nowrep
9eb36830b2 [TabPreview] Disable tab previews by default
They are too intrusive, so don't force them by default
2014-02-12 11:28:18 +01:00
nowrep
9b6db07b9c [BookmarksToolbar] Fixed window flicker when showing toolbar 2014-02-12 11:26:02 +01:00
nowrep
896ab6bac9 [Shortcuts] Ctrl+W shortcut no longer closes a pinned tab
Pinned tab can now only be closed from tab context menu
2014-02-12 11:16:57 +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
dc6f71a1b8 [Preferences] Update default settings on some options
TabsOnTop: Enabled by default
DontLoadTabsUntilSelected: Enabled by default
AfterLaunch: Restore session is now default
2014-02-11 15:44:47 +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
d4d31d2daa [Bookmarks] Improved drawing of separator
Instead of QFrame::Line, use actual ToolbarSeparator.
Also add separator into toolbar for default bookmarks.json
2014-02-11 15:33:02 +01:00
nowrep
2105b48ca4 [ListItems] Fixed drawing of ListItems with Qt5 Fusion style 2014-02-11 14:54:18 +01:00
nowrep
6d7761ebe9 [BookmarksTreeView] Show focus on whole row, not each column separately 2014-02-11 14:34:02 +01:00
nowrep
22f523da4a [SearchEngines] Correctly set DuckDuckGo as default engine 2014-02-11 14:17:21 +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
3d2f2ff8fb [BookmarksToolbar] Clear button's mouseouver state after closing menu 2014-02-11 10:24:44 +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
c1293fca3f [Windows] Use %APPDATA% for PROFILEDIR
Also show warning message when using deprecated config path ~/.qupzilla
2014-02-11 09:40:47 +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
4e8c0adbad [LocationBar] Don't incorrectly show about to be loaded url when it was not accepted
It can happen for example when trying to change address on a page that
handles window.onbeforeunload event
2014-02-10 21:58:25 +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
0b8b969535 [Bookmarks] Fixed migrating bookmarks
Folders in unsorted bookmarks were lost during migration
2014-02-10 21:12:08 +01:00
nowrep
018d7ec098 [MinGW] Some fixes for MinGW building 2014-02-10 20:49:54 +01:00
nowrep
d91e6ef5a7 [ComboTabBar] Fix flickering when (un)pinning tabs 2014-02-10 20:06:09 +01:00
nowrep
ea7237b90e [Downloads] Make sure to always add slash '/' between path and filename 2014-02-10 19:57:02 +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
818afc1398 [ClosedTabs] Fixed saving closed tabs after 1fd1691ee2 2014-02-10 19:27:58 +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
b88bbe4fc8 [WebView] Better window.onbeforeunload handling
Let's first quickly check whether window.onbeforeunload is not null,
and then try to load empty page.
Always loading empty page was quite heavy, because it needed to clear
all web contents, it also fired loading signals, ...
2014-02-10 18:38:47 +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
a19164c1f9 [Bookmarks] Final cleanup 2014-02-10 17:55:05 +01:00
nowrep
283960f33e [Bookmarks] Added default bookmarks.json file
Default browsedata.db now also contains icons for default bookmarks.
2014-02-10 17:51:52 +01:00
nowrep
c39c8d66fb [BookmarksToolbar] Dropping url on folder adds bookmark to this folder
Also allow to drop only url (when text in MimeData is missing)
2014-02-10 17:13:19 +01:00
nowrep
75f3460a27 [Bookmarks] Automatically migrate bookmarks from SQLite to JSON 2014-02-10 16:58:43 +01:00
nowrep
ad615316c8 [Bookmarks] Cache bookmark's icon for 20 seconds
BookmarksToolbarButton: Draw button according to BookmarkItem, not
text and icon properties
2014-02-10 16:03:29 +01:00
nowrep
338a6f991e [BookmarksSidebar] Activate bookmarks on mouseRelease
So it doesn't interfere with bookmarks reordering
2014-02-10 15:09:51 +01:00
nowrep
1d822d3a03 [Bookmarks] Importing bookmarks now works
It will however need a complete rewrite, the code is really bad.
HtmlImport: Supports importing bookmarks with full structure
2014-02-10 14:57:48 +01:00
nowrep
284e58ebca [Bookmarks] Cleanup in Bookmarks class 2014-02-10 12:58:34 +01:00
nowrep
6ab92b39bc [Bookmarks] Bookmarks Toolbar is now working 2014-02-10 11:54:58 +01:00
S. Razi Alavizadeh
1c8b25fbb7 [Mac] Fixed toggleFullScreen 2014-02-10 04:31:42 +03:30
nowrep
946354a15d [Bookmarks] Load default bookmarks on error 2014-02-09 18:55:11 +01:00
nowrep
b915439ba6 [Bookmarks] Activate bookmarks with single click in Sidebar 2014-02-09 18:53:21 +01:00
nowrep
9a5a795449 [LocationCompleterModel] Simplify createQuery function
It is no longer needed to search for bookmarks in database
2014-02-09 17:35:43 +01:00
nowrep
b3c4d5d8da [Bookmarks] Draw separators in BookmarksTreeView 2014-02-09 17:27:55 +01:00
nowrep
549e20a31d [Bookmarks] Implement searching in BookmarksTreeView 2014-02-09 15:44:38 +01:00
nowrep
395b865d55 [Bookmarks] Various smaller changes
BookmarksTreeView: Select & ensure visibility of newly added bookmark
BookmarksTools: Added function to open folder in tabs
LocationCompleterModel: Removed bookmarks bits in createQuery
QupZilla: loadAddress now opens new tab if current tab is pinned
2014-02-09 15:09:04 +01:00
nowrep
d21d6c43a0 [ComboTabBar] Fixed flickering when removing tabs from tabbar 2014-02-09 14:26:03 +01:00
nowrep
83b8b0b666 [Bookmarks] LocationCompleter now works
BookmarkItem: Added counting of bookmark's visits
2014-02-09 13:34:52 +01:00
nowrep
877eefec22 [Bookmarks] Clean dead code in Bookmarks & TreeWidget 2014-02-09 12:43:06 +01:00
nowrep
2ea155560a [Bookmarks] Removed BookmarksTree and renamed BookmarkIcon -> BookmarksIcon 2014-02-09 12:22:49 +01:00
nowrep
1f4272e45e [Bookmarks] BookmarksIcon & PopupWidget are now working 2014-02-09 12:18:52 +01:00
nowrep
511a6e1cd7 [Bookmarks] BookmarksSidebar is now working 2014-02-09 11:02:51 +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
a805f19f13 [Bookmarks] Add bookmarks dialogs are now working 2014-02-08 23:01:01 +01:00
nowrep
1536cd0c46 [Bookmarks] Save bookmarks with AutoSaver
Also implement loading & saving expanded property of top-level
internal folders (toolbar, menu, unsorted).
2014-02-08 21:11:13 +01:00
Javier Llorente
d00fdd007b Use up/down arrows instead of back/forward on search toolbar 2014-02-08 20:33:15 +01:00
nowrep
9348f1d4fc [Bookmarks] BookmarksManager now supports adding & removing bookmarks 2014-02-08 20:01:07 +01:00
nowrep
92aedc3e0f [Bookmarks] BookmarkItem: Added convenience functions isType 2014-02-08 18:28:01 +01:00
nowrep
8c3623e633 [Bookmarks] BookmarksManager now uses new BookmarksTreeView 2014-02-08 18:14:38 +01:00
nowrep
181de48f68 [Bookmarks] Added BookmarksTreeView class 2014-02-08 18:14:20 +01:00
nowrep
da970b274d [QJson] Check for QJson headers in /usr/include/qjson
Also hopefully fix the QJSON_HAVE_INDENT check
2014-02-08 00:47:03 +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
371306cd3c [Code] Various cleanups in Bookmarks code 2014-02-05 17:52:14 +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
8f5c422759 [AdBlock] Fixed incorrect handling of non-trivial exception rules
News are loading fine now on http://abcnews.go.com/
2014-02-05 14:28:44 +01:00
nowrep
98307a01dc [Mac] Disable building of QtWebKit-Plugins
It doesn't work as of now and we also don't have linking to hunspell
working either. So let's just disable it for now.
2014-02-04 23:21:19 +01:00
nowrep
f19110c302 [Mac] Disable DBus as it is not available in Qt 5 2014-02-04 23:04:06 +01:00
nowrep
f824a81da3 [ProfileUpdater] Don't overwrite settings.ini on incompatible profile data 2014-02-04 23:03:21 +01:00
nowrep
2261ed4b79 Fixed previous commit
Ooops, it should actually check the return value, not just ignore it...
2014-02-04 14:52:39 +01:00
nowrep
9fd168934e [coverity] Fixed Unchecked return value from library 2014-02-04 14:48:34 +01:00
nowrep
b2b6d198f7 [SearchEngines] Fixed issue with default engine when more engines have same name 2014-02-04 00:43:25 +01:00
nowrep
ffa1e0561f [OpenSearch] Added support for external.AddSearchProvider js function 2014-02-04 00:02:09 +01:00
nowrep
cb99a3154e [SpeedDial] Fix issues with loading a missing preview on load
Missing previews are now loaded after the page has been loaded (from
JavaScript code), instead of loading being started on generating
initial script (from C++ code)
2014-02-03 23:50:53 +01:00
nowrep
1a5fc6a1a1 [ExternalJsObject] Add window.external Js object to all pages
SpeedDial is now available with external.speeddial
2014-02-03 23:50:18 +01:00
nowrep
aa6aea1399 [coverity] Followup fixes
webview.cpp: Fixed pointer to local outside scope
bookmarksmodel.cpp: Unchecked return value
2014-02-03 00:29:51 +01:00
nowrep
5b55d5b483 Add build option to disable new version checking
Closes #1184
2014-02-02 16:21:48 +01:00
nowrep
cfddd6d4e1 [NetworkManager] Also add centrum.cz to SslV3 sites list 2014-02-01 22:45:48 +01:00
nowrep
ad1296e170 [NetworkManager] SSL workaround: use correct domain matching 2014-02-01 21:07:42 +01:00
nowrep
ee91727cb2 [NetworkManager] Use list of old servers that doesn't understand TLSv1 handshake
Force SslV3 for those old servers.

Closes #1176
Closes #1141
Closes #1080
2014-02-01 20:58:20 +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
0d2db81ffa OS/2 + Windows: Don't build KDE/Gnome password plugins.
OS/2: Correctly link to libcrypto
BUILDING: Make a note about gdb being requirement for debug build
2014-01-27 22:30:55 +01:00
Mladen Pejaković
77d10dbec7 [Translations] Serbian files update 2014-01-27 15:27:33 +01:00
nowrep
15844ceeab Fixed building 2014-01-27 00:31:48 +01:00
nowrep
a0117e6313 Updated copyright to 2014 2014-01-26 19:13:17 +01:00
nowrep
585da812dd Development version 1.7.0 2014-01-26 19:12:34 +01:00
nowrep
80e4575517 [Translations] Updated translations from Transifex
Also removed incomplete (less than 60%) translations
2014-01-26 18:46:45 +01:00
nowrep
3b097c8da1 [WebView] Bookmark Link action now uses a.title as bookmark title
Closes #1131
2014-01-26 11:21:53 +01:00
nowrep
142407be21 [WindowsJumpList] Add new entry "Open new private window"
Closes #1155
2014-01-25 22:06:19 +01:00
nowrep
b6683ab6b9 [DownloadManager] Change "Remove" -> "Remove From List"
Closes #1162
2014-01-25 21:57:05 +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
4a7423b02f [AdBlockDialog] Change AdBlockDialog to QWidget
Closes #1169
2014-01-25 20:06:08 +01:00
nowrep
d5ea5342cf [SBI_JsIcon] Fix after 36724df3a6
Closes #1174
2014-01-25 17:48:30 +01:00
nowrep
5230554943 [code] Coding style 2014-01-25 17:47:21 +01:00
nowrep
29b6b93dd4 [Portable] Portable mode can now be enabled with commandline option
It is not needed to rebuild for Portable mode.
However, it is still possible to enforce portable mode with
PORTABLE_BUILD build option.
2014-01-23 13:02:07 +01:00
nowrep
a1f9b784d7 [CommandLineOptions] New option to toggle fullscreen. 2014-01-22 17:34:25 +01:00
nowrep
a1a0764101 [CommandLineOptions] Change Qt url to qt-project.com 2014-01-22 17:11:17 +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
5c235f6775 [Buttons] Use QPushButton for buttons with menu everywhere 2014-01-22 15:39:32 +01:00
nowrep
8eea60fe6a [AdBlockDialog] Options button is now QPushButton
Qt renders better down icon indicating the button has menu
2014-01-22 15:31:42 +01:00
nowrep
31afc8aee6 [KWalletPasswords] Build only with Qt4.
Also show better error message when loading plugin fails
2014-01-21 23:53:45 +01:00
nowrep
b347d00479 [CloseDialog] Fixed string in window close dialog.
Are you sure to quit QupZilla -> Are you sure to close this window
2014-01-21 23:09:53 +01:00
nowrep
ebb81409ff [Preferences] Network cache value can now be 20-200 MB
Increase the maximum cache size. See #1139
2014-01-21 23:06:30 +01:00
nowrep
36724df3a6 [QupZillaPages] Always enable JavaScript for qupzilla: pages
Closes #1150
2014-01-20 12:46:39 +01:00
nowrep
354b9d1695 [Preferences] Lazy reload of MainApp preferences
Re-setting user stylesheet with a lot of AdBlock hiding rules
takes quite some time for QtWebKitSettings.
2014-01-18 11:41:08 +01:00
nowrep
c026594175 [WebView] Enable Undo/Redo actions in context menu by default 2014-01-17 21:45:33 +01:00
David Rosca
b3031671bc Merge pull request #1129 from pejakm/undoredo
[WebView] Option to add Undo/Redo menu actions to forms
2014-01-17 12:43:30 -08:00
nowrep
bcaecbdde1 [Translations] Correctly load translation for non-translated countries
Closes #1152
2014-01-17 21:39:02 +01:00
Mladen Pejaković
a15dc3e3d6 [BookmarksWidget] Fix translation string 2014-01-16 15:39:14 +01:00
Mladen Pejaković
aa83f23848 [RSSWidget] Ability to mark feeds already added 2014-01-12 17:47:59 +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
nowrep
bfe9331579 Added missing copyright to squeezelabel and sbi_proxywidget 2014-01-11 16:56:33 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Mladen Pejaković
47fee7b3b2 [Translations] Plural for number of opened tabs. Closes #1143 2014-01-09 22:53:01 +01:00
nowrep
2d2f198846 [TabBar] Show tooltips on tabs when tab previews are disabled 2014-01-09 10:22:06 +01:00
Mladen Pejaković
1cafad9ed4 [Autofill] Thematic changes 2014-01-08 16:59:21 +01:00
nowrep
d61b72bd87 [SearchShortcuts] Fixed using search shortcuts longer than one character 2014-01-08 10:39:41 +01:00
nowrep
0758ba39ab [LocationCompleter] Add option to enable/disable inline completion 2014-01-08 10:29:01 +01:00
Mladen Pejaković
aa13775cde [RSS] Fix compilation of RSSWidget. Closes 1134 2014-01-06 23:25:46 +01:00
nowrep
ce9316318f Added Kizito Birabwa into translators 2014-01-06 19:46:40 +01:00
Mladen Pejaković
27d4b05c2b [Speed Dial] Theme icons for context menu actions 2014-01-05 11:32:51 +01:00
nowrep
4e8b1839b4 [BookmarkIcon] Don't show popup on qupzilla: internal pages 2014-01-05 11:01:57 +01:00
nowrep
baa0677d3f Updated translations 2014-01-05 10:56:44 +01:00
nowrep
6604e28c36 Added Lasso Kante into translators (N'ko) 2014-01-05 10:42:33 +01:00
nowrep
a1f1d76404 [Copyright] Small string changes + 2014 copyright 2014-01-05 00:57:47 +01:00
Mladen Pejaković
3a3e7341a2 Thematic changes 2014-01-05 00:44:36 +01:00
Mladen Pejaković
6b5f62ecf3 [WebView] Option to add Undo/Redo menu actions to forms 2014-01-04 19:00:01 +01:00
nowrep
b891bf3914 Added Muhammad Fawwaz Orabi into translators 2014-01-04 11:17:47 +01:00
nowrep
d2d7d89893 [Preferences] Correctly shows name for N'ko language 2014-01-04 11:14:48 +01:00
nowrep
4cd8fc4557 [Building] Fixed building StatusBarIcons plugin on Windows 2014-01-03 20:30:39 +01:00
nowrep
daf210aa89 [Plugins] Build Gnome/KDE password plugins only on Unix platforms
Correctly disable building those plugins on Windows, Mac, OS/2, ...
2014-01-02 18:07:20 +01:00
nowrep
4565c63cb7 [defines.pri] Correctly use new GNOME_INTEGRATION build flag 2014-01-02 17:55:21 +01:00
S. Razi Alavizadeh
141f0bf142 Ability to run portable version together with installed version. 2014-01-02 20:01:12 +03:30
nowrep
9343da6ee7 [Plugins] Fixed building Gnome/Kde password integration plugins 2014-01-02 16:30:40 +01:00
nowrep
e6fe3ad917 [OS/2] Another OS/2 build fixes 2014-01-02 15:26:44 +01:00
S. Razi Alavizadeh
68cdba9e3a Fixed some small issues when re-loading settings. 2014-01-02 15:40:23 +03:30
nowrep
1fd1691ee2 Handle window.beforeunload event
Closes #1041
2014-01-02 12:09:04 +01:00
nowrep
93927dfa1e [TabPreviews] Do not show tab previews when they are disabled in prefences 2014-01-02 10:48:59 +01:00
nowrep
58a485fb6d [OS X] Fixed build on OS X
Closes #1122
2014-01-02 10:45:22 +01:00
nowrep
d58ad2e6a1 [OS/2] Build fix 2014-01-01 23:15:50 +01:00
nowrep
4e4e653f9f Version 1.6.0 2014-01-01 20:55:33 +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
4b75a98806 [WindowsTheme] Add extra icon for add-tab button when outside tabbar. 2014-01-01 18:23:56 +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
David Rosca
fecb681d24 Merge pull request #1118 from pejakm/expcoll
[Sidebar] Expand/collapse buttons for bookmarks sidebar
2014-01-01 06:18:11 -08:00
S. Razi Alavizadeh
7bd48d6674 [ComboTabBar] Don't scroll to current tab on window focus change 2014-01-01 15:15:26 +01:00
Mladen Pejaković
22880ade4e [Sidebar] Expand/collapse buttons for bookmarks sidebar 2014-01-01 12:29:19 +01:00
nowrep
252c55dd2b [SpeedDial] Raise maximum width of one dial to 450px.
See #1116
2013-12-31 18:39:02 +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
d695a8b99a [PageScreen] Remember last saved path 2013-12-30 13:35:02 +01:00
nowrep
eada3365c9 [QzTools] FileDialogs: Fix suggesting default filename 2013-12-30 13:15:20 +01:00
nowrep
d753e21a5c Revert "WebSearchBar: Select alls text + set focus after search engine changed."
This reverts commit 9ec85ad49d.
2013-12-30 12:06:08 +01:00
nowrep
6f4e236e6e [BookmarksImport] Show InternetExplorer only on Windows 2013-12-30 11:31:19 +01:00
nowrep
b1da23ca72 [Bookmarks] Added option to export bookmarks to HTML file. 2013-12-30 00:35:01 +01:00
nowrep
4265b90643 [TabPreviews] Another tab preview behavior tweak 2013-12-29 14:50:12 +01:00
nowrep
99a4559973 [ClearPrivateData] Ask user before actually deleting data. 2013-12-29 11:59:30 +01:00
nowrep
e78e0fe498 [TabPreviews] Only hide preview on LeaveEvent when cursor is outside tabbar.
For some reason, tabbar receives first leave event (after first preview
is shown) even when cursor is inside tabbar rect, which leads to this
first tab preview being shown -> hidden and then again shown.
2013-12-28 17:25:41 +01:00
nowrep
1b3c9e38ea [TabPreviews] Don't show tab preview when moving tab 2013-12-28 17:12:24 +01:00
nowrep
d52b0e2cea [OptimizeDb] Move Optimize Database link to ClearPrivateData dialog. 2013-12-28 16:55:08 +01:00
nowrep
271e78a6c9 [BrowsingLibrary] Fixed loading RSS feeds after first library window close. 2013-12-28 16:35:52 +01:00
nowrep
1808208f66 [WebView] Correctly replace \t in selected text 2013-12-28 15:26:56 +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
eb1f4f590d [WebView] Fixed GoogleTranslate urls 2013-12-26 21:26:30 +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
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
5af425aecc [WebView] Added new conetxt menu action for translating page
Also added icon for W3Validator.

Closes #860
2013-12-24 14:56:17 +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
4ed66114e7 [TabPreviews] Only show previews after a small delay of mouse at tab
Instead of showing previews on ToolTipEvent, which would be fired
immediately if moving from one tooltip to another, it now always show
preview after a set small delay.
This delay have been changed to 300 msecs from original 200 msecs.
2013-12-24 11:58:00 +01:00
nowrep
0038fd6cb6 [ComboTabBar] Double click on scroll buttons will scroll to end/start 2013-12-24 00:57:01 +01:00
nowrep
cf87a9895e [TabPreviews] Immediately hide preview when using mouse wheel in tabbar 2013-12-24 00:18:28 +01:00
nowrep
3bfa8cecaa [TabPreviews] Fix some small tab preview issues with ComboTabBar 2013-12-24 00:01:35 +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
6c747b3c36 [Coding style] It should be only one if statement... 2013-12-23 20:32:42 +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
ed8ec5ab4a [LocationBar] Fixed rendering selected text with visible popup completer. 2013-12-23 19:21:47 +01:00
nowrep
7e088d0f1d [Fix] Url with only query is valid too
mailto:?subject=foo should be treated as valid url too

Closes #1112
2013-12-22 00:46:00 +01:00
nowrep
ffd560142b Fixed showing "//" as receiver in Thunderbird form "Send page/link ..." actions
Instead of empty receiver address, just one space %20 is used.
2013-12-22 00:39:23 +01:00
nowrep
3295899230 Files with relative paths can now be opened from command line
Closes #1109
2013-12-18 17:51:38 +01:00
nowrep
af33f79c66 [Translations] Pulled all plugins translations from Transifex
*Passwords and StatusBarIcons were missing
2013-12-06 22:46:28 +01:00
nowrep
efe1d4d125 [Translations] Pulled plugins translations from Transifex 2013-12-06 22:32:58 +01:00
nowrep
d519a1253e [Sessions] Last 2 sessions are now backuped in profile directory.
Closes #1100
2013-12-06 21:26:07 +01:00
nowrep
5a550eb853 [Preferences] Move "Add .co.uk by pressing ALT" option under Keyboard Shortcuts
This option adds local domain (not necessarily .co.uk) by pressing ALT

Closes #1047
2013-12-05 21:22:56 +01:00
nowrep
586982e473 [Bookmarks] Fixed drag&drop moving folders into bookmarks toolbar
Closes #1097
2013-12-05 21:15:20 +01:00
nowrep
b4f0096f96 [Code] Add/Edit some comments 2013-12-05 19:52:13 +01:00
nowrep
0d5c86f8cd [UrlCompleter] Don't show same urls multiple times
Closes #1096
2013-12-05 19:49:32 +01:00
nowrep
5a7789bd17 [WebView] Edit isValidUrl method. All non-empty urls are valid now.
Fixes #1099
2013-12-05 19:18:11 +01:00
nowrep
43ab2e44f0 [StatusBar] Don't decode url of hovered link
Workarounds #1095
2013-12-05 18:45:11 +01:00
nowrep
4f3aba95ff [TabBar] Ask user before closing all other tabs.
Closes #1088
2013-11-21 18:37:59 +01:00
nowrep
a49e574f83 [WebSearchBar] Ctrl+Up/Down for changing search engines.
Closes #1090
2013-11-21 18:23:11 +01:00
nowrep
479df003a0 defines.pri: Set QMAKE_LFLAGS_RPATH when empty
Closes #1089
2013-11-19 20:09:59 +01:00
nowrep
2276a7f274 PageFormCompleter: Coding style
PageFormCompleter::getAllElementsFromPage doesn't need passing
QWebPage *
2013-11-15 19:35:06 +01:00
nowrep
4819e2c65d UserAgentDialog: Update list of known user agents 2013-11-11 22:06:45 +01:00
nowrep
605ce133e1 OpenSearchReader: Fixed parsing files with XML declaration 2013-11-10 12:27:05 +01:00
S. Razi Alavizadeh
d1f0b1776a Fix translation issue and compile issue on Windows. 2013-11-09 22:24:39 +03:30
nowrep
478af279da SearchEngines: Fixed adding GET forms as search engines from pages 2013-11-09 16:14:54 +01:00
nowrep
f48363d484 SearchEngines: YouTube replaced with StartPage
Closes #1079
2013-11-09 15:59:35 +01:00
nowrep
2211fbf2b3 SearchEngines: Added support for POST method.
Closes #715
2013-11-09 15:48:24 +01:00
nowrep
c9ff4f1c94 SearchEngines: Return SearchResult on all searches 2013-11-09 13:32:03 +01:00
nowrep
8a5a4017d6 SearchEngine: Prepare for POST method support 2013-11-08 22:17:27 +01:00
nowrep
f465157897 SpeedDial: Google.com is no longer in default pages
See #1079
2013-11-06 17:17:49 +01:00
nowrep
5fbf11c8f2 AdBlock: Fix issue when enabling rule didn't work until restart.
When attempting to enable rule that was already disabled on startup,
it won't have an effect until completely restarting the browser.
2013-11-04 16:06:07 +01:00
nowrep
2abefeaf79 AdBlock: Added option to use full EasyList subscription
Instead of downloading only the essential half of EasyList,
user can now choose to download and use the full list.
This restriction is still here because the other half of EasyList
is full of domain restricted rules that are using RegExps in our
implementation, and thus being slow.
2013-11-03 16:04:38 +01:00
nowrep
2e9d5a3316 BSD: Make crash handler work on kfreebsd
Original patch by Georges Khaznadar in Debian's package.
http://packages.debian.org/sid/qupzilla
2013-11-03 15:11:26 +01:00
nowrep
d73d4f7ad7 AdBlockSearchTree: Save few string allocations on searching 2013-11-03 14:49:58 +01:00
nowrep
511ef3c346 AdBlockSubscription: Don't allocate search tree on heap. 2013-11-03 14:29:23 +01:00
nowrep
c07e9cff3c Typo s/childs/children 2013-11-03 14:22:27 +01:00
nowrep
3159407c18 AdBlock: Use fast search tree for basic rules
For all rules that can be matched with simple string-contains match,
use fast tree searching.
Only in EasyList, there is 6000 those rules.
It improves overall performance of AdBlock matching by 5 - 10 times,
at the cost of memory.
The tree needs about 1.5MB memory for 1000 rules, which is a great
tradeoff for such big performance improvement.
2013-11-02 17:43:18 +01:00
nowrep
22b8103fb4 AdBlockManager: Match always by lower case strings 2013-11-02 17:42:20 +01:00
nowrep
4a85e59778 AdBlockRule: Add new rule type Invalid for invalid rules 2013-11-02 17:41:51 +01:00
nowrep
6f6bba66f6 X11: Use different WM_CLASS for private browsing window 2013-10-21 15:59:25 +02: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
David Rosca
8a3b3bd6a9 Merge pull request #1049 from forabi/master
[translation] Added plural forms for hours/mins/secs in download manager and tr() for data units
2013-09-29 04:46:27 -07: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
611e8bbfdf [RSSWidget] Fixed displaying a lot of RSS feeds.
Closes #906
2013-09-22 15:48:17 +02:00
Mladen Pejaković
68eff6bc3a Contributor's email address change 2013-09-21 00:02:56 +02:00
Mladen Pejaković
1fcef58e8b Serbian translations update 2013-09-20 23:48:00 +02:00
nowrep
ee8a00ea50 [SslErrorDialog] Add option to accept certificate permanently.
Closes #939
2013-09-19 20:21:46 +02:00
nowrep
f527a837db Added Arabic translation to project files (.pro) 2013-09-19 12:02:53 +02:00
David Rosca
875f46ea54 Merge pull request #1033 from forabi/master
Added complete Arabic translations for the main application and plugins
2013-09-18 00:18:42 -07:00
Muhammad Fawwaz Orabi
a6466bbe15 Updated Arabic translations 2013-09-18 09:20:10 +03:00
Muhammad Fawwaz Orabi
740c8d7f4e Added complete Arabic translations for the main application and plugins, the coordinator on transifex does not seem to be active. 2013-09-18 09:04:36 +03:00
nowrep
55cbdec32c [Unloaded tab color] Make sure it work also for black color
Closes #1013
2013-09-17 17:03:50 +02:00
nowrep
e56a3a69f8 X11: Changed main window WM_CLASS to "QupZilla Browser" 2013-09-14 21:26:40 +02:00
nowrep
5de4075a98 Tabs: Make sure unloaded tabs color is different even for white color.
Closes #1013
2013-09-13 17:29:52 +02:00
Jonathan Hooverman
474cb7baa7 Fixed a small typo in bookmarksimportdialog.ui 2013-09-11 11:47:02 +02:00
nowrep
68172898d0 Merge branch 'master' of github.com:QupZilla/qupzilla 2013-09-10 16:02:28 +02:00
nowrep
48860aa398 Bookmarks Import: Add option not to fetch icons
Closes #1018
2013-09-10 16:01:40 +02:00
Jonathan Hooverman
f17d19643c Fixed a small typo in ieimporter.cpp 2013-09-10 15:55:05 +02:00
Jonathan Hooverman
56518a6749 Fixed a small typo in ieimporter.cpp 2013-09-10 15:53:30 +02:00
nowrep
18baba4489 Correctly set fileName member of Plugin struct.
Thanks to char101
Closes #1020
2013-09-10 15:52:18 +02:00
nowrep
4280dcd9fa Fixed coding style and added copyright 2013-09-10 15:45:51 +02:00
David Rosca
655bb6ffeb Merge pull request #1023 from jdbastardy/ieimport
added internet explorer import
2013-09-10 06:41:27 -07:00
Mattias Cibien
59dadbbe1f added internet explorer import 2013-09-10 09:33:38 -04:00
David Rosca
ffdfece9fb Merge pull request #1009 from jdbastardy/master
Added possibility to save and retrieve proxy passwords
2013-09-10 06:18:10 -07:00
nowrep
e477b4cb63 Updated CA bundle 2013-09-08 13:52:48 +02:00
Mattias Cibien
41dba7068a Added possibility to save and retrieve proxy passwords 2013-09-03 16:39:07 +02:00
S. Razi Alavizadeh
333d0b0cdd Fixed, update icon of detached tab. 2013-09-03 10:59:12 +04:30
S. Razi Alavizadeh
dfa2218893 [Windows] Fixed disabling transparent effect when composition is disabled by OS. 2013-09-03 10:14:51 +04:30
nowrep
51a686598d Merge branch 'master' of github.com:QupZilla/qupzilla 2013-09-01 12:47:42 +02:00
Mladen Pejaković
5d3ee06007 Typo fix in cookie manager 2013-08-27 14:22:29 +02:00
nowrep
aeded87710 License Viewer: Use Courier font + small visual tweaks
Added close button and changed default size
2013-08-25 23:50:24 +02:00
nowrep
0a3b8e4ad4 Make SchemeHandler destructor virtual 2013-08-21 20:52:49 +02:00
S. Razi Alavizadeh
1ebc952ae0 Fixed closing tabs from TabsMenu by middle-click 2013-08-21 17:08:37 +04:30
nowrep
f098f1e1d1 Fix using external download manager with use defined location setting.
Closes #984
2013-08-12 15:32:03 +02:00
nowrep
e75248a335 Set DuckDuckGo as a default search engine 2013-08-12 10:46:24 +02:00
nowrep
25834dea06 SpeedDial: Replaced facebook with duckduckgo as default page
Closes #990
2013-08-12 10:34:35 +02:00
S. Razi Alavizadeh
1cca824d66 [LocationBar] Don't move the cursor to the end if inline completion is empty. 2013-08-07 02:02:06 +04:30
nowrep
20f3b48898 Removed link for removing cookies from Adobe Flash Player 2013-08-03 22:57:50 +02: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
S. Razi Alavizadeh
7dbaf71f23 Fixed changing TabsOnTop option when there are more than one window. 2013-08-04 00:39:54 +04:30
nowrep
17a6879715 Fixed Accept-Language header so it works with all sites 2013-08-02 20:16:06 +02:00
S. Razi Alavizadeh
65cb4bdb9a [SideBarManager] Fixed ambiguous shortcuts when calling refreshMenu()
-also fixed compile issue after 621ab569
2013-08-02 00:21:56 +04:30
nowrep
567d6c74f4 GreaseMonkey: Run usercscripts in all frames on page 2013-07-29 17:55:35 +02:00
nowrep
7a75153b9f Added Xabier Aramendi into About dialog as translator 2013-07-28 20:55:28 +02:00
nowrep
324ea1ec66 Updated translations from transifex 2013-07-28 20:51:45 +02:00
nowrep
621ab56951 DBusNotifications: Use non-blocking DBuS calls 2013-07-25 11:37:54 +02:00
nowrep
51a262bc8d [Master Password Dialog] Set minimum width and height for widget
Fixes issue with possible resize to 1x1 px size
2013-07-24 12:33:39 +02:00
S. Razi Alavizadeh
7434cedd44 Don't clear active state of plugin's sideBar on closing. 2013-07-17 18:51:39 +04:30
nowrep
3a5f8a263b Fixed compilation with Qt 5 2013-07-17 16:06:10 +02:00
nowrep
371250ff15 Preferences: Load autofill page on-demand
Don't ask for master password when preferences dialog is opened.
Only ask for it when user actually enters autofill page.
2013-07-14 22:29:47 +02:00
S. Razi Alavizadeh
b05ddc12db [ThemeManager] Fixed crash on saving settings when theme is unavailable. 2013-07-13 02:31:24 +04:30
nowrep
c313b2d961 Set WM_CLASS also to Download Manager. 2013-07-12 11:43:13 +02:00
S. Razi Alavizadeh
d3cb32247a [RTL Layout] Set layoutDirection of widgets with LTR contents to LTR, for having a better look.
- closes #971
2013-07-11 20:48:32 +04:30
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
nowrep
f05a300281 What is this? I didn't write it ... 2013-07-11 11:01:32 +02:00
S. Razi Alavizadeh
b153324484 [RSSManager] Fix some small leaks. 2013-07-10 08:06:05 +04:30
nowrep
3a06549c70 Fix compilation with Qt 5.1 2013-07-09 10:43:23 +02:00
S. Razi Alavizadeh
b472bd2021 [GreaseMonkey] set list of userscripts as LTR widget.
-its contents are in LTR regardless of interface language.
-Closes #967
2013-07-08 14:04:19 +04:30
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
973cb65349 Don't set network configuration to network manager.
Closes #957
2013-07-01 17:39:56 +02:00
nowrep
a4ee2d7497 [SBI_NetworkIcon] Use QNetworkConfigurationManager to detect online state 2013-07-01 17:38:35 +02:00
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
Jonathan Hooverman
eee53c8a42 Fixed some typos in passwordbackends 2013-06-28 13:46:46 +02:00
S. Razi Alavizadeh
f01157d71c EncryptedPasswordBackend: ask password on function call not on each entry
-also fixed converting to plain data
2013-06-26 21:17:43 +04:30
nowrep
f6449b0402 EncryptedPasswordBackend: Make sure only one ask password dialog is visible at time. 2013-06-26 13:59:46 +02:00
nowrep
7a0a4ea31e EncryptedPasswordBackend: Coding style 2013-06-26 13:24:18 +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
nowrep
31d906b75b Correctly link to OpenSSL library 2013-06-21 15:24:39 +02:00
nowrep
0927bf0cb7 Fix compilation on Linux + update build requirements 2013-06-21 11:09:19 +02:00
S. Razi Alavizadeh
3170fccf0e [MasterPasswordDialog] Fixed, clear masterpassword always changes backend.
-Also fixed recursive call to QDialog::exec()
2013-06-21 03:27:58 +04:30
S. Razi Alavizadeh
5ea3572368 [Windows][Tests] Fixed compile issues on Windows. 2013-06-19 02:07:46 +04:30
S. Razi Alavizadeh
05755158f9 [PasswordManager] Added DatabaseEncryptedPasswordBackend.
-It uses AesInterface for all encryption/decryption (AES 256 CBC)
2013-06-19 02:07:43 +04:30
S. Razi Alavizadeh
102d90b77b [PasswordManager] Moved saving selected backend to switchBackend().
-Also added PasswordManager::passwordBackendChanged() signal.
-Also some other options moved to AutoFillManager::currentPasswordBackendChanged()
2013-06-19 02:07:41 +04:30
S. Razi Alavizadeh
aaf082a332 [PasswordManager] change return type of updateEntry() to bool. 2013-06-19 02:07:39 +04:30
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
50a4d78026 Removed unnecessary QDebug 2013-06-18 11:05:25 +02:00
nowrep
99b35a19b5 Use palette colors for indicating not yet loaded tabs.
Also fixed compile issue from previous commit.
2013-06-18 11:03:52 +02:00
Charles
18f65a66f6 Only set the unloaded tab color if the url is not empty 2013-06-18 14:33:05 +07:00
Charles
7882cbcc98 Set unloaded tab color to rgb(100, 100, 100) 2013-06-18 14:25:37 +07:00
nowrep
136452ad2a Properly test for USE_QTWEBKIT_2_2 define 2013-06-17 21:03:45 +02:00
S. Razi Alavizadeh
eac8af1b51 [Windows] Fixed compile issue. 2013-06-17 03:46:50 +04:30
nowrep
d64a86ab7e Added new translations into project and resource files 2013-06-16 23:45:27 +02:00
nowrep
19f8c13c65 Pulled new translations (with 60+ % completed) from Transifex 2013-06-16 23:09:02 +02:00
nowrep
61ce1cb904 Updated translations from Transifex 2013-06-16 23:04:10 +02:00
Charles
9e476bfbc2 Enable closing tab by middle clicking in the tab list menu 2013-06-16 13:49:08 +02:00
nowrep
98fac13f85 [MacWebViewScroller] No need to use WebView subclass. 2013-06-12 19:58:25 +02:00
nowrep
d94a4b5386 Bumped ca-bundle version 2013-06-11 09:57:56 +02:00
nowrep
732a59e6ce Updated ca-bundle.crt 2013-06-11 09:56:37 +02:00
nowrep
c21f2882be [DownloadManager] Also raise window when showing it.
Closes #937
2013-06-11 09:08:26 +02:00
nowrep
f4315304f7 [GreaseMonkey] Fixed buttons in script list with RTL layout. 2013-06-10 23:06:17 +02:00
nowrep
6abb37d6a1 [SuperButton] Show menu correctly inside with RTL layout. 2013-06-09 12:54:50 +02:00
nowrep
d17b06ff65 [LocationBar] Delete key to hide inline completion 2013-06-09 12:27:25 +02:00
nowrep
acbd04dd3d Improved performance of WebHistoryInterface
Use std::set to search in logarithmic time.
2013-06-09 12:05:20 +02:00
nowrep
8e9ea139db Make GnomeKeyring and KWallet plugins translatable. 2013-06-08 21:04:58 +02:00
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
82701235ee Don't force older SSLv3 protocol for secured connections.
Closes #921
2013-06-07 11:47:36 +02:00
S. Razi Alavizadeh
9de433dffd [BookmarksToolbar] Fixed move Left/Right in RTL layout.
-closes #924
2013-06-07 03:00:26 +04:30
nowrep
9be2b6f5ca Fix "Hide tabbar with only one tab" option to work also with fullscreen.
Closes #927
2013-06-06 13:14:12 +02:00
nowrep
c305811334 Correctly hide/show rss icon with "Always show go icon" option.
Regression from 05ca29715f
Closes #926
2013-06-06 11:54:22 +02:00
nowrep
b59d42fc1b Don't try to download empty page.
Closes #925
2013-06-06 11:48:43 +02:00
nowrep
de10968498 [PasswordsManager] Make names of backend translatable.
AutoFill needs to have Q_OBJECT macro for QObject::tr function.
2013-06-05 23:14:03 +02:00
nowrep
7001823511 Fixed crash when opening preferences and not loaded passwords manager 2013-06-05 00:06:23 +02:00
nowrep
05ca29715f [LocationBar] Option to always show go icon.
Also removed unused m_drawCursor member variable.
Closes #914
2013-06-05 00:02:43 +02:00
nowrep
0e478a56d8 [Building] Use DEPENDPATH to correctly generate dependencies. 2013-06-04 23:18:55 +02:00
nowrep
58c0c77479 [GreaseMonkey, AdBlock] Use 16x16 icons in statusbar 2013-06-03 15:50:57 +02:00
nowrep
48528b36bf [GreaseMonkey] Correctly remove icons from statusbar on unload. 2013-06-03 15:42:14 +02:00
nowrep
197240845d [Oxygen] Tweaked last icon to be used from theme. 2013-06-02 22:47:02 +02:00
nowrep
7b736ed9df [GreaseMonkey] Added icon to statusbar.
Closes #741
2013-06-02 19:09:41 +02:00
Mladen Pejaković
0d10301ea7 [StatusBarIcons] Update translations and add Serbian 2013-06-02 18:36:18 +02:00
Mladen Pejaković
9e44b28284 [StatusBarIcons] Translate few more strings 2013-06-02 18:32:08 +02:00
nowrep
4b0552e3ef [GreaseMonkey] Added "Edit in text editor" button to script info. 2013-06-02 18:25:25 +02:00
nowrep
4d33b04310 [StatusBarIcons] Make plugin translatable. 2013-06-02 17:50:28 +02:00
nowrep
0c7dea70fd [Oxygen] Use preference icons from theme if available. 2013-06-02 17:37:38 +02:00
nowrep
7dcb19bb5f Add "Save Page Screen" action into super menu.
Also removed unncessary usage of ActionCopy.

Closes #913
2013-06-02 17:28:52 +02:00
nowrep
10bba39bd4 New tab button in toolbar opens tab with url from clipboard on middle click.
Closes #907
2013-06-02 16:46:26 +02:00
nowrep
4a7e094956 [ImagesIcon] Correctly show global settings in menu. 2013-06-02 16:29:11 +02:00
nowrep
2ed4d91064 [PageScreen] Ask before overwriting files. 2013-06-02 15:49:40 +02:00
nowrep
c15f62e17a Fixed building with Qt 5.0.x
Closes #908
2013-06-01 14:50:45 +02:00
nowrep
5d90a45f68 [Qt5] There is no support for printing to PostScript. 2013-06-01 14:47:39 +02:00
nowrep
7dd7fe94c6 [NetworkIcon] Fixed applying selected proxy. 2013-06-01 13:01:26 +02:00
nowrep
04e4d1ebf8 [NetworkIcon] Make sure empty proxies are not added to hashtable. 2013-06-01 12:21:44 +02:00
nowrep
8621ee0335 [PageScreen] Use QFileDialog::getOpenFileName instead of saveFileName. 2013-05-31 18:11:19 +02:00
nowrep
772427ef09 [PageScreen] Add possibility to save into PDF and PostScript
Closes #903
2013-05-31 13:46:45 +02:00
nowrep
bb03cfb133 [PageScreen] Add option to choose in which format to save.
Also makes the dialog less confusing whether the image was saved
or not.

Closes #902
2013-05-31 12:42:54 +02:00
nowrep
1a2e7ef788 [Print Page] Set creator to QupZilla and suggest filename.
Closes #904
2013-05-31 10:46:50 +02:00
nowrep
6da4e14bae [SBI_NetworkIcon] Fixed saving proxies other than NoProxy. 2013-05-30 22:55:08 +02:00
nowrep
63dfa9a422 Updated translations 2013-05-30 00:00:26 +02:00
nowrep
06e81bb557 [StatusBarIcons] Add settings dialog to disable/enable icons. 2013-05-29 23:59:56 +02:00
nowrep
aa18827a49 [SBI_NetworkIcon] Ask user before removing proxy. 2013-05-29 23:39:49 +02:00
nowrep
b6a386f73b [StatusBarIcon] Add fallback icons for buttons in Proxy Manager. 2013-05-28 21:25:15 +02:00
nowrep
a30ff3f0ba [StatusBarIcons] Updated translations 2013-05-28 21:21:32 +02:00
nowrep
57c4b1c2fc [StatusBarIcons] NetworkIcon can now also manage proxies.
Closes #787
2013-05-28 21:20:13 +02:00
nowrep
c5b7dbb48c [StatusBarIcons] Added network icon.
Currenlty only shows status of connection and proxy.
2013-05-27 22:20:30 +02:00
nowrep
0f695b0264 [NetworkManager] Set default configuration manager
Makes networkAccesibility signals and status working properly.
2013-05-27 19:22:01 +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
9725f53bbf [StatusBarIcons] Added JavaScript icon to manage JavaScript settings. 2013-05-26 18:15:24 +02:00
nowrep
3259abef09 Added new plugin: StatusBar Icons.
This plugins add extra icons into statusbar with various
functionality.
Currently, only Images icon is present, which enable changing
image load settings per-site and globally.
2013-05-26 15:46:21 +02:00
nowrep
8934c3842d [GreaseMonkey] Cleanup project file. 2013-05-25 00:29:05 +02:00
nowrep
42d19a8cf4 [GnomeKeyring] Removed test.cpp file 2013-05-24 19:10:35 +02:00
nowrep
5ee5d66e18 [GreaseMonkey] Fixed loading userscripts when first enabling plugin. 2013-05-24 14:57:33 +02:00
nowrep
ace07520d6 Fixed building GnomeKeyringPasswords plugin. 2013-05-24 14:47:36 +02:00
nowrep
a172327992 [Plugins] Added InitState to plugin's init() function 2013-05-24 11:03:16 +02:00
nowrep
30594f2480 [PasswordManager] Give user feedback when importing/exporting passwords. 2013-05-23 18:16:20 +02:00
nowrep
7e2b631f34 [PasswordManager] Ported importing/exporting for multiple backends.
However, for some reason it doesn't work for KWallet backend.
2013-05-22 15:43:44 +02:00
nowrep
3abfaed452 [SSLManager] Fixed saving IgnoreAllWarnings option.
Closes #890
2013-05-22 14:59:42 +02:00
nowrep
972af5552d [GnomeKeyring] Make tests pass with gnome-keyring backend.
Fixed PasswordManager::urlEncodePassword - ~ is also needed to encode
2013-05-21 16:43:56 +02:00
nowrep
a5a5cfbbf0 [KWalletBackend] Small changes to make tests pass. 2013-05-21 15:35:11 +02:00
nowrep
c54031793e [DatabasePasswordBackend] Make tests from previous commit pass. 2013-05-21 13:37:58 +02:00
Mladen Pejaković
a7044e36ea Plugins: Serbian translations 2013-05-20 14:23:47 +02:00
nowrep
c035e02bbd [Building] Correctly detect whether to build keyring plugins. 2013-05-20 14:12:48 +02:00
nowrep
5c698d5d2a [PasswordManager] Fixed encoding passwords to url encoded format. 2013-05-20 13:33:13 +02:00
nowrep
8da362b119 [GnomeKeyring] Added plugin for storing passwords in gnome-keyring. 2013-05-20 11:16:45 +02:00
nowrep
74edb1efa1 [KWallet] Don't load incorrect passwords from wallet. 2013-05-20 11:14:00 +02:00
nowrep
54a3509fcb [PasswordManager] Added updated member to PasswordEntry struct. 2013-05-20 11:05:54 +02:00
nowrep
c7c1002fce [Building] Fixed setting KDE_INTEGRATION flag 2013-05-20 01:10:37 +02:00
nowrep
6e4f21930c [Building] Rename KDE flag to KDE_INTEGRATION 2013-05-19 10:52:44 +02:00
nowrep
c1e70db731 [PasswordManager] Small code cleanup.
Use iterators for QHash
2013-05-19 10:34:54 +02:00
nowrep
19adf74dc5 [WebView] Added Ctrl/Shift + Insert shortcuts to copy/paste. 2013-05-19 10:22:40 +02:00
nowrep
6d36afff3e [Win] Updated installer + fixed previous commit. 2013-05-18 23:37:50 +02:00
nowrep
8172e19a3b [Win] Use custom user-agent for facebook.
Fixes facebook chat.

See #867
2013-05-18 22:55:47 +02:00
nowrep
ffc47909a8 [PasswordManager] Backends can now have its own options dialog. 2013-05-18 19:50:12 +02:00
nowrep
90a4200981 [PasswordManager] Correctly switch password backends. 2013-05-18 13:29:11 +02:00
nowrep
0fe79f3f71 Updated translations 2013-05-17 15:57:17 +02:00
nowrep
34f8162615 [PasswordBackends] Added possibility to change backends in preferences. 2013-05-17 15:42:06 +02:00
nowrep
95a44ded44 [PasswordManager] Added KWallet backend plugin.
When building with KDE integration (KDE build flag), this plugin
will now be built.

Closes #592
2013-05-15 21:31:34 +02:00
nowrep
f8ee9a4b9c [PasswordManager] Small cleanups + offer plugins to add new backends. 2013-05-15 20:05:45 +02:00
nowrep
ac90002b6f Make sure ProxyStyle is created before using it. 2013-05-15 16:49:05 +02:00
nowrep
06323ee7b8 [PasswordManager] Make backends aware of being active. 2013-05-15 15:04:48 +02:00
nowrep
2fea323af1 Moved password backends into autofill/passwordbackends folder. 2013-05-15 14:58:55 +02:00
nowrep
d42c66735e [AutoFill] Rewritten preferences to support multiple backends. 2013-05-14 22:45:20 +02:00
nowrep
bd315afe9e [AutoFill] Rewritten password management to support multiple backends. 2013-05-14 17:57:13 +02:00
nowrep
09a1bec467 Added option to detach tabs into own window.
Closes #441
2013-05-13 22:01:36 +02:00
nowrep
d391b65bed [Oxygen] Fixes crash when closing window.
This is proper fix for #838
2013-05-12 23:30:55 +02:00
nowrep
42e0f535fe [Tabs] Use theme icons for tab-new and tab-duplicate. 2013-05-12 23:14:35 +02:00
nowrep
16d5917d43 [Code] Make it possible to move TabbedWebView to other window. 2013-05-12 22:55:53 +02:00
nowrep
53890c9f0e [Oxygen] Workaround for transparent background of tooltips.
Closes #865
2013-05-12 10:59:33 +02:00
nowrep
4d01cfc9fa [LocationBar] Improved cursor painting when completion popup is visible. 2013-05-11 13:22:16 +02:00
nowrep
49ed4d05c4 Fixes in inline completion + enter completed text with left arrow key. 2013-05-11 00:17:38 +02:00
nowrep
77aa5b0f07 [LocationCompleter] Hide completion popup after Alt+Enter.
Hides completion popup after opening new tab with Alt+Enter shortcut.
2013-05-10 22:34:51 +02:00
nowrep
f651125c5c [LocationBar] Added inline completion for domains.
Closes #880
2013-05-10 22:33:36 +02:00
nowrep
1449037e88 Fixed building with Qt 4.7 2013-05-10 13:12:02 +02:00
nowrep
b7d857d4e5 [AdBlock] Improved regex for hiding AdBlock code in source viewer. 2013-05-09 19:49:13 +02:00
nowrep
68b59621c0 [Downloads] Use better translation string for manager's title.
See #878
2013-05-05 12:41:12 +02:00
nowrep
75b6d976fb [SpeedDial] Use page title from bookmarks when adding pages. 2013-05-05 12:26:47 +02:00
nowrep
a65d7b00b3 [Acid3] Make Acid3 test pass with enabled AdBlock.
AdBlock element hiding rules are inserted into body element of
page. This does not like the Acid3 test.
2013-05-05 00:14:42 +02:00
Mladen Pejaković
39e6e1a0f1 Optimization of png icons for plugins 2013-05-04 23:21:38 +02:00
Mladen Pejaković
774f156865 Optimization of png icons 2013-05-04 23:05:50 +02:00
Mladen Pejaković
2f1cd3f0f5 Fix icons incorrect sRGB profiles. Closes #843 2013-05-04 16:07:06 +02:00
nowrep
16a7156d69 [Mac] Attempt to fix slow scrolling on Apple trackpads.
Closes #832
2013-05-04 15:15:43 +02:00
nowrep
a8fad834ce [Code] Skip one allocation of QDialog on heap. 2013-05-03 12:00:08 +02:00
nowrep
650f474113 [SessionRestore] Fixed saving some tab icons in session file.
Saving directly QPixmap instead of QIcon fixes issue when some
icons don't save correctly for some reason (eg. oxygen hdd icon).
2013-05-03 00:35:14 +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
nowrep
d59acd8dbb [WebView] Make Direction & Fonts menu translatable.
Closes #871
2013-05-02 12:02:41 +02:00
nowrep
621753ac1b [AdBlock] Added ABPindo (Indonesian) into known subscriptions. 2013-04-29 20:26:50 +02:00
nowrep
087eb93ecb [Code] Improved cppcheck script and fixed all warnings. 2013-04-28 17:50:09 +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
ba9535a727 [ToolBar] Use size of icons according to Qt style. 2013-04-27 12:57:13 +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
6492b2ac87 [Toolbar] Use spacing and margins according to Qt style.
Toolbar looks better now with Oxygen theme.
2013-04-26 23:11:24 +02:00
Mladen Pejaković
aac0956a0f Add spatial navigation option 2013-04-23 13:31:29 +02:00
nowrep
655259456c Properly fix 5740873ed6
Previous commit introduced new bug, background tabs didn't have close
buttons.
2013-04-23 10:01:40 +02:00
nowrep
812437ddcb Fixed building with Qt 4.7 2013-04-22 17:40:15 +02:00
nowrep
482cb18ce4 [Crash] Fixed occasional crash when extracting form data from page.
Apparently, QWebFrame::childFrames can return NULL frame.
2013-04-21 20:44:08 +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
laoch
ad33d353af Fix issue with missing semicolon with portable Windows builds. 2013-04-17 08:46:19 -05:00
nowrep
5740873ed6 Fixed incorrectly showing close buttons on tabs after restoring session.
Only reproducible when tabs overflows the tabbar.
Also fixed build warning on Windows.
2013-04-17 13:35:32 +02:00
S. Razi Alavizadeh
ffdbb49444 Fixed executing order of queries by dbWriter()
-also added index tables bookmarksTitle and bookmarksUrl to
   default database.
-and removed a double check from saveBookmark()
2013-04-17 01:40:05 +04:30
S. Razi Alavizadeh
2fdce1ed81 [Windows] Fixed compile issue about mocinclude target.
-see  #849
2013-04-17 01:32:36 +04:30
nowrep
ee42199669 Fixed crash upon closing private browsing window.
Also updated translations for previous commits.
2013-04-16 10:00:18 +02:00
Mladen Pejaković
b6f4aed233 Refactoring private browsing menu action v2 2013-04-16 09:52:44 +02:00
Mladen Pejaković
6681a9156b Add icon to private browsing menu action, and add the action to super menu 2013-04-16 09:52:30 +02:00
nowrep
373050bef0 [Regression] Fixed handling key press events in webview.
Regression from 7c9b30c443
2013-04-15 23:21:00 +02:00
nowrep
f09fc7fcec [AdBlock] Make it possible to remove EasyList.
Closes #534
2013-04-13 23:00:22 +02:00
nowrep
901bdac85d [Plugins] Added possibility to unregister scheme handlers.
It is important to unregister scheme handler when unloading
a plugin, otherwise it will crash on next createRequest call.
2013-04-12 18:05:45 +02:00
nowrep
c073ce0094 Make it possible for plugins to reimplement mailto scheme. 2013-04-12 17:52:51 +02:00
nowrep
672c388407 [Plugins] Print error message when failed to load plugin.
Prints QPluginLoader's error message to the stderr.
2013-04-12 17:49:22 +02:00
nowrep
83b7f6d1c0 [Portable] Save loaded plugins with relative path.
It is now possible to correctly load plugins even when
eg. disk label on Windows changes.
2013-04-11 23:26:12 +02:00
nowrep
db6f4333f2 [Code] Added comment for previous commit (Crash fix) 2013-04-10 22:48:29 +02:00
S. Razi Alavizadeh
7c9b30c443 Fixed, sent correct event for right/left key on RTL layouts.
-see #839
2013-04-09 18:27:44 +04:30
nowrep
fe6e450a44 [Oxygen] Fix crash on close with tabs on top enabled.
See #838
2013-04-09 14:06:59 +02:00
nowrep
90c285c1ac Added function to return focused element on page.
WebView/WebPage::activeElement
2013-04-07 20:19:21 +02:00
nowrep
a73ad89f9e Allow using wildcards (*,?) in proxy exceptions.
Closes #788
2013-04-06 23:44:59 +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
nowrep
7c57588738 Cancel upload when trying to upload non-readable files. 2013-04-04 20:32:56 +02:00
nowrep
faeba013bc Fixed building with Qt 5 2013-04-03 21:14:06 +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
2e853beef4 [GreaseMonkey] Fixed loading invalid script when script file is deleted
Also fixed copyright in gm_jsobect.{cpp,h}
2013-04-02 12:00:27 +02:00
nowrep
51f0232ca3 [GreaseMonkey] Added support for GM_Settings functions.
Closes #814
2013-04-02 11:21:12 +02:00
nowrep
08f3456e28 [Preferences] Fixed size of dialog on low-res screens.
Preferences content moved into QScrollArea
Closes #818
2013-04-01 15:06:32 +02:00
nowrep
6604be5f53 Updated translations.
Also removed whitespace in src/lib/network/networkmanager.cpp
2013-03-31 18:12:23 +02:00
nowrep
82f3c4159d Disabling HttpPipelining fixes video loading issue on YouTube.
Closes #830
2013-03-30 21:52:59 +01:00
nowrep
28d697b94c [PAC] Don't copy local PAC files into profile. 2013-03-30 21:15:47 +01:00
nowrep
41616486a6 [NetworkProxy] Always use direct connection as fallback. 2013-03-29 19:42:33 +01:00
nowrep
a9326eadc5 Added support for Proxy Auto-Config (PAC).
.pac files will be downloaded and executed to get
proxy configuration for each url.

Closes #747
2013-03-29 19:22:55 +01:00
nowrep
953ca726bd [ProfileUpdater] No changes in profile structure in 1.4.x versions. 2013-03-26 12:29:08 +01:00
S. Razi Alavizadeh
334f90b12b [Windows] Fixed first moment black background of new tab. 2013-03-24 01:00:05 +04:30
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
nowrep
1c36390e3f [Linux] Install libs into /usr/lib/arch-linux-gnu if exists.
Installing into /usr/lib/i386-linux-gnu, /usr/lib/x86_64-linux-gnu
according to build platform if this directory exists.
If not or build architecture cannot be determined, falling back to
/usr/lib directory.
2013-03-23 17:15:08 +01:00
nowrep
1d5d480c85 Added support for building with Wayland.
See NO_X11 define in BUILDING.
2013-03-23 14:16:08 +01:00
nowrep
02b22acde0 [Windows] Don't set PeerVerifyNone SSL socket verifyMode anymore. 2013-03-23 13:46:04 +01:00
David Rosca
90923d5127 Merge pull request #822 from srazi/master
Fixed a few shortcuts problems.

Closes #809
2013-03-23 05:44:30 -07:00
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
S. Razi Alavizadeh
4e17c39dd8 Fixed shortcuts for RTL layout and fixed back/forward shortcuts
-see #809
-also fixed some little windows issues
2013-03-23 04:17:55 +04:30
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
nowrep
39af453281 [AKN] Fixes crash while closing tab with shown labels.
See #817
2013-03-21 15:14:35 +01:00
nowrep
cb0630de35 Don't limit speed of loading animation in tabbar. 2013-03-20 10:26:18 +01:00
nowrep
61357e17b1 [QtSingleApplication] Delete lockfile upon closing application.
Closes #811
2013-03-19 09:16:57 +01:00
nowrep
e3efd6e08e [Fonts Preferences] Fixed saving Cursive font family. 2013-03-18 22:55:18 +01:00
nowrep
e72610da0a Translate edit actions in page context menu + added delete action. 2013-03-18 15:53:16 +01:00
nowrep
a035a83d7a Fixed connecting to older secured servers by forcing older SSL protocol.
Falling back to the Qt 4.7 behavior.

Closes #490
2013-03-17 10:42:27 +01:00
nowrep
194b0ddd30 Merge branch 'master' of github.com:QupZilla/qupzilla 2013-03-17 10:36:28 +01:00
nowrep
8af495599c Development version has now 1.5.0 version number. 2013-03-17 10:32:55 +01:00
nowrep
e313c7bfde Fixed build warning. 2013-03-17 10:32:39 +01:00
nowrep
01d8689a05 Properly fixed comparison of version + added tests. 2013-03-17 10:28:07 +01:00
Jonathan Hooverman
bd406d836f Minor change to menu file entry 2013-03-16 20:50:35 +01:00
nowrep
b543658a5e Updated translations from Transifex 2013-03-16 19:53:42 +01:00
nowrep
9069a5de54 [Windows] Fixed building on Windows. 2013-03-16 19:46:22 +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
S. Razi Alavizadeh
0293a7bcd3 [Mac] Fixed, refresh state of menu actions 2013-03-16 18:19:25 +03:30
nowrep
6ed4f6a7e6 Fixed installing bash completion + changed target folder.
It is now installed into /usr/share/bash-completion/completions/

Closes #805
2013-03-16 09:38:16 +01:00
nowrep
d4c6dbd6c2 [Fix] WebSearchBar not respecting "select all on click" option
Closes #752
2013-03-15 11:46:07 +01:00
nowrep
f95cf48f0e [Win][Qt5] Fixed invalid redrawing with transparent background. 2013-03-15 11:15:08 +01:00
nowrep
8c606c0bd1 Updated translations from Transifex 2013-03-15 11:03:25 +01:00
nowrep
ff4e5b74d4 [Fix] Certificates from custom path disappearing on preferences saving. 2013-03-15 10:44:05 +01:00
nowrep
1e6b9a915d [Build] Use pkg-config only on linux. 2013-03-14 15:29:12 +01:00
nowrep
ff55c915b3 [TabIcons] Fixed incorrectly showing icon of tabs in some rare cases.
It now correctly shows error sign on tab when error page is loaded.
2013-03-14 15:25:40 +01:00
nowrep
f508475916 [Fix] Fixed duplicating current url in history when restoring session. 2013-03-13 11:57:56 +01:00
nowrep
a9cee1fffe [Fix] Fixed showing empty back/forward history menus. 2013-03-13 11:54:58 +01:00
nowrep
eeb1231c75 [Updater] Fixed comparison of version numbers.
Also dropped support for rc/beta versions.
2013-03-12 14:09:12 +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
79c57f61b6 Version 1.4.0 2013-03-11 17:45:48 +01:00
nowrep
c36e13da32 Fixed previous commit. 2013-03-11 17:38:21 +01:00
nowrep
adcb8570ed Added Yu Hai into translators. 2013-03-11 17:19:11 +01:00
nowrep
4687847963 [CaBundleUpdater] Download bundle immediately on first run.
Instead of 30 seconds waiting, try to download certificate bundle
immediately on first run of application.
2013-03-11 17:09:28 +01:00
S. Razi Alavizadeh
4e862414a1 [Windows] Small fix in theme + fixed shadow of desktop notification. 2013-03-11 17:03:59 +01:00
nowrep
d29aff5330 Updated translations from Transifex. 2013-03-11 17:00:28 +01:00
nowrep
e455f58aa1 [CaBundleUpdater] Reload certificates after finished bundle update. 2013-03-11 15:47:03 +01:00
nowrep
ab8496610e [TabPreview] Don't show tab previews while dragging tabs. 2013-03-11 15:14:50 +01:00
nowrep
8bff746d30 [AdBlock] Blocking netscape plugins even without C2F enabled.
Closes #791
2013-03-11 14:42:23 +01:00
nowrep
ef89347a7c [SuperMenu] Added Show Bookmarks and History actions. 2013-03-11 14:32:46 +01:00
nowrep
6c74289aaa [AdBlock] Added ChinaList into list of known subscriptions.
Closes #768
2013-03-10 00:37:35 +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
8820703a2e [Windows] Small theme improvements of tab style.
Using transparent background for tabbar also with tabs on top.
2013-03-07 17:26:21 +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
nowrep
cc93b67002 [GreaseMonkey] Fixed crash when deleting userscript. 2013-03-05 21:40:34 +01:00
nowrep
21d201752d Fixed building certs.qrc resource on other platforms than Windows.
Followup to #768
2013-03-05 19:56:37 +01:00
nowrep
77f45e2761 OS/2 Haiku: Use own certificates from CaBundle.
Only on Linux and Mac OS X it is safe to use system
SSL certificates.

See #786
2013-03-05 18:58:03 +01:00
S. Razi Alavizadeh
a7a4ef87a7 Improved version of 'TreeWidget::filterString()' 2013-03-05 00:04:43 +03:30
nowrep
b9858f98a4 Added basic bash and zsh autocompletion files.
Bash autocompletion will be installed by default with
make install.
Zsh autocompletion has to be installed manually, more on that
in linux/completion/README
2013-03-04 13:23:04 +01:00
S. Razi Alavizadeh
f6f604698d [Win] Improved "windows" theme+transparent TabBar's background 2013-03-03 23:34:21 +03:30
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
aa2f6664bf Quick fix for previous commit. 2013-03-02 23:18:49 +01:00
nowrep
1f5df24a44 [TabBar] Position of add tab button was incorrect sometimes.
Fixed showing add tab button always at correct position.
Also removed duplicate code in tabSize.
2013-03-02 18:15:05 +01:00
nowrep
320f0d20cc [Fix] Make sure both menubar and navigation bar are not hidden.
Closes #781
2013-03-01 22:53:50 +01:00
nowrep
b1eca8095e Select line in locationbar when opening new tabs only when text is empty.
Fixes followup to #752
2013-02-28 19:38:12 +01:00
nowrep
9d6e34e3e5 [Code] Rewritten AdBlockRule to use enums for rule options.
Instead of using boolean variables for every option, use one QFlag
for options and second for exceptions.
2013-02-27 21:26:41 +01:00
nowrep
4d82e307ad [AdBlock] Download also whitelist rules from EasyList. 2013-02-27 19:51:34 +01:00
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
a25e189904 [AdBlock] Added debug output with ADBLOCK_DEBUG define.
It will print the time needed to load all rules and also
to block each url.
2013-02-26 12:29:46 +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
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
a1ad8dab9b Properly destroy NetworkManager on application close. 2013-02-25 23:25:11 +01:00
nowrep
6cf3cb637c [AutoFill] Show key icon only when password was actually filled in page.
If you have saved multiple passwords eg. for gmail.com, it will now
only show key icon when trying to login, instead of showing it all the
time on gmail.com (even after logging in).
2013-02-25 15:03:53 +01:00
nowrep
0ca121898d [PageFormCompleter] Don't try to extract form if formdata is invalid. 2013-02-25 14:51:52 +01:00
nowrep
e7213bdf12 [Qt5] Fixed getting correctly QtWebKit version with pkg-config.
QtWebKit module is named Qt5WebKitWidgets in Qt 5.
Versioning is also different from Qt 4.
2013-02-24 23:19:37 +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
021e6315e0 Preferences: Fixed showing current language in languages menu. 2013-02-24 13:20:54 +01:00
nowrep
d46d5c6786 [Mac] Fixes font rendering with HiDPI (retina) displays. 2013-02-24 13:20:07 +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
0066027215 fixed hiding bookmarksToolbar after going back from fullscreen. 2013-02-24 15:41:06 +03:30
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
49382fd832 Updated certificate bundle + build it only on Windows. 2013-02-24 12:08:37 +01:00
nowrep
4eba746a2c GreaseMonkey: Bumped plugin version. 2013-02-24 12:07:57 +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
f32ec93caf NetworkManager: Use certificates from bundle only on Windows.
On other platforms, let's just use system certificates.
2013-02-24 10:53:35 +01:00
nowrep
304f1704d2 GreaseMonkey: Don't load invalid scripts. 2013-02-24 10:48:23 +01:00
nowrep
53b31ea912 Fixed copying url with special characters into clipboard.
Also properly encode url for loading in W3 validator.

Followup to #762
2013-02-23 17:21:33 +01:00
nowrep
1ae60d65bb Added new Catalan translation.
Thanks to Guillem Prats and Clara Villalba.
2013-02-23 16:19:25 +01:00
nowrep
63b5a059c9 Coding style + changed line endings of copyright 2013-02-23 16:18:01 +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
S. Razi Alavizadeh
c7193162d2 [Windows] Don't update transparent margins on close. 2013-02-23 01:41:33 +03:30
S. Razi Alavizadeh
802f95f0d6 File and Ftp SchemeHandlers: Clickable title for easier navigation, also using native separator in file's title. 2013-02-23 00:04:14 +03:30
nowrep
7fae03959d TabsOnTop: Fixed picking correct color for drawing line at the bottom of
navigation container.
2013-02-22 18:31:44 +01:00
nowrep
b4b1ce03d6 LocationBar: Proper fix for determing when to draw cursor.
Cursor will be properly drawn by Qt when starting writing
into empty lineedit (eg. select all and start typing).
After the completion popup is hidden for the first time, Qt will stop
drawing cursor and will only paint it again after losing and gaining
focus.
2013-02-22 15:20:28 +01:00
nowrep
1cbc8c6d2d [Windows] Fixed color of selected text when view loses focus.
Closes #756
2013-02-22 11:59:52 +01:00
David Rosca
d01c512520 Merge pull request #778 from srazi/master
[Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:'
2013-02-22 02:11:05 -08:00
S. Razi Alavizadeh
33b9b3832f [Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:' 2013-02-22 12:40:10 +03:30
nowrep
bc2e163b90 X11: Symlink qupzilla/tmp into /tmp 2013-02-22 10:06:05 +01:00
nowrep
76849082e4 [LocationCompleter] Fixes performance when drawing really long urls.
data: urls can get really long (> 1000000 characters), so don't save
them in history from now on.
2013-02-22 09:36:47 +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
David Rosca
915b972e48 Merge pull request #777 from srazi/master
[FTP] fixed problem with 'link to file'+show shortcut icon for links
2013-02-22 00:04:26 -08:00
S. Razi Alavizadeh
120455b11a Used qIconProvider instead of QFileIconProvider() and removed msgHandler on Windows. 2013-02-22 03:43:59 +03:30
nowrep
64e6c36ed4 LocationBar: Fixed drawing cursor at correct position with popup opened. 2013-02-22 00:25:13 +01:00
S. Razi Alavizadeh
17591ce89f [FTP] fixed problem with 'link to file'+show shortcut icon for links 2013-02-22 01:28:22 +03:30
S. Razi Alavizadeh
06ad80583c IconProvider: fixed, return a fallback icon on non-linux OSes 2013-02-22 01:25:28 +03:30
David Rosca
2a5ff86972 Merge pull request #773 from srazi/Mac_work
Mac related fixes.
2013-02-21 02:11:07 -08:00
nowrep
3e743c9d1f Moved config directory info ~/.config/qupzilla
See #774
2013-02-21 11:05:00 +01:00
S. Razi Alavizadeh
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
S. Razi Alavizadeh
72c66cb218 [Mac] RSSManager/AdBlockDialog documentMode was disabled and fixed double cursor problem. 2013-02-21 00:20:07 +03:30
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
3b3e62cd76 [code] Explicitly set UTF-8 codec when using QTextStream.
Fixes encoding issues on Windows.

Closes #769
2013-02-20 19:50:59 +01:00
nowrep
ecfb784c92 Preferences: Adjust size to current page on page change. 2013-02-20 19:50:03 +01:00
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
nowrep
18a1d4802e Don't use double QUrl::fromUserInput in QupZilla constructor.
Closes #762
2013-02-19 11:56:47 +01:00
nowrep
ac7dc197ae Fixed hiding navigation container when disable and enabling tabs on top.
Closes #764
2013-02-19 11:23:21 +01:00
nowrep
27cd8cce64 Revert "[QtWin] using of direct WinAPI call."
It has to be resolved at runtime to provide the same binary
compatibility with Windows versions older than Vista.

This reverts commit 2db89f50bf.
2013-02-18 21:44:14 +01:00
S. Razi Alavizadeh
09bfa457e8 Forgotten changes from 91c88872f8, 6a4c45c0ad and 7b3b4f9b94 2013-02-18 23:33:46 +03:30
S. Razi Alavizadeh
df8eeb9525 Faster 'filterString()' for CookieManager. 2013-02-18 23:25:31 +03:30
nowrep
498f4b0555 [Windows] Adjust height of AboutDialog. 2013-02-18 19:19:26 +01:00
nowrep
8ec59bf8b0 [Windows] Linking to system hunspell library 2013-02-18 19:09:29 +01:00
nowrep
f3c7f5a3ba [Qt5] Fixed failing FormCompleter tests. 2013-02-18 13:37:33 +01:00
nowrep
4f53179752 [Qt5] Fixed building with Qt5. 2013-02-18 13:37:12 +01:00
nowrep
5b0f37abd5 Fixed crash when showing multiple notifications with Tabs On Top. 2013-02-17 11:41:42 +01:00
David Rosca
749889dc73 Merge pull request #761 from srazi/qtwin_work
[QtWin] using of direct WinAPI call.
2013-02-17 02:13:26 -08:00
nowrep
742326bde7 Added possibility to select text on page with Shift+Arrow keys.
Shift+Right Arrow        => select next char
Shift+Left Arrow         => select previous char
Shift+Ctrl+Right Arrow   => select next word
Shift+Ctrl+Left Arrow    => select previous word
Shift+Home               => select start of line
Shift+End                => select end of line
Shift+Ctrl+Home          => select start of document
Shift+Ctrl+End           => select end of document
2013-02-17 11:07:02 +01:00
nowrep
91c88872f8 Go to fullscreen in QWindoStateChangeEvent.
It is now possible to go properly to fullscreen also from Window
Manager's actions/shortcuts.
2013-02-17 11:05:35 +01:00
S. Razi Alavizadeh
2db89f50bf [QtWin] using of direct WinAPI call. 2013-02-17 13:35:11 +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
S. Razi Alavizadeh
6a4c45c0ad [Win] another solution,isChangingTab() removed from last commit. 2013-02-16 16:02:33 +03:30
nowrep
a84b180444 [AutoFill] Fixed extracting form on Twitter.com
Twitter uses multiple same forms (differing in class and id names).
Now PageFormComplter also tests occurence of username name=value pair
in sent post data.
2013-02-16 11:20:03 +01:00
nowrep
12e49d1bf4 Filter "QFont::setPixelSize <= 0" warning from stderr. 2013-02-16 11:19:00 +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
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
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
S. Razi Alavizadeh
e934af92bf [Win] fixed issue when transparent background is enabled 2013-02-14 21:45:24 +03:30
S. Razi Alavizadeh
7c0e0ab45e [Mac] Changed fullscreen shortcut to Ctrl+Fll, and fixed issue from 83f3c90752 2013-02-14 21:36:38 +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
1059936d57 [Updater] Send also OS type when checking for new version. 2013-02-12 16:52:30 +01:00
nowrep
1769193284 Coding style. 2013-02-12 11:14:25 +01:00
S. Razi Alavizadeh
1f9ce798a7 [FTP] Used a new method for list/download to support some FTP servers. see #753 2013-02-12 13:28:11 +03:30
nowrep
789b4c8600 Select all on (double) click also available for websearchbar.
Closes #752
2013-02-12 08:16:05 +01:00
nowrep
e069da55e3 [X11] Fixed showing window in fullscreen with XFCE.
Closes #648
2013-02-11 17:59:21 +01:00
nowrep
bea5f72ad7 [SiteInfo] Improved setting height of section widget. 2013-02-11 17:11:13 +01:00
nowrep
9a99509faf Proper fix for restoring current tab.
Fix for 3b4d2f5534
2013-02-11 16:45:10 +01:00
nowrep
09cf53a292 LocationBar: Don't paint cursor when showing most visited in popup. 2013-02-11 13:33:02 +01:00
nowrep
8a1502c9cf Draw line at the bottom of navigation bar if tabs are on top.
To visually distinguish navigation bar from the page
2013-02-11 13:08:11 +01:00
nowrep
3b4d2f5534 [Regression] Fixed restoring current tab.
Regression from 38c4d347c9
2013-02-11 11:02:42 +01:00
nowrep
76f324549e Updated copyright to 2013.
Closes #750
2013-02-11 09:59:53 +01:00
nowrep
38c4d347c9 [TabsOnTop] Fixed flickering when closing tab.
It only occured when closing tab and going to tab that hasn't
been loaded yet (don't load tabs until selected)
2013-02-11 09:51:22 +01:00
nowrep
0133886b06 Revert "[jsoptions] Added "Disable or change context menu" option"
It broke Inspect Element action.

This reverts commit f6de3bd5a0.
2013-02-10 20:42:16 +01:00
nowrep
a1a8fb90f5 Added option to choose where to store network cache. 2013-02-10 14:50:18 +01:00
nowrep
06b582a37e [popupwindow] Show locationbar's icons also in popup windows. 2013-02-10 14:09:28 +01:00
nowrep
23690d4154 [code] Moved checking for RSS into WebView. 2013-02-10 14:09:11 +01:00
nowrep
49b1e4c43c [code cleanup] Moved logic of locationbar's icon into separate classes. 2013-02-10 12:28:53 +01:00
nowrep
c9bcf15f9b [popupwindow] Show minimal version of search toolbar.
Also set minimumWidth.
2013-02-10 11:25:44 +01:00
nowrep
67d1a8af84 [popupwindow] Fixed copying text from locationbar. 2013-02-10 11:17:44 +01:00
nowrep
15f2471f93 [code] Don't use LineEdit class when not needed. 2013-02-10 10:46:15 +01:00
nowrep
d8527917ca [code] Remove wantsFocus(QUrl) signal. Instead using better solution.
When HTTP authorization is requested, this signal is used to
set the originating WebTab as current widget in tabwidget.
2013-02-10 10:38:12 +01:00
nowrep
00cf5cdbd2 Exporting SpellCheck classes + fixed some translation issues. 2013-02-10 10:28:13 +01:00
nowrep
fcbf1e636b [Fix] Bad behaviour on clicking into selected text in locationbar.
Closes #751
2013-02-09 21:55:23 +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
e08a4d9836 Use consistently British English in UI 2013-02-09 19:49:02 +01:00
Jonathan Hooverman
4e2a829680 Use consistently British English in UI 2013-02-09 19:43:13 +01:00
nowrep
b525e0740a Don't save window geometry when in fullscreen. 2013-02-09 15:47:06 +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
nowrep
8a6beac501 Show toolbars menu on right click in menubar and navigation toolbar. 2013-02-09 14:08:12 +01:00
nowrep
83f3c90752 Added option to show tabs on top.
You can change it in Menu View -> Toolbars

Closes #640
2013-02-09 13:00:45 +01:00
nowrep
732c1b533f Coding style. 2013-02-09 12:40:20 +01:00
S. Razi Alavizadeh
e1e62db4c4 Updated .gitignore and fixed a typo 2013-02-09 14:47:26 +03:30
S. Razi Alavizadeh
05a8b7fcc5 [Mac] Fixed, actions were not triggered. 2013-02-09 14:47:25 +03:30
S. Razi Alavizadeh
a1ff0799cb [Mac gobalmenu] Fixed issue about bookmark menu and sidebar menu. 2013-02-09 14:47:24 +03:30
S. Razi Alavizadeh
7b0e45269f [Mac] Create menubar's instance just for FirstAppWindow 2013-02-09 14:47:22 +03:30