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