S. Razi Alavizadeh
d28154c3d2
ProxyStyle: Set tabbar alignment to left
...
Closes #1547
2014-12-16 15:18:57 +01:00
S. Razi Alavizadeh
8a7af28165
MainApplication: The getWindow() try to return the current active or last activated window
2014-12-02 22:05:17 +03:30
Eion Robb
f5606e9326
Fix for compiling Windows version with mingw
2014-11-24 09:28:12 +13:00
David Rosca
1e3556696c
Qt5: Enable HighDPI pixmaps
2014-11-14 09:28:42 +01:00
David Rosca
24ff9285f5
Use desktop availableGeometry for default window size calculation
2014-11-10 12:15:23 +01:00
David Rosca
03c875b229
Set default window size to be desktop size / 1.3
2014-11-10 11:50:53 +01:00
David Rosca
476bd93f55
Mac: Open new window when clicking on Dock icon
...
Closes #1517
2014-11-08 10:21:01 +01:00
David Rosca
478b5ddb84
Use open() instead of exec() in all dialogs
...
Avoid blocking exec().
Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
05c1fec5c6
Preferences: Prevent opening more than one window
2014-11-07 17:16:22 +01:00
David Rosca
b81c45486f
Fix build on Mac with Qt4
...
QKeySequence::FullScreen was only added in Qt5
Closes #1513
2014-11-04 10:29:04 +01:00
David Rosca
1ff1969941
Mac: Fix Preferences... action in application menu
...
Make sure the Configuration Information action won't be
detected as "Preferences..." action.
Also use native shortcut for fullscreen (Ctrl+Meta+F)
Closes #1332
2014-11-01 23:19:52 +01:00
David Rosca
3a9f2f9e78
Settings: Allow nesting instances without breaking groups
...
Closes #1511
2014-11-01 17:50:26 +01:00
David Rosca
5779b6b835
Adjust default font sizes
2014-11-01 10:01:29 +01:00
David Rosca
160190dfb3
master branch is now 1.9.0 development version
2014-10-11 13:11:49 +02:00
David Rosca
ee3322c64a
Fix crash when passing messages to running instance from commandline
2014-10-10 13:40:31 +02:00
David Rosca
30146476d6
Use bigger default font sizes
2014-10-08 22:12:22 +02:00
David Rosca
21fb7bff31
Preferences: Don't crash when opening with null BrowserWindow
...
Closes #1488
2014-10-07 16:15:23 +02:00
David Rosca
6390eb215b
Mac: Fix crash on startup due to invalid m_mainMenu pointer
...
Closes #1485
2014-10-07 11:10:31 +02:00
David Rosca
aac873bbb6
Show error message when QSQLITE plugin is not available
2014-10-05 16:13:00 +02:00
David Rosca
6d06975ccb
DataPaths: Coding style fixes
2014-10-03 09:21:40 +02:00
David Rosca
021b90f7b3
CookieManager: Switch to QDialog
...
This fixes issue when Cookie Manager may have been opened
under current window (eg. in Preferences)
2014-10-03 09:19:39 +02:00
S. Razi Alavizadeh
768e3ac143
Correct fix for #1479 and finally fix compile issue from two recent commits.
...
- Closes #1482
2014-10-03 04:04:59 +03:30
S. Razi Alavizadeh
a21d803b94
Fix compile issue after last commit.
2014-10-03 03:54:37 +03:30
S. Razi Alavizadeh
04721c6478
Make sure the Config and Temp pathes exist.
...
- Closes #1479
2014-10-03 00:34:09 +03:30
David Rosca
52f3811916
SpeedDial: Save using AutoSaver
...
Prevents losing dials in case of crash.
2014-09-29 18:23:42 +02:00
David Rosca
dc29f6bde5
QzTools: Add function to obtain url of QWebFrame
...
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used
The issue with empty frame url caused AutoFill to not complete
such frames.
Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
eec67d1941
Fix building with Qt 4.7
2014-09-26 19:28:24 +02:00
David Rosca
cf044356fa
Version 1.8.0
2014-09-26 10:35:35 +02:00
David Rosca
35b2fb22b4
Remove unnecessary qDebugs
2014-09-26 09:53:45 +02:00
David Rosca
b4f9a354d7
Plugins: Load plugins before creating first window
2014-09-25 17:51:38 +02:00
David Rosca
01b4fd971f
MainMenu: Fix shortcuts for toggling sidebars
2014-09-25 17:36:51 +02:00
David Rosca
68087d5a3f
QzCommon: Export all static strings (appname, buildtime, ..)
2014-09-25 15:00:56 +02:00
David Rosca
56dcdfe4a2
Mac: SuperMenu button is now available on Mac
2014-09-25 14:42:36 +02:00
David Rosca
e83d75f251
Mac: Re-enable system-wide menu menu bar
2014-09-25 14:27:25 +02:00
David Rosca
13b1614e11
Use std::sort instead of obsolete qSort
2014-09-25 14:13:26 +02:00
David Rosca
767e01fd22
Mac: Re-enable dock menu with New Tab, New Window and New Private Window actions
2014-09-25 14:09:26 +02:00
David Rosca
c607a2f717
FileMenu: Fix showing state of Work offline action
2014-09-25 14:05:54 +02:00
David Rosca
8c8789a05f
BrowserWindow: Always set "private" property to browser window
...
Set this property also when private mode is disabled
2014-09-17 16:19:27 +02:00
David Rosca
8b3da86976
Unix: Use /tmp/qupzilla-$USER as temp path
...
It makes it possible to run QupZilla on more accounts at the same time
2014-08-31 12:52:01 +02:00
David Rosca
de4f7115f8
Merge pull request #1431 from kdave/preferences-ctrl-q
...
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
2014-07-23 21:36:48 +02:00
Oleg Shparber
272c0c7807
Refactor encoding menu creation
...
* Use of codec MIBs instead of names significantly decreases
number of iterations
* Remove duplicated codecs
* Fix memory leaks which were caused by wrong parenting and
empty menus
* Do not add separator if menu is empty
2014-07-22 01:02:08 -07:00
David Sterba
ed9625ab5e
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
...
Motivated by #695 which targets broader task, Ctrl-Q behaviour is one
that stands out. Accidentally pressing it instead of Ctrl-W can have
disasterous consequences or is annoying. Other browsers provide either
generic keyboard shortcuts configuration (Opera) or an extension/plugin
to disable the behaviour (FF).
For the record of the usability demand:
https://code.google.com/p/chromium/issues/detail?id=59621
https://bugzilla.mozilla.org/show_bug.cgi?id=550559
2014-07-17 23:05:38 +02:00
David Rosca
9ed63f6323
[CloseDialog] Change text - there will always be more than 1 tab opened
2014-07-08 19:27:17 +02:00
David Rosca
6d66c5a470
[Fonts] Use own default font sizes
2014-07-08 18:38:02 +02:00
S. Razi Alavizadeh
4ea5974914
[Windows] Fixed some issue with the blur background effect,
...
- Also moved all of codes related to blur effect of tabbar to ComboTabBar.
2014-05-29 01:08:42 +04:30
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
39430458b3
[WebInspector] Add F12 shortcuto to show Web Inspector
2014-05-11 14:25:57 +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
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
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
Charles
3175840126
Fix compile error with vc++ 2013
...
Qz::VERSION is not exported
2014-04-23 15:12:32 +07: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
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
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
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 Sterba
f7552e42aa
[BrowserWindow] Add slash as a single key shortcut for search
2014-04-10 11:09:29 +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
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
S. Razi Alavizadeh
39c9fec3dd
[Windows] Fixed compile issues after aa248893
and 7f3d8ee7
2014-04-06 17:38:36 +04:30
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
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
aa248893c1
[TabWidget] Renamed getTabBar() to just tabBar()
2014-04-04 17:14:31 +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
551ccd6e3c
[BrowserWindow] Make sure window is created with at least one tab
2014-04-01 16:34:08 +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
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
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
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
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
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
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
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
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
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
20cd658274
[ProfileManager] Fix currentProfile() cutting last char of profile name
2014-03-16 15:31:19 +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
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
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
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
83bb7c757c
[CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow
2014-03-13 17:06:08 +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