psyvisions
cb2a9ac206
Fix switched password forms
...
Password form for Manual Proxy was showing/saving the HTTPS password, and vice-versa.
2014-05-23 16:42:58 +01:00
David Rosca
75b532a4a1
[Build] Try to use only "lrelease" binary from PATH with Qt5
...
If the lrelease binary is not in QT_INSTALL_BINS/lrelease, try to use
just lrelease from PATH with Qt5, instead of incorrectly trying to use
lrelease-qt4
2014-05-23 11:40:12 +02:00
Mladen Pejaković
0fc6a30933
Implement offline mode. Closes #1241
2014-05-20 18:35:49 +02:00
Mladen Pejaković
ce7ea04f4a
Language strings fixes. Closes #1318 #1329 #1337
2014-05-14 18:29:20 +02:00
David Rosca
f83521ebb4
[AutoScroll] Fix scroll indicator position on Windows
...
For some reason, m_indicator->width() returns bigger value after
the first show/hide of indicator.
2014-05-12 12:31:25 +02:00
David Rosca
690d67ade8
Merge pull request #1333 from pejakm/fixgtr
...
[Webview] Use https for Google Translate. Closes #1331
2014-05-11 20:29:58 +02:00
David Rosca
39430458b3
[WebInspector] Add F12 shortcuto to show Web Inspector
2014-05-11 14:25:57 +02:00
Mladen Pejaković
6eeebd1866
[Webview] Use https for Google Translate. Closes #1331
2014-05-09 18:25:17 +02:00
Mladen Pejaković
9b44f384a2
[Cookies] More options for 3rd party cookies
2014-05-06 20:55:29 +02:00
David Rosca
e7646f1fbe
Pulled translations from Transifex
2014-05-04 21:02:20 +02:00
David Rosca
6bf9ae104f
Updated translation strings
...
[ci skip]
2014-05-04 20:56:01 +02:00
David Rosca
d534062cdd
[Windows] Load font.tff (if exists) and set it as default font
...
This is needed for N'ko translation as default Windows fonts
doesn't contain glyphs for N'ko language.
Closes #1223
2014-05-04 20:21:41 +02:00
David Rosca
7fab76b79b
[Build] Fixed build after last commit
2014-05-03 16:32:29 +02:00
David Rosca
9a3382ee85
[SideBars] Don't override cursor on scrollbars in History/Bookmarks sidebars
2014-05-03 15:23:07 +02:00
David Rosca
ad5dbe459c
[HistoryTreeView] Rewrite HistoryView to use same logic as BookmarksTreeView
...
It also fixes issue that middle click on item opened the url in both
current and new tab
2014-05-03 15:08:47 +02:00
David Rosca
0b6478d110
[ComboTabBar] Use initStyleOption workaround only for Bespin theme
...
It is needed only with Bespin.
With other themes, it actually makes it worse.
2014-05-03 11:40:14 +02:00
David Rosca
79a81a5f8a
[Build] Link to execinfo also with OpenBSD
...
[ci skip]
2014-05-03 10:34:17 +02:00
David Rosca
34feb19dab
[Code] TabHelper: Rename m_pinnedTabBar to m_isPinnedTabBar
...
[ci skip]
2014-05-02 22:16:48 +02:00
David Rosca
78fbccae15
[ComboTabBar] Correctly set QStyleOptionTab::position for tabs
...
This fixes rendering of OnlyOneTab with Bespin theme.
2014-05-02 22:15:36 +02:00
David Rosca
90760eaa2b
[ComboTabBar] Draw tabbar base even when main tabbar is empty
2014-05-02 21:39:08 +02:00
David Rosca
a30aac169a
[ComboTabBar] Fixed pinned tabs being hidden when there are no normal tabs
2014-05-02 21:25:49 +02:00
David Rosca
e6f4853af7
[TabBar] Show add tab button at correct position when there are no normal tabs
...
Fix 2 for #1322
Closes #1322
2014-05-02 20:15:05 +02:00
David Rosca
964a76c04b
[ComboTabBar] Correctly switch tabs when closing last tab in tabbar
...
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove
Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
d1754094b8
[TabBar] Use contextMenuEvent instead of customContextMenu signals
2014-05-02 13:39:02 +02:00
David Rosca
5f8ac0b70a
[GreaseMonkey] Fix coding style
2014-05-02 13:38:54 +02:00
David Rosca
7fc7558221
[ComboTabBar] Correctly returns tabAt over tab icon
2014-05-02 13:35:01 +02:00
David Rosca
e379b1b655
[MainApp] Open a new window when starting app while already running
...
Open a new browser window when attempting to start another instance.
See #1315
2014-05-01 14:08:06 +02:00
David Rosca
e007620da4
Merge pull request #1305 from char101/bug/fix-compile-error-1
...
Fix compile error with vc++ 2013
2014-04-29 08:23:00 +02:00
David Rosca
6ac5b913e0
[Translations] Removed sr@Ijekavian translations (with capital I)
...
[ci skip]
2014-04-26 16:21:31 +02:00
David Rosca
445747155f
[GreaseMonkey] Fixed downloading scripts to correct directory
2014-04-26 13:21:39 +02:00
David Rosca
2bbde2a3a8
[Translations] Pulled translations from Transifex
2014-04-26 13:03:47 +02:00
David Rosca
dc48ddbf47
[DataPaths] Use classic array instead of QHash for storing paths
2014-04-26 12:35:14 +02:00
David Rosca
d29abb4e54
[Mac] Use ~/Library/Application Support/QupZilla as ConfigPath
...
+ little cleanup in variable naming (homePath -> oldConfPath)
See #1302
2014-04-26 12:23:06 +02:00
David Rosca
5b25b4bda6
[DataPaths] USE_LIBPATH is always defined on Unix
...
No need to add "/usr/lib/qupzilla" to the Plugins path if
USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on
non-Unix platform.
[ci skip]
2014-04-24 12:03:18 +02:00
David Rosca
19800b174b
[Bookmarks] Use keyword as a shortcut for bookmark url in LocationBar
...
It is now possible to load bookmarks only with entering its keyword in
LocationBar and then pressing Enter (no need to select the bookmark
from popup completion).
2014-04-24 11:57:27 +02:00
David Rosca
6bdc6f90ce
[ToolButton] Use QImage for multiIcon
...
Instead of 4 separate QPixmaps, use just one QImage and paint only
the current part (according to button state) of the image on button.
2014-04-24 11:05:41 +02:00
Charles
3175840126
Fix compile error with vc++ 2013
...
Qz::VERSION is not exported
2014-04-23 15:12:32 +07:00
David Rosca
0f79797be4
[Build] Correctly choose /usr/lib/i386-linux-gnu as LIBDIR on 32b Debian
...
QMAKE_HOST.arch is empty on x86
2014-04-23 08:40:28 +02:00
David Rosca
59ad2db607
[ToolButton] Call update() from setMultiIcon
...
Fixes issue with reload/stop button not being correctly updated
with themes that use multiIcon for this button.
2014-04-22 23:06:18 +02:00
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