1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
Commit Graph

740 Commits

Author SHA1 Message Date
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
nowrep
eb82df9aef Coding style: Moved showing BookmarksWidget into LocationBar 2012-09-14 22:09:58 +02:00
nowrep
884c152c39 Fixed crash when opening qupzilla:restore in multiple tabs.
closes #567
2012-09-12 14:03:26 +02:00
nowrep
5cf6b1c565 Fixed color of text in labels in SiteInfo/Bookmarks/RSS urlbar popup.
- using tooltip text color with gtk+ and besping styles
2012-09-12 11:59:23 +02:00
nowrep
2d5b0c0bc0 Don't check for null pointer before deleting objects.
- as delete 0 is safe
2012-09-11 11:43:11 +02:00
nowrep
0704236d3e Added Name/Folder labels back to BookmarksWidget. 2012-09-11 10:55:37 +02:00
Franz Fellner
4a33a9c538 Remove Name/Folder-Labels, change SpeeddialButton into a ClickableLabel. 2012-09-11 10:47:59 +02:00
Franz Fellner
d70894866b run coding_style.sh 2012-09-10 15:11:24 +02:00
Franz Fellner
5ca9b8b21a Take the edited title into account when saving the bookmark. 2012-09-10 15:05:27 +02:00
Franz Fellner
29cc7cf47d Rework the quick bookmark widget.
* QupZilla is not firefox or chrome: QZ has speeddial by default, the latter ones only by extensions.
    So adding an url to the unsorted bookmarks by default when clicking the star is a no-go, as the user probably only wants to add a speed dial.
    The star is the only possibility to add speed dials.

    * Having a save and a remove-button possibly confuses the user (at least confused me ;))
    Only take one button and change the text according to the state.

    * Disable the name-edit and folder-combo in the case the url is already bookmarked.
    Chosing another folder and press save will move the bookmark to another folder.
    Moving bookmarks IMHO is the job of the "organize bookmarks" tool (renaming them, too)

    ***
    In a future (post-1.3.5) I would like to see the bookmark-button an the folder-choser merged like it is done in Opera.
    (Opera HAS speed dial by default)
    But I am open for suggestions :)
2012-09-10 09:34:05 +02:00
nowrep
8d8a033ebd LocationCompleter: Reset scrollbar position when hiding completer
- fixes issue with opening completer scrolled down when showing
  new suggestions

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:54:53 +02:00
nowrep
7189ff58b4 LocationCompleter: Improved sorting bookmarks by visit count.
- it sorts by visit counts of bookmark's url from history
- count column in bookmarks is not needed after all :-)

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:52:32 +02:00
nowrep
a79522be4d Show unsorted bookmarks in bookmarks menu. 2012-09-08 19:42:40 +02:00
nowrep
de6ce70038 Merge branch 'master' of github.com:QupZilla/qupzilla 2012-09-08 19:29:05 +02:00
nowrep
f548c45f6a Check for normal tabs count when asking whether to close window.
- eg. don't take into account pinned tabs
2012-09-08 19:28:47 +02:00
Mark Tolley
36dd2e086d Fix build on windows 2012-09-07 19:31:55 +01:00
nowrep
17bb99a8d8 Edited BookmarksWidget UI (widget showed after clicking on star button)
- in address bar
2012-09-06 20:34:18 +02:00
nowrep
3c70ebcd65 Regression: Fixed restoring state on Windows.
- regression from previous commit
2012-09-06 12:56:38 +02:00
nowrep
ba7f919cd5 Location/Search Bar: Always open new active window with Alt+Enter
- in Web Search Bar it can be also opened with middle click on
  magnifying glass button
2012-09-06 12:02:03 +02:00
nowrep
55845ab4df X11: Restore windows on correct virtual desktops
- this will not be used for first application window, to prevent
  starting application and no window being opened on current
  desktop

   = applies only for other restored windows (2nd, 3rd, ...)
2012-09-06 11:39:42 +02:00
nowrep
11244acc6e Fixed crash when dragging site with empty url from siteicon 2012-09-06 11:29:05 +02:00
nowrep
5a3f4e5f4d Fixed crash when dragging bookmark from manager to sidebar 2012-09-06 11:28:43 +02:00
nowrep
3aba5ac7a0 Merge branch 'master' of git://github.com/srazi/qupzilla into srazi-master 2012-09-06 10:57:43 +02:00
nowrep
726b11fab3 LocationBar: Show go icon when getting focus with edited text
closes #554
2012-09-06 10:53:37 +02:00
S. Razi Alavizadeh
d9ae633d1a Added Drag-n-Drop functionality to bookmarkmanager and bookmarksidebar. 2012-09-06 02:22:40 +04:30
nowrep
a046ec4ece Show better icons in Preferences for oxygen icon theme
- only when oxygen icon theme is actually used
2012-09-05 19:58:30 +02:00
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
1afc663e91 GreaseMonkey: Use QLatin1String and QLatin1Char in script parsing 2012-09-04 11:29:47 +02:00
nowrep
40a335bc1f AdBlock: Improved string performance when parsing rules
- using QLatin1String and QLatin1Char
2012-09-04 11:24:41 +02:00
nowrep
7b21bf61f1 Q_OS_X11 macro is invalid in both Qt 4 & 5.
- so for now, use just Q_WS_X11
2012-09-04 10:54:39 +02:00
nowrep
c7cdaf824f Qt5: Changing Q_WS_* macros to Q_OS_*
- Q_WS_* macros have been removed in Qt 5
2012-09-03 23:03:20 +02:00
nowrep
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00
nowrep
30b8eaf44e Another Oxygen workaround for pinned tab width.
- it now also center site icon in the tab
2012-09-03 15:28:37 +02:00
nowrep
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
d5e21ab911 BookmarksSideBar: Get focus to search line when opening sidebar
- also addeed support for opening bookmarks with Enter
   * Enter - opens bookmark in current tab
   * Ctrl + Enter - opens bookmark in new tab
2012-09-02 15:53:00 +02:00
nowrep
2c57528d29 LocationCompleter: Sort also results from bookmarks by count
- bookmarks get +10 count because bookmarks gets count only
  from location completer and bookmakrs manager/sidebar
  but history entries gets count also from navigating through
  webpages (eg. click on link, redirect, ...)
2012-09-02 15:36:20 +02:00
nowrep
ec70c7d43d LocationCompleter: Bookmarks results are now ordered by count 2012-09-02 15:19:12 +02:00
nowrep
cff5fce5da Fixed showing close buttons on pinned tabs.
- regression from 1e5b7d92cd
2012-09-02 14:18:07 +02:00
nowrep
1d919e0172 Fixed width of pinned tabs on all Qt styles.
closes #518
2012-09-02 12:22:11 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
0437ae171f LocationCompleter: Draw light line at the bottom of item
- also space between title and link is now 2px bigger because
  of underlining
2012-09-01 17:23:17 +02:00
nowrep
179d173bcf Removed explicit setting of font size to 8pt from previous commit.
- mistake ...
2012-09-01 17:00:27 +02:00
nowrep
8429f84879 LocationCompleter: Another improvements and fixes.
- draw 1px line for fonts smaller than 9pt
2012-09-01 16:58:55 +02:00
nowrep
53d4f00c36 Added option to start new instance of browser with --no-remote option
- however, new instance cannot be started for default profile

closes #541
2012-09-01 15:59:27 +02:00
nowrep
6d52ef3c77 LocationCompleter: Painting underline manually looks better than by Qt
- QFont::Underline is ugly with graphicssystem raster
- also fixed issue when not all parts of text was highlighted as they
  should be
2012-09-01 15:35:27 +02:00
nowrep
9f376ac14c Enabling sorting for Table/Tree Widgets everywhere. 2012-09-01 13:56:00 +02:00
nowrep
b442492c27 Fixed small bug with domain matching
- accounts.youtube.com won't be matched by s.youtube.com anymore
- fixes ||s.youtube.com^ AdBlock rule matching anything from
  https://accounts.youtube.com
2012-09-01 11:41:12 +02:00
nowrep
575b211997 Search suggestions in address bar now take into account hit count too
thanks to Franz Fellner
2012-08-31 22:05:14 +02:00
nowrep
c6d1743706 Disabling touch mocking on Google sites.
- fixes issue with Google maps with menu not hiding

closes #545
2012-08-31 15:20:00 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
S. Razi Alavizadeh
2861f4dae4 Fixed conflict between blur background and Adobe PDF plugins on Windows. 2012-08-30 13:16:58 +04:30
nowrep
f1c9112a86 Fixed close buttons on tabs not working after recent commit.
closes #533
2012-08-28 10:40:03 +02:00
nowrep
4f3c3cdcc4 Fixed navigation keys not working right after closing search bar
- keys PageUp, PageDown, Space and arrows

closes #530
2012-08-27 16:02:08 +02:00
nowrep
1e5b7d92cd Hiding close buttons when there is not enough space in tabbar
- to partially prevent overflowing tabs into tab buttons
- it is now possible to show 24 tabs in tabbar in
  640*480 window without overflowing

closes #527
2012-08-27 14:02:35 +02:00
nowrep
58a07aed81 New option to hide close button on tabs
closes #526
2012-08-27 14:01:17 +02:00
nowrep
68ffa497bd Updated contributors and translators list in About dialog. 2012-08-27 13:00:36 +02:00
nowrep
f2c5a7ac92 Highlighting search text in address bar completer 2012-08-25 13:08:21 +02:00
nowrep
6e3d7d581b Smarter address bar completer now shows better search results
- thanks to Franz Fellner

closes #506
2012-08-25 13:08:06 +02:00
nowrep
dd84a84bc0 New option to show loading progress in address bar.
- enable it in Preferences -> Tabs -> Address Bar
- patch by Franz Fellner

closes #236
2012-08-24 20:53:53 +02:00
nowrep
2acc6021aa Regression: Fixed restoring sessions with pinned tabs.
- it was opening & restoring tabs in new window
2012-08-24 19:24:48 +02:00
S. Razi Alavizadeh
44f3b96b32 Fixed Compile error! 2012-08-24 20:04:09 +04:30
nowrep
20c03ba459 Fixed width of combo box in Add User Agent dialog.
closes #523
2012-08-24 14:55:06 +02:00
nowrep
7f2bc706de FileSchemeHandler: Don't list "empty folder" if file url is invalid
- instead show just "Content not found" error
2012-08-24 14:53:12 +02:00
nowrep
0e046b73de Don't show size of folders in directory listing.
- updated CHANGELOG
2012-08-23 18:40:56 +02:00
nowrep
6d997220c7 Added support for listing directories with file: scheme
closes #435
2012-08-23 16:17:56 +02:00
nowrep
983df81ee0 Try to return active window in MainApplication::getWindow 2012-08-23 15:52:07 +02:00
nowrep
60ae2c1705 Moved fileSizeToString into qz_ function 2012-08-23 15:40:10 +02:00
nowrep
5ca2e2d75f Using prepare SQL statements everywhere it is needed. 2012-08-23 15:37:43 +02:00
nowrep
8d2391da6f Moved scheme handlers into own directory network/schemehandlers 2012-08-23 11:36:36 +02:00
nowrep
3cb147743e Fixed compilation warning 2012-08-23 11:06:10 +02:00
nowrep
59824f2bff Added new google icon. 2012-08-22 20:01:14 +02:00
S. Razi Alavizadeh
7e7f914f74 The 'bookmarkswidget' was improved. 2012-08-22 17:18:27 +04:30
nowrep
c6445513e0 Don't close additionally opened tabs when restoring session
- if user opens app after crash, he will get 1 tab asking him
  about restoring a session
  if user opens another tabs and later decides to restore session,
  new opened tabs won't be closed

Patch by Franz Fellner
2012-08-22 13:45:03 +02:00
nowrep
80e89b2644 New Restore Session GUI - allows choosing to/not to restore each tab
- added as new qupzilla:restore page
- thanks a lot for work by Franz Fellner

closes #515
2012-08-21 20:28:38 +02:00
nowrep
a6fa9b8181 Setting min-width to #box in all internal pages 2012-08-21 20:17:01 +02:00
S. Razi Alavizadeh
1df223fbd1 Fixed problem about location of 'm_buttonAddTab' when there are lots of tabs opened. 2012-08-21 00:20:31 +04:30
S. Razi Alavizadeh
dbcbabdec3 Fixed 'QtWin' bug about changing of desktop composition state. 2012-08-21 00:17:43 +04:30
S. Razi Alavizadeh
07e17f7b47 In Windows transparent background must be disabled when app. is fullscreen. 2012-08-21 00:14:29 +04:30