Florian Bruhin
eb2ec3df58
Decrease num_tabs for test_add_remove_tab_benchmark
...
With 100 tabs, this takes 28s on my machine, and sometimes >90s on Travis.
With 70 tabs, it's down to 14s.
2018-10-06 12:28:49 +02:00
Jay Kamat
2f155e5d2b
Fix tabs appearing when updating all tab titles
...
Closes #4295
2018-10-05 18:55:30 -07:00
Jay Kamat
322b053cbf
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/visible-update-titles
2018-09-29 12:29:50 -07:00
Jay Kamat
a5f9115b2f
Only apply visibility toggle if we have >10 tabs
2018-09-29 12:26:42 -07:00
Jay Kamat
3081d017ce
Move tabbedbrowser test to tabwidget
2018-09-27 23:30:54 -07:00
Jay Kamat
de148bb778
Fix tabwidget tests
2018-09-27 19:59:43 -07:00
Jay Kamat
d64771b8e3
Clean up tab min/max width tests
2018-09-27 18:57:26 -07:00
Jay Kamat
e01682f51d
Add tabs.max_width setting
2018-09-26 21:39:45 -07:00
Florian Bruhin
133ed5604e
Fix lint
2018-09-26 08:43:13 +02:00
Jay Kamat
77703c5263
Add benchmark for _tab_pinned
2018-09-23 22:58:48 -07:00
Jay Kamat
07d043fe81
Add basic tests for tab width sizing
2018-03-22 14:27:33 -04:00
bttner
e169e2165d
Refactor TabbedBrowser from inheritance to composition
2018-02-19 14:29:05 +01:00
Jay Kamat
11e04c79f4
Add add/remove tests to benchmarks
2018-02-10 15:10:33 -05:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Jay Kamat
64b6852ae3
Fix a couple style issues
2017-10-30 12:40:44 -04:00
Jay Kamat
97d719b179
Add a simple benchmark for _update_tab_titles
2017-10-26 21:33:10 -04:00
Florian Bruhin
cff61fa0bc
Fix pylint
...
This also reverts commit 8df0b063be
.
2017-07-04 15:34:10 +02:00
Florian Bruhin
22b0f2fd24
Various simple test updates for new config
...
test_cache
test_cookies
test_webkitelem
test_cmdutils
test_runners
test_completionwidget
test_messageview
test_editor
test_miscwidgets
test_sessions
test_urlutils
test_utils
test_prompt
statusbar/test_*
test_cmdhistory
test_tabwidget
test_tab
test_downloads
test_networkmanager
2017-07-04 15:08:04 +02:00
Jay Kamat
725bafea54
Merge branch 'master' into jay/pintab
2017-05-10 23:51:33 -07:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Niklas Haas
6549fd84ce
Add tabs->favicon-scale setting
...
This allows users to change the size of the favicon independently from
the size of the font/tab, in order to adjust the balance between
favicons and text. The drawing code is also adjusted to place the icon
relative to the text center, rather than the text top.
Works as expected even for values of 0.0 (which is equivalent to hiding
the favicon completely).
Closes #2549 .
2017-04-27 08:53:51 +02:00
thuck
650b1de3b6
Merge branch 'master' of https://github.com/The-Compiler/qutebrowser into pintab
2017-03-19 14:26:48 +01:00
Florian Bruhin
f3b39c55a0
Fix lint
2017-02-05 18:42:34 +01:00
Florian Bruhin
b1a95a3930
Add automatic backend selection in earlyinit
2017-02-05 17:09:04 +01:00
thuck
9eb0a85bae
Some fixes for pyflake, pylint and remove useless function
2016-11-11 17:10:46 +01:00
Florian Bruhin
ece3f3a2e1
Update to pytest-qt 2.1.0
2016-10-26 07:42:41 +02:00
Sebastian Frysztak
0f84ea2339
Fix TabWidget unit test
...
(add show-favicons config option)
2016-10-04 16:34:52 +02:00
Florian Bruhin
e36123735b
Use a fixture for FakeWebTab
...
We need to make sure qapp and tab_registry are available everywhere the
FakeWebTab class is used.
2016-07-10 16:57:02 +02:00
Florian Bruhin
4e5a7a891e
tests: Use FakeWebTab for stubbing
2016-07-07 18:32:52 +02:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
dylan araps
1bc8d10ac7
Added config option to change tab title alignment
2015-12-07 19:43:43 +11:00
Florian Bruhin
3a522fb551
tests: Remove .close() workaround.
...
This is not needed anymore with pytest-qt 1.9.0.
2015-11-01 17:41:40 +01:00
Florian Bruhin
cdb9c0998f
Add a comment for close() call.
2015-10-24 08:07:43 +02:00
Daniel
9722d4ba03
test_tabwidget: Make config_stub explicit
...
... also call TabWidget.close() at the end of the test.
2015-10-24 01:32:01 +02:00
Daniel
279d0926ee
Remove unused import, make pylint happy
2015-10-23 19:52:56 +02:00
Daniel
0851999b89
Add unit/regression test
2015-10-23 19:52:56 +02:00