1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-22 03:36:35 +01:00
Commit Graph

718 Commits

Author SHA1 Message Date
nowrep
3b648397b0 [code] Added checks before using QWebPage::view(). 2013-02-07 14:38:31 +01:00
nowrep
312a86d584 [spellcheck] Fixed adding some words into user dictionary. 2013-02-07 13:43:37 +01:00
nowrep
efe5ed8e7d Disabled opacity effect in animated tab previews by default.
It can still be enabled with ENABLE_OPACITY_EFFECT build variable.
This is final fix for #663
2013-02-07 12:35:54 +01:00
nowrep
9c31ff875e [adblock] Added RU Adlist into known subscriptions. 2013-02-07 11:12:54 +01:00
nowrep
3b301e8446 [adblock] Added support for $image rules.
It tests whether the url ends with .jpg/.jpeg/.gif/.png
2013-02-07 11:04:09 +01:00
nowrep
2bb002b62d Properly returning page to its original state after rendering preview.
See #663
2013-02-06 23:45:43 +01:00
nowrep
24957fd537 Fixed crash with "Allow js to disable context menu" option.
See f6de3bd5a0
2013-02-06 23:44:45 +01:00
nowrep
f6de3bd5a0 [jsoptions] Added "Disable or change context menu" option
User can now set whether sites are allowed to change or
completely disable context menu.
2013-02-06 18:17:50 +01:00
nowrep
60550fcbfb Fixed scrolling to anchor(#) links in background tabs.
Setting correct QWebPage::viewportSize() on creation.
Closes #663
2013-02-06 17:42:32 +01:00
nowrep
7c9d7fd25c [spellcheck] Enable SpellCheck on Windows by default. 2013-02-06 13:11:26 +01:00
nowrep
785b9fcdbe [spellcheck] Fixed replacing words in multiple lines text. 2013-02-06 12:06:35 +01:00
nowrep
67a08d237d [code] Using QVariant::fromValue instead of obsolted qVariantFromValue. 2013-02-05 22:33:54 +01:00
nowrep
0a7773bec1 [spellcheck] Added dialog with spell check settings. 2013-02-05 22:31:16 +01:00
nowrep
c3a0e1f13a [spellcheck] Added context menu options to replace misspelled words.
And also to add word into user dictionary.
2013-02-05 20:43:53 +01:00
nowrep
074bd928c7 [spellcheck] Adding Speller object into MainApplication. 2013-02-05 15:41:10 +01:00
nowrep
fc41e1516d [sourceviewer] Option to load edited source code in page.
Also fixed showing AdBlock css rules when reloading source.
2013-02-05 15:17:36 +01:00
nowrep
dfb69be90e Don't show AdBlock icon in webview context menu on editable content. 2013-02-05 13:41:30 +01:00
nowrep
668022ed64 Improved parsing of Content-Disposition header.
It now tries to detect whether UTF-8 encoding is used.
Closes #745
2013-02-04 22:48:34 +01:00
nowrep
37a81cdf30 Sending information about versions in reportbug page.
Improved OS detection on Windows. It will also show version
of Windows (except Win 8)
2013-02-04 13:07:21 +01:00
S. Razi Alavizadeh
e3db93740b Better RTL support for LocationCompleter and add direction property to dirlist.html 2013-02-04 15:14:56 +03:30
S. Razi Alavizadeh
396bac50b6 Update HTTP password when needed and remove redundant casting 2013-02-04 14:41:27 +03:30
nowrep
47eecba4da Added QtWebKit platform plugin for notifications and spellcheck.
It's mostly just copied implementation from qtwebkit-plugins repo.
Spellcheck is only very basic.

Spellcheck will be automaticaly compiled if pkg-config detects
installed hunspell library.
2013-02-03 18:14:57 +01:00
nowrep
c0c0d51b25 Little cleanups in code.
Show WebGL enabled with QtWebKit 2.3 only on Linux.
2013-02-02 13:54:26 +01:00
nowrep
00a5b62667 Fixed matching cookies according RFC 6265.
Perform cookie domain matching on domains without
leading dot.
Matching cookies against blocklist/whitelist is now
also properly working.
2013-02-01 14:45:42 +01:00
nowrep
0c10211cea [autofill] Change saved password when user enters new data.
Closes #734
2013-01-31 23:13:06 +01:00
nowrep
4fc6686185 Properly export form data if password input is the only input in form. 2013-01-31 21:29:30 +01:00
nowrep
4f3c8b0d00 Check for QtWebKit 2.2 availability with pkg-config.
Fixes issues with building with QtWebKit 2.2 and Qt 4.7
2013-01-31 20:27:37 +01:00
nowrep
f17f9f89b4 WebGL is now enabled by default on QtWebKit 2.3
Also fixed link in README and translated one string in czech
windows installer.
2013-01-31 19:17:38 +01:00
Mladen Pejaković
0b2bf6b0c0 Added search field in autofill manager in preferences. 2013-01-31 19:16:11 +01:00
nowrep
4f42040c7e Followup for background fix with dark themes. 2013-01-31 14:18:28 +01:00
nowrep
a97ef7d627 Properly fixed page background color with dark themes.
Also fixed building with Qt 4.7
2013-01-31 11:54:42 +01:00
nowrep
b97d1eeef5 Revert "Add new option "Ignore system colors" for dark themes."
This reverts commit 4b2fd86fdd.
2013-01-31 11:53:48 +01:00
nowrep
4b2fd86fdd Add new option "Ignore system colors" for dark themes.
It will set default background of html element to white.
However, this may break some sites, so let's just make this
optional.
2013-01-31 02:08:28 +01:00
Pier Luigi Fiorini
d56f1e9bd4 Fix build with Qt 5.1 development branch
QT_{BEGIN,END}_HEADER defines were removed.
2013-01-31 01:06:37 +01:00
Jonathan Hooverman
023a37802e Fixed typo 2013-01-30 21:09:27 +01:00
nowrep
bb1c775d50 Don't remove whitelisted cookies with "Remove all cookies on close" opt.
Closes #732
2013-01-30 18:49:35 +01:00
nowrep
109f607157 Fixed removing all cookies on close option.
Closes #731
2013-01-30 16:04:05 +01:00
nowrep
949bfe42ed GreaseMonkey: Reload scripts on when source file changes.
Closes #729
2013-01-30 14:12:09 +01:00
nowrep
e9b3442ef9 Use different network cache folders for each WebKit version
Fixed crashes when using cache from older QtWebKit in 2.3 version
2013-01-30 12:18:07 +01:00
nowrep
5569cec48b [win] Fixed building after last commit. 2013-01-29 20:58:08 +01:00
nowrep
95445738ef [win] Don't check for default browser on startup.
Also cleanup in #ifdefs in RegisterQappAssociation
2013-01-29 20:34:14 +01:00
nowrep
b415df3395 Fixed building on both Linux & Windows. 2013-01-29 19:55:09 +01:00
David Rosca
ecb1d54af3 Merge pull request #726 from srazi/master
Fixed downloader issue and some ftp related changes.
2013-01-29 10:29:32 -08:00
nowrep
5968849e6d Make "Switch to tab" translatable.
LocationCompleterDelegate does not include Q_OBJECT

Closes #725
2013-01-29 19:25:20 +01:00
S. Razi Alavizadeh
62d3fd8bbb [FTP] Caching file icons, also added ftp to installer script and associationManager() 2013-01-29 20:03:56 +03:30
S. Razi Alavizadeh
de7c9d56d3 Fixed crash on choosing non-writable download location. 2013-01-29 19:50:58 +03:30
nowrep
4f906fc515 Cleanup in locationbar progressbar settings in preferences. 2013-01-29 14:47:11 +01:00
nowrep
712877a068 Updated windows installer - remove untranslated languages.
And changed "Register http and https protocols" to "Register
http(s) and ftp protocols".
So this should be changed in all translations.
2013-01-29 14:23:10 +01:00
nowrep
53a30cbf39 Updated translations. 2013-01-29 13:40:15 +01:00
nowrep
570ecf36cd Using mApp->tempPath() everywhere. (PROFILEDIR/temp) 2013-01-29 13:16:24 +01:00
S. Razi Alavizadeh
d5ce0cf33f [FTP} no console output when there is no error. 2013-01-29 05:32:33 +03:30
S. Razi Alavizadeh
23a16726a8 Fixed bug about incorrect icon returned by QFileIconProvider() for the file that is going to download.
-and added the missing include
2013-01-29 05:22:08 +03:30
S. Razi Alavizadeh
dd58127293 Fixed blocking link with ftp and qupzilla schemes because of the 'Same Origin Policy'. 2013-01-29 05:15:10 +03:30
nowrep
709bc71f1a Merge branch 'srazi-master' + fixed building on Linux.
Conflicts:
	src/lib/lib.pro
2013-01-29 00:13:34 +01:00
hrobeers
fbfcc706c2 Support for loading not percent encoded bookmarklets.
Closes #722 #717
2013-01-28 23:10:49 +01:00
nowrep
780106ddd0 Draw cursor in locationbar when completion popup is shown.
Closes #645
2013-01-28 19:38:03 +01:00
nowrep
eb583d429b New dialog in preferences: HTML5 Permissions
Show all sites that will have permanent permissions (be always
blocked) to show desktop notifications / use geolocation.
2013-01-28 18:20:36 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
772440d86c Fixed opening target=_blank links in new tab.
Regression from b7cc728d63610978dbac37238b00f0e08cf58ddc#L3R102
2013-01-27 20:49:22 +01:00
nowrep
b70fc83474 Fixed position of background images in SpeedDial.
Regression from df6417af4a
2013-01-27 13:29:35 +01:00
nowrep
32f69c89be Don't steal Ctrl+U/B/I shortcuts from page.
When writing eg. mail on gmail, you can make text bold,
underline and italic with Ctrl+U/B/I shortcuts.
It will now correctly process the web action instead
of showing bookmarks sidebar, source of page and page info.

Shortcut for bookmarks sidebar has been change to Ctrl+Shift+B
2013-01-26 21:58:09 +01:00
nowrep
84dc48ef67 Don't show "Resend form" dialog when app is starting. 2013-01-26 12:20:46 +01:00
nowrep
1f2b0eef87 Possible to open background/selected tab from "Open in new tab" action
Inverts the prefered option to opening new tabs with middle mouse click.
Closes #635
2013-01-26 12:07:32 +01:00
nowrep
3caf5535cd PageFormCompleter: Improved detecting sent form.
Also added new test.
2013-01-26 11:09:25 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
3cdb4c26df Fixed setting current tab after recovering crash.
It set currentIndex - 1 before.
2013-01-25 23:36:50 +01:00
nowrep
359e1842a0 Fixed crash when showing context menu in websearchbar. 2013-01-25 22:42:20 +01:00
nowrep
df6417af4a Final fix for page background with dark themes.
Background of html element is now by default set to
white.
Closes #602
2013-01-25 21:14:37 +01:00
nowrep
3f616b330d Added Inspect Element action into popup window's context menu. 2013-01-25 20:00:37 +01:00
nowrep
b7cc728d63 Improved PopupWindow + added correspoding tests.
Added menu to popup windows. It is now also possible
to search on page in popup window (Ctrl+F).
2013-01-25 19:52:30 +01:00
nowrep
498f24add1 [Code] Renamed AutoFillModel + new class PageFormCompleter. 2013-01-24 17:47:50 +01:00
nowrep
21d2c57dd8 Added autotests for QzTools helper functions. 2013-01-24 14:25:26 +01:00
nowrep
25cf1eedc4 Fixed broken Click2Flash from previous commit.
Broken by mistake in e28f9d438e
2013-01-24 00:00:57 +01:00
nowrep
1fef4efec7 Using clever approach to find username inputs in form.
Saving passwords and usernames should now work for much
more sites.
It now looks for input[type="email"] and inputs without
type attribute too.

Closes #674
2013-01-23 23:23:48 +01:00
nowrep
30719365ac Fixed loading NYTimes Skimmer page.
https://www.nytimes.com/skimmer/#/Top+News

Implemented applicationCacheQuotaExceeded and databaseQuotaExceeded
slots that increases quotas.
2013-01-23 18:48:51 +01:00
nowrep
2135ab8d13 Final proper fix for showing popup windows with QtWebKit 2.3
Checking only size of popup window as 100x100 is the smallest
possible size.
2013-01-23 18:23:34 +01:00
Mladen Pejaković
00268a294b Fix closing Settings tab in Cookies dialog 2013-01-23 14:00:37 +01:00
nowrep
a34a72cdb8 Moved all cookies settings into Cookies Manager. 2013-01-23 01:34:15 +01:00
S. Razi Alavizadeh
347cebcf8a [Windows] Fixed saving files endings with space. 2013-01-22 22:56:39 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
9f2de4b73a [Code] Made all helper functions static. 2013-01-22 18:12:21 +01:00
nowrep
90a6b79050 Proper fix for #608 saving page screen.
It now split the page by 20000 pixels and render it.
Images are then saved on disk in parts.
2013-01-22 16:17:50 +01:00
nowrep
3729649f6b Fixed using new icon for search button. 2013-01-22 15:31:50 +01:00
nowrep
ab3c351e5a Limit height of image in PageScreen to prevent crash.
Closes #608
2013-01-22 11:45:45 +01:00
Longer
54724ead2b Added Ctrl+F4 shortcut to close current tab. 2013-01-22 11:30:09 +01:00
nowrep
6ebfee73ba [Linux theme] New icon for search button in searchbar.
Use "edit-find" icon for theme, if there is no such
icon, the old one will be used.
2013-01-21 22:39:20 +01:00
nowrep
01f07a4a2a Properly fixed opening popup windows for QtWebKit 2.3
The workaround is now only used for QtWebKit 2.3 and
it checks only for x, widht and height in QRect
2013-01-21 22:11:46 +01:00
nowrep
743c402603 Coding style. 2013-01-21 22:11:31 +01:00
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
S. Razi Alavizadeh
6c3d210544 [Qt5][Windows] Now QupZilla compiles with Qt5 on Windows (msvc).
-There are some issues when enabling blur effect!
2013-01-20 01:52:30 +03:30
S. Razi Alavizadeh
6072b7c4be [Windows] fixed include conflicting when defining 'W7TASKBAR' 2013-01-19 23:49:41 +03:30
S. Razi Alavizadeh
f917f03b26 [Windows] fixed: open folder and select downloaded file (using ShellExecute for run explorer).
-Now it covers all possible situations (e.g. path with spaces, file without extention, ...)
2013-01-19 23:49:25 +03:30
nowrep
ef4cfad805 Removed USE_QTWEBKIT_2_2 build variable.
It will now be automatically detected.
It assume that if you are building with Qt 4.8 and higher,
you have QtWebKit 2.2 and higher.
2013-01-19 19:37:40 +01:00
nowrep
81ac819746 Ask user to allow site to use notifications/geolocation.
With option to remmber the choice for page.
2013-01-19 17:28:12 +01:00
nowrep
8cc303a355 Fix possible crash on startup.
Don't calculate space for tab if the available
space is negative.
2013-01-19 16:34:19 +01:00
nowrep
8581abf472 File scheme handler: Sorting files case insensitive. 2013-01-19 15:55:04 +01:00
nowrep
fa62b299a0 Fixed opening popup windows with QtWebKit 2.3
It now correctly opens new tab / popup window
according to arguments in window.open call.
2013-01-19 01:05:17 +01:00
nowrep
c43ca265f6 RecoveryWidget: Switch positions of buttons.
Buttons now match Firefox.
Start new session is first and then Restore.
2013-01-17 19:44:57 +01:00
nowrep
a84a071b5c [Fix] Saving '+' character in passwords/usernames
Closes #703
2013-01-16 15:26:34 +01:00
nowrep
7e6802ba35 [Qt5] Ported all plugins to Qt5 plugin system 2013-01-16 14:53:17 +01:00
nowrep
51f1c73d20 Coding style 2013-01-16 14:52:50 +01:00
nowrep
4d0a4adc22 Merge branch 'bookmarks_work' of git://github.com/srazi/qupzilla into srazi-master 2013-01-15 12:17:37 +01:00
nowrep
71724d6ff4 Add QupZilla* pointer to PopupWindow class 2013-01-13 00:53:48 +01:00
S. Razi Alavizadeh
05b5ebd1ef Bookmarks: when deleting lastFolder set it to default. 2013-01-10 20:35:02 +03:30
S. Razi Alavizadeh
da13a65c35 Move connectons from .ui to .cpp 2013-01-10 20:18:35 +03:30
S. Razi Alavizadeh
01cc581add Added 'Expand All' and 'Collapse All' buttons to bookmarks manager. 2013-01-10 10:55:46 +03:30
S. Razi Alavizadeh
cc870ec451 Bookmarks: Don't allow creating folder with translated name of "bookmarksToolbar", "bookmarksMenu" or "unsorted"! 2013-01-10 01:21:34 +03:30
S. Razi Alavizadeh
8f2b9a00e0 Bookmarks: Added BookmarksTree class that manages all bookmark's view types.
-BookmarksSidebar, BookmarksWidget,BookmarksManager and ... use BookmarksTree
-Added 'New Folder...'
-Fixed some issues
2013-01-10 01:21:32 +03:30
nowrep
a0203c3fbb [QtWebKit 2.3] Enable 3rd party cookie policy. 2013-01-09 19:12:42 +01:00
nowrep
6bf53c0332 [QtWebKit 2.3] Disable unnecessary workarounds.
Disabled touch mocking and fake user agent.
2013-01-09 19:00:48 +01:00
nowrep
64a180d1fe Enable new features in QtWebKit 2.3.0
Also hiding new features in preferences if building
with older QtWebKit versions.
2013-01-09 18:47:36 +01:00
nowrep
151bba6293 Small changes in JsOptionsDialog 2013-01-09 13:52:12 +01:00
David Rosca
993c4edc04 Merge pull request #692 from pejakm/master
JavaScript privacy options in preferences
2013-01-09 04:41:42 -08:00
nowrep
4fdebc7abe Fixed qvalue in Accept-Language header
Using decimal point now.

Closes #696
2013-01-04 15:46:57 +01:00
S. Razi Alavizadeh
2ad3d828da RecoveryWidget: doesn't disable child item when root item is unchecked, just uncheck it! 2012-12-29 21:18:59 +03:30
Mladen Pejaković
85979cd378 Cosmetic changes to JavaScript options dialog 2012-12-29 14:05:19 +01:00
Mladen Pejaković
11758c3687 Change default values 2012-12-29 13:58:30 +01:00
S. Razi Alavizadeh
6f5d32eddf Fixed problem of setting listWidget's height from recent commit: f27137f8ae 2012-12-29 11:31:01 +03:30
S. Razi Alavizadeh
653f1478ec Fixed compile issue from recent commit: 02ea92ad28 2012-12-29 11:28:11 +03:30
Mladen Pejaković
bba5d3680d JavaScript privacy options, update, part2 2012-12-28 19:54:34 +01:00
Mladen Pejaković
03d5b48538 Merge remote-tracking branch 'upstream/master' 2012-12-28 19:52:20 +01:00
nowrep
f27137f8ae Fixed rendering issues in ListWidget in SiteInfo
It should now be rendered well with all possible
font sizes.

Closes #663
2012-12-28 01:59:39 +01:00
Mladen Pejaković
d8e6f5f483 JavaScript privacy options, update, part1 2012-12-28 01:58:31 +01:00
Mladen Pejaković
ea604d5bca JavaScript privacy options 2012-12-28 01:17:01 +01:00
nowrep
8cca4437f1 Fixed crash in qz_escape()
Closes #691
2012-12-27 11:31:10 +01:00
nowrep
64355e2a3d Qt4: Fixed broken session restoring.
Adding Qt version into sessionVersion number
only when using Qt 5.

Closes #689
2012-12-25 16:56:23 +01:00
nowrep
02ea92ad28 Qt5: X11: Fixed moving windows to virtual desktops
Moving windows to virtual desktops upon restoring
session.
2012-12-22 15:01:55 +01:00
nowrep
bdc9a0417a Qt5: Added new option to use Caret Browsing
It can be enabled from Preferences -> Browsing,
Menu View or with F7 shortcut.
2012-12-22 13:52:46 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
09febcb743 Qt5: No longer use fake user agent on google sites
QtWebKit version Qt5 is current enough to handle well
all google apps.
2012-12-22 12:20:23 +01:00
nowrep
2f764f0a25 AdBlock: Slightly edited behavior of showing menu
Don't show blocking options in menu on sites that AdBlock
cannot run.
eg. qupzilla:, file:
2012-12-22 12:14:55 +01:00
nowrep
d80990fd50 Qt5: Fixed crash when choosing encoding of page 2012-12-22 12:03:54 +01:00
nowrep
666f6678f3 Qt5: New option to turn Animated Scrolling
Feature similiar to "smooth scrolling"
2012-12-21 16:38:44 +01:00
nowrep
f6a55a4c07 Qt5: Take advantage of builtin 3rdparty cookie storage policy.
It will now be much more accurate.
2012-12-21 16:25:00 +01:00
nowrep
69eed9efe0 Qt5: Disabling touch mocking workaround for some pages.
It is working all right now with latest QtWebKit.

See issues #634 #33
2012-12-21 16:04:57 +01:00
nowrep
cadfd63b1e Fixed rendering pages with Qt 5
Filtering "\" from AdBlock CSS rules.
2012-12-20 22:57:58 +01:00
nowrep
365c0d5efd Qt5: Added info about Qt version into session files.
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
David Rosca
7b66f5551b Merge pull request #672 from srazi/master
A better size-hint for active tab.
2012-12-11 04:29:08 -08:00
S. Razi Alavizadeh
15cc84f1b1 Fixed the issue about computing of rounding errors 2012-12-11 12:24:40 +03:30
nowrep
930720517a Updated translations 2012-12-10 14:59:12 +01:00
Franz Fellner
64ab914ab1 Make Ctrl+Q shortcut work on X11 for WMs other than Kde or Gnome.
e.g. when running e17, fluxbox, twm...
2012-12-10 12:47:28 +01:00
S. Razi Alavizadeh
9db9c89eb8 A better size-hint for active tab.
-Now the active tab has enough space for its close button.
2012-12-10 02:56:25 +03:30
Franz Fellner
c36e59c31e Set m_ignoreCurrentChangedSignal to false directly after setCurrentIndex()
instead of in currentChanged().
This solves problems for the very first popup not triggering currentChanged(),
so in that case the first item did not set the completion url. As long as the
connection type to currentChanged() remains a DirectConnection, this fix should work.
2012-12-09 08:15:21 +01:00
Franz Fellner
251ab8af66 Do not add an item to history only if reloading.
Should fix #666.
2012-12-08 21:18:30 +01:00
nowrep
4e114b69c5 Proper fix for previous commit
d42b50cc15 Empty locationbar upon writing first char
2012-12-08 18:12:31 +01:00
nowrep
d42b50cc15 [Fix] Empty locationbar upon writing first char
Closes #667
2012-12-08 16:50:16 +01:00
nowrep
889e2743f5 New icons for 'new-tab' and 'tab'
Also added icon to 'Switch to tab' text in
locationbar completer popup.
2012-12-08 14:10:30 +01:00
Franz Fellner
454d0d47dd [Fix] Infinite loop on bookmarking a page while history is empty
Previous fix as in 7a1bbd9 introduced new bug with history
sidebar being always empty.
This commit fixes this bug.
2012-12-08 11:39:03 +01:00
S. Razi Alavizadeh
6191a76be6 Fixed: issue from last commit that doesn't clear locationbar. 2012-12-08 02:19:12 +03:30
S. Razi Alavizadeh
234769e920 Now 'switch to tab' searches current window first.
-by ff2000, thank you :)
2012-12-08 02:04:38 +03:30
S. Razi Alavizadeh
efebfb8148 Fixed bugs 'switch to tab' switch to another window.
-see #665
2012-12-08 01:53:26 +03:30
S. Razi Alavizadeh
379f987280 Fixed: from 'switch to tab' commit.
1- Renew TabPositionRole's data when 'm_lastCompletion == string'
2- Don't switch to current tab, because we don't want clear its locationbar.
2012-12-07 21:00:50 +03:30
S. Razi Alavizadeh
6b7e13a29d Fixed missing 'include' from default-browser commit 2012-12-07 15:47:54 +03:30
Mladen Pejaković
b88773eb8f Merge branch 'master' of github.com:QupZilla/qupzilla 2012-12-06 22:28:40 +01:00
Mladen Pejaković
7b8786ae90 Fix index positions in preferences 2012-12-06 22:28:12 +01:00
nowrep
2dd3f80618 Little change to fix from previous commit 54e1bfeffa
Set QPalette white background color instead of setting
CSS stylesheet.
2012-12-06 22:23:11 +01:00
nowrep
54e1bfeffa [Fix] Use default white bg for pages with dark themes
This commit should finally resolve this issue. It is
setting background-color:white for html by default.

See #602
2012-12-06 17:51:16 +01:00
Franz Fellner
9ec85ad49d WebSearchBar: Select alls text + set focus after search engine changed.
This avoids another (double)click to select the text.
2012-12-05 11:53:56 +01:00
Franz Fellner
e9a8b8d7d8 Move switchToTab to QzSettings. 2012-12-04 16:16:45 +01:00
Franz Fellner
4c33d3563d Add "Switch to Tab" mode for completion plopup, to just seitch to the tab
that displays the url currently completed.
Also add an option to disable the "switch tab" offer.
If enabled the user can press "Shift" to load the url in the current tab instead of switching tab.
I tried to copy behaviour of firefox. I hope I did not miss a bit...
2012-12-04 14:29:27 +01:00
nowrep
1add5b51ca Fixed regression from 85d09c8a64
- crashing with disabled adblock icon
- thanks to @ff2000
2012-12-02 00:59:17 +01:00
nowrep
60792f3762 Coding style 2012-12-01 11:16:49 +01:00
S. Razi Alavizadeh
a81419921c Windows: Check to see if QupZilla is the default web browser.
-Added 'registerqappassociation.h' and 'registerqappassociation.cpp' that contain 'RegisterQAppAssociation' and 'CheckMessageBox' classes.
2012-12-01 10:27:55 +03:30
nowrep
85d09c8a64 Added option to disable Alt/Ctrl + numbers shortcuts
Closes #647
2012-11-28 11:27:30 +01:00
nowrep
0a2dbc83a0 Fixed dropdowns on Twitter instant hiding
- added twitter into exceptions for touch mocking
Closes #634
2012-11-28 09:43:47 +01:00
nowrep
999f499288 Use .qupzilla/tmp instead of /tmp.
- use it for downloading temporary files that are going
  to be opened
- this directory will be cleaned upon application close
2012-11-27 19:14:03 +01:00
nowrep
7a1bbd993d Fixed infinite loop when adding a bookmark
- when history is empty
Closes #652
2012-11-27 18:01:30 +01:00
Franz Fellner
7eaa2d11e0 Fixed crash when clearing history.
To reproduce the issue:
* clear your browsing history via the ui - do not close the browser
* start navigating pages, so that new items get inserted into the
* history model.
-> will crash as m_todayItem got deleted but not recreated, as it was
not NULLed.
2012-11-20 09:49:23 +01:00
S. Razi Alavizadeh
02a7742cc6 Fixed history case sensitive search. 2012-11-19 17:34:25 +03:30
nowrep
0c4b8e164e Don't set white body bg color for sites by default
- it does actually break some pages

Reverts 4fce161414
2012-11-09 14:59:46 +01:00
Luke Dashjr
66081f8625 Fixed moving restored windows to virtual desktops
- it wasn't working on some X servers
2012-11-04 23:50:20 +01:00
Franz Fellner
37da53731c Don't crash on adblock menu when adblock is disabled. 2012-10-27 13:36:48 +02:00
Franz Fellner
d08ec28d70 remove CloseButton::hideEvent()
That causes crashes when entering/leaving fullscreen mode when the tabbar has non-closable tabs.
deleteLater() in the hideEvent left a dangling pointer in the corresponding QTabBarPrivate::Tab.
The next re-layout of the tabs caused the crash when querying the size of the deleted closeButton:

[...]
2012-10-24 18:24:39 +02:00
nowrep
7f62d2e602 Option to hide Reload/Stop buttons in navigation bar
closes #615
2012-10-20 11:31:45 +02:00
nowrep
742a376109 Fixed cookie domain handling according to RFC 6265
closes #610
2012-10-19 13:59:40 +02:00
nowrep
ba84fa2d7a [Code] Small changes in showing context menu in url and searchbar
- may fix occasional crashes in Ubuntu
2012-10-11 19:57:12 +02:00
Franz Fellner
e08428a6d1 Force a LineEdit::paintEvent after a setCursorPosition, in order to
trigger a recalculation of the visible text rect.
2012-10-07 13:22:45 +02:00
nowrep
4fce161414 Set default white background for all pages.
- fixes issue with dark themes

closes #602
2012-10-06 11:15:58 +02:00
nowrep
fa1ee13611 Open bookmark (in new tab) from menu in bookmarks toolbar
closes #601
2012-10-05 22:15:18 +02:00
Franz Fellner
204e942f87 Cleanup in NavigationBar and WebSearchBar:
* move helper-functions in navigationbar.cpp into NavigationBar [private]
* remove (unused) 2nd arg in WebSearchBar/NavigationBar and use mainClass as parent.
* remove NavigationBar-destructor (not needed)
* remove WebSearchBar::m_menu and create a QMenu-instance directly in WebSearchBar::contextMenuEvent()
2012-10-01 11:26:07 +02:00
Franz Fellner
63edb90cbe Adjusted themes main.css to get a vertically centered contentsRect.
Also adjusted mac siteicon-[secure]-bg.png to not have opaque pixels, which would cut content (e.g. Top progress bar).
Filled bar is now drawn independent of textRect.
2012-09-30 10:55:44 +02:00
nowrep
3754f87978 Updated translations 2012-09-28 18:50:20 +02:00
nowrep
0459f0864c SearchEnginesDialog: Default search engine is now painted with bold font
+ coding style
2012-09-28 18:44:45 +02:00
Franz Fellner
04e8df6e48 Add option to set a default search engine and use that for searching in address bar. 2012-09-27 11:59:09 +02:00
Franz Fellner
40f97c73ab Add option to disable instant search on ech searchengine change. 2012-09-26 15:06:05 +02:00
David Rosca
7c95c78f26 Merge pull request #588 from srazi/master
Hide supermenu in fullscreen mode.
2012-09-20 23:15:55 -07:00
S. Razi Alavizadeh
37e5aba76c Fixed, don't show supermenu in fullscreen mode. 2012-09-21 08:43:27 +03:30
Alec Moskvin
4b2081ef5b Link to libX11 explicitly to prevent underlinking 2012-09-20 20:28:09 -04:00
David Rosca
f3f1c46521 Merge pull request #586 from ff2000/location_bar_options
Render the bar darker, if set to "Top" or "Bottom", as the small bar cou...
2012-09-20 08:00:52 -07:00
Franz Fellner
620e2a5ea2 Render the bar darker, if set to "Top" or "Bottom", as the small bar could be too hard to recognize.
Also set m_progressVisible only to false (in hideProgress), if m_loadProgress==100. If the user clicks
a link during the 700ms-timeout, the bar shows for a short time and hideProgress sets m_progressVisible to false, though
the page still is loading, which hides the bar in mid-run.
This also fixes the weird behaviour of the progressbar on session-restore.
2012-09-20 10:04:18 +02:00
S. Razi Alavizadeh
703a41c0f4 Fixed showing 'Preferences' window without parent.
-issue: 'Preferences::saveSettings()' doesn't work without parent.
2012-09-19 21:40:25 +02:00
S. Razi Alavizadeh
6d4005cd7b Fixed starting AboutDialog without parent. 2012-09-19 21:38:44 +02:00
Daniele Cocca
4ae804b954 Adding the possibility to search for whole words only in the source viewer. 2012-09-19 21:36:22 +02:00
Franz Fellner
4bb87822cf Highlight host in locationbar.
To simplify color computation I simply imported the "blib/colors.*" from bespin.
2012-09-19 20:24:41 +02:00
Franz Fellner
8723382b5c Add options to select color+style for progresss locationbar. 2012-09-19 10:08:30 +02:00
nowrep
eddc51734a Version 1.3.5 2012-09-16 20:42:07 +02:00
nowrep
5d80f4b380 Use QFrame::StyledPanel for LocationBarPopup
- also added copyright to new files
2012-09-16 20:19:10 +02:00
Franz Fellner
eb2256e2cf Also add the new files to the git index... 2012-09-15 17:54:12 +02:00
Franz Fellner
f3221c70d6 Introduce LocationBarPopup as base for - popups in the location bar.
The switch is needed due to palette problems on some color schemes (e.g. inverted look for popupmenus or tooltips), which could lead to unreadable text.
2012-09-15 17:39:54 +02:00