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