Florian Bruhin
14bcdafe47
Fix completion coloring
2014-06-21 17:50:29 +02:00
Florian Bruhin
e1aabc974c
Remove completion bg from stylesheet
2014-06-21 17:38:04 +02:00
Florian Bruhin
7a6e2b3242
Ensure validity of Qt objects
2014-06-21 17:02:30 +02:00
Florian Bruhin
16758354e8
Fix missing return
2014-06-20 23:57:14 +02:00
Florian Bruhin
113221c731
Log some exceptions
2014-06-20 23:26:19 +02:00
Florian Bruhin
8b6af23b13
Make sure we don't display passwords in URLs to the user
2014-06-20 19:50:44 +02:00
Florian Bruhin
d3196fe683
Rename Url in statusbar to UrlText
2014-06-20 17:40:36 +02:00
Florian Bruhin
91416e345d
Treat CodeMirror instances as editable
2014-06-20 16:55:42 +02:00
Florian Bruhin
0fd64419da
Remove urlutils.{urlstring,qurl}.
...
The idea of treating an URL-string and a QUrl as essentially the same data type
got us into all kinds of problems. Now we use QUrl everywhere except at the
borders to the user interface.
2014-06-20 16:33:01 +02:00
Florian Bruhin
52d1645479
Revert "Clean up styles"
...
This reverts commit f821d9e211
.
This causes all methods to be applied from QCommonStyle, thus resulting in
right-click menus being blank...
2014-06-19 21:05:41 +02:00
Florian Bruhin
f821d9e211
Clean up styles
2014-06-19 15:43:34 +02:00
Florian Bruhin
d642aa48c1
Fix reparenting issues with layouts
2014-06-19 14:13:44 +02:00
Florian Bruhin
3de113ee8c
Don't double-connect tabCloseRequested
2014-06-19 13:43:43 +02:00
Florian Bruhin
6f4b2e872b
Don't restore focus to unfocused widget
2014-06-19 13:43:16 +02:00
Florian Bruhin
e6f9c0ccea
Fix keyboard focus issues.
2014-06-19 11:50:31 +02:00
Florian Bruhin
d65587128f
Add vim modelines to all files.
2014-06-19 09:04:37 +02:00
Florian Bruhin
4eebf24775
Improve crash dialog
2014-06-19 07:53:17 +02:00
Florian Bruhin
2b5a1cc322
Add wiget/object list to crash dialog
2014-06-17 23:04:58 +02:00
Florian Bruhin
87ddfc418e
Remove unneeded informations from segfault crash dialog
2014-06-17 22:37:20 +02:00
Florian Bruhin
e6866f7d85
Don't go to insert mode on disabled/readonly fields
2014-06-17 15:32:18 +02:00
Florian Bruhin
1fef2d02b9
Add an :all-objects command and __repr__s
2014-06-17 11:03:42 +02:00
Florian Bruhin
fe99cbc331
Fix crashes after parent-child cleanup.
2014-06-17 10:20:15 +02:00
Florian Bruhin
af9e4ae072
Fix parent/child relationships
2014-06-17 07:17:21 +02:00
Florian Bruhin
17cd86d564
Add an :all-widgets command and useful __repr__s
2014-06-17 06:37:56 +02:00
Florian Bruhin
177e2945b6
Use currying instead of self.sender() where applicable
2014-06-16 22:49:22 +02:00
Florian Bruhin
49fd9951ed
Use multiple eventloops
2014-06-15 22:24:37 +02:00
Florian Bruhin
fa79212fea
Don't crash on :<space>
2014-06-15 11:29:33 +02:00
Florian Bruhin
392784213b
Use EventLoop which raises an Exception on double exec_()
2014-06-14 21:00:08 +02:00
Florian Bruhin
e453d9c8ca
Merge Prompt:_display into Prompt:ask_question.
2014-06-13 23:42:07 +02:00
Florian Bruhin
197bbf1a95
Fix spacing between download items
2014-06-13 23:06:25 +02:00
Florian Bruhin
9cd0369f89
Add some space between download items
2014-06-13 22:55:24 +02:00
Florian Bruhin
0e11bae002
Turn off scrollbars in DownloadView
2014-06-13 22:53:56 +02:00
Florian Bruhin
82ed50050d
Update DownloadView geometry when MainWindow size changed.
2014-06-13 20:19:36 +02:00
Florian Bruhin
aa36d3b10c
Relayout DownloadView when size changed.
2014-06-13 20:19:27 +02:00
Florian Bruhin
6579f4dba0
Resize DownloadModel based on last item
2014-06-13 20:19:00 +02:00
Florian Bruhin
fce591839b
Abort filename prompt when download is cancelled.
2014-06-13 18:19:18 +02:00
Florian Bruhin
5a2e6ba99a
Add answer as argument to question's answered signal.
2014-06-13 18:16:24 +02:00
Florian Bruhin
3e5e8e59c1
Add right-click menu to cancel download
2014-06-13 12:19:30 +02:00
Florian Bruhin
4dc33102b7
Cleanup
2014-06-13 07:41:51 +02:00
Florian Bruhin
ac43a0b5cb
Style DownloadView
2014-06-13 07:39:47 +02:00
Florian Bruhin
3c2c08f73a
Add missing docstrings
2014-06-12 17:56:28 +02:00
Florian Bruhin
c91dced99f
Make it possible to cancel a message.question
2014-06-12 17:49:36 +02:00
Florian Bruhin
0713890980
Fix DownloadView sizing
2014-06-12 13:05:43 +02:00
Florian Bruhin
704be222d5
Set DownloadView size policy
2014-06-12 10:20:42 +02:00
Florian Bruhin
dcd05cae14
Move downloadview before browser
2014-06-12 10:19:45 +02:00
Florian Bruhin
2114f0cd73
Start adding download model/view
2014-06-12 08:02:44 +02:00
Florian Bruhin
7dd5b1b94e
First debugging implementation of downloads
2014-06-10 22:11:17 +02:00
Florian Bruhin
43c0578ede
Support closing windows via javascript.
2014-06-10 16:50:14 +02:00
Florian Bruhin
1c63ff620d
Add option to expand tabs
2014-06-10 14:30:31 +02:00
Florian Bruhin
2f1cd43f9c
Change lists to tuples for immutable values
2014-06-06 17:21:35 +02:00
Florian Bruhin
f173b19094
s/QuteBrowser/qutebrowser/
2014-06-04 14:52:12 +02:00
Florian Bruhin
a3bfc97079
Use an enum for user model roles.
2014-06-04 07:11:07 +02:00
Florian Bruhin
40009970df
Add option to configure if js statusbar messages should be shown
2014-06-03 19:17:35 +02:00
Florian Bruhin
62908e97c1
Fix javascript statusbar messages
2014-06-03 18:00:53 +02:00
Florian Bruhin
ec25821fae
_foo.py file rename [2/2]
2014-06-03 15:01:57 +02:00
Florian Bruhin
fa1e03f56b
_foo.py file rename [1/2]
2014-06-03 14:57:57 +02:00
Florian Bruhin
0f41366269
Fix lint
2014-06-03 13:48:12 +02:00
Florian Bruhin
02e92fd0ed
Move set_model logging to completer
2014-06-03 13:42:29 +02:00
Florian Bruhin
968bb3d430
Move selection_changed to Completer
2014-06-03 13:37:11 +02:00
Florian Bruhin
7d440426eb
Move on_update_completion
2014-06-03 12:59:50 +02:00
Florian Bruhin
2648f283b9
Get rid of _model in completion widget
2014-06-03 12:53:07 +02:00
Florian Bruhin
ff06e753df
Start moving stuff to Completer
2014-06-03 12:51:23 +02:00
Florian Bruhin
58c1646e9b
Shrink completion if configured to do so
2014-06-03 11:39:53 +02:00
Florian Bruhin
c7b2ff4db5
Make item_count a @property
2014-06-03 10:48:47 +02:00
Florian Bruhin
a555aa66a0
Hide completion if there are no items
2014-06-03 10:46:58 +02:00
Florian Bruhin
e294c01d7d
Fix lint
2014-06-03 10:44:19 +02:00
Florian Bruhin
3f0682e5a9
Mark items after filtering
2014-06-03 10:37:04 +02:00
Florian Bruhin
b10f375814
Add item_count method to CompletionFilterModel
2014-06-03 10:16:31 +02:00
Florian Bruhin
ce8ada5024
Get rid of self._completing in completion
2014-06-03 10:06:50 +02:00
Florian Bruhin
8914614f7b
Always update completion when cursor position changed
2014-06-03 10:05:01 +02:00
Florian Bruhin
e741744f1d
Clear _empty_item_idx correctly.
2014-06-03 09:51:20 +02:00
Florian Bruhin
f2c60c01ae
More logging
2014-06-03 09:50:53 +02:00
Florian Bruhin
f82fa297b0
Insert fake empty element when cursor is between spaces.
...
Known problems:
- This doesn't work when moving the cursor away from the spaces and moving
it back; then the completion pattern is wrong.
- When moving the cursor away from the spaces, the completion isn't updated
properly.
2014-06-03 07:36:28 +02:00
Florian Bruhin
98b967abaa
Completion logging improvements
2014-06-03 06:58:18 +02:00
Florian Bruhin
9bee827d52
Return [''] when splitting empty cmdline
2014-06-03 06:55:08 +02:00
Florian Bruhin
2eb26c96c4
More command splitting cleanup
2014-06-03 06:55:08 +02:00
Florian Bruhin
1d2d435231
Move split_cmdline() out of commands.managers
2014-06-03 06:55:08 +02:00
Florian Bruhin
0c1f611a72
Fix lint
2014-06-03 06:55:08 +02:00
Florian Bruhin
34946d031b
Whitespace fix
2014-06-03 06:55:08 +02:00
Florian Bruhin
a389b0f688
Add a quick-complete option.
...
This moves to the next commandline part when completing if there's only
one possible completion.
2014-06-03 06:55:07 +02:00
Florian Bruhin
749e330383
Ignore completion updates while completing
2014-06-03 06:55:07 +02:00
Florian Bruhin
1928add992
Remove cursor_part_changed signal.
2014-06-03 06:55:07 +02:00
Florian Bruhin
f9eb2af979
Fix cursor position after completing.
2014-06-03 06:55:07 +02:00
Florian Bruhin
1bb757a39e
Update cursor part in on_text_edited
2014-06-03 06:55:07 +02:00
Florian Bruhin
962a83b592
Handle parts/prefix in statusbar.command widget
2014-06-03 06:55:07 +02:00
Florian Bruhin
dc655dd40b
First try at using cursor position
2014-06-03 06:55:07 +02:00
Florian Bruhin
1ff193e4dd
Replace page_ by page()
2014-05-27 16:04:45 +02:00
Florian Bruhin
271d00417c
Avoid newlines in log
2014-05-26 20:09:46 +02:00
Florian Bruhin
4538745ffb
Implement QWebPage:javaScript*
2014-05-26 20:04:44 +02:00
Florian Bruhin
fa01bfbbad
Add per-tab inspector like dwb.
...
This also means the webinspector will always be detached / in its own window.
2014-05-26 15:35:05 +02:00
Florian Bruhin
62407eef33
Revert "Use a splitter for the webinspector"
...
This reverts commit f1f06b0a19
.
2014-05-26 15:13:39 +02:00
Florian Bruhin
6bc0f7e5e7
Revert "Make inspector detachable."
...
This reverts commit ee241c3f6c
.
Conflicts:
qutebrowser/config/configdata.py
2014-05-26 15:13:33 +02:00
Florian Bruhin
edacb23076
Color statusbar on prompts
2014-05-26 16:59:11 +02:00
Florian Bruhin
61d4821065
Add configurable confirmation when closing
2014-05-26 16:51:57 +02:00
Florian Bruhin
15a27a4c96
Fix double import
2014-05-26 12:17:43 +02:00
Florian Bruhin
ee241c3f6c
Make inspector detachable.
2014-05-26 12:16:03 +02:00
Florian Bruhin
8eed5a02d4
Don't adjust completion position when inspector is open.
2014-05-26 12:15:40 +02:00
Florian Bruhin
f1f06b0a19
Use a splitter for the webinspector
2014-05-26 12:00:45 +02:00
Florian Bruhin
24543edcbe
Spelling fix
2014-05-26 09:04:38 +02:00
Florian Bruhin
f87e7b76f4
Log to RAM and display log in crash dialog
2014-05-25 18:46:15 +02:00
Florian Bruhin
1e256699f8
Add topic-specific loggers
2014-05-23 16:11:55 +02:00
Florian Bruhin
99bd53de89
Close tabs on right click
2014-05-23 04:12:18 +02:00
Florian Bruhin
897fc0c72f
Leave hinting mode when tab changed
2014-05-22 17:50:10 +02:00
Florian Bruhin
9a3554a784
Add answered_(yes|no) signals to Question.
2014-05-22 16:43:38 +02:00
Florian Bruhin
89350cbff4
Emit answered signal from statusbar prompt.
...
This is so we can leave the mode (and hide the command widget) before
emitting the answered signal (and possibly ask something again).
2014-05-22 16:41:58 +02:00
Florian Bruhin
3a3d8fddee
Merge branch 'userscripts'
2014-05-22 08:52:20 +02:00
Florian Bruhin
e7d9a3dc88
Fix completion
2014-05-22 08:40:36 +02:00
Florian Bruhin
8d570b686c
Initial userscript support
2014-05-21 19:53:58 +02:00
Florian Bruhin
ecc838d02c
Fix ALL the lint
2014-05-21 17:29:09 +02:00
Florian Bruhin
cfd70e7821
Make yes/no questions work
2014-05-20 12:05:14 +02:00
Florian Bruhin
f43549d452
Clean up prompt code
2014-05-20 11:03:55 +02:00
Florian Bruhin
20f8c2b8b4
Add a new MinimalLineEdit widget
2014-05-20 10:11:05 +02:00
Florian Bruhin
1a959a39b2
Don't inherit Prompt from TextBase
2014-05-20 09:15:15 +02:00
Florian Bruhin
b1b1580136
Add some docstrings to prompt
2014-05-20 09:14:35 +02:00
Florian Bruhin
d4c90b4a60
Add proxy authentication
2014-05-20 08:56:56 +02:00
Florian Bruhin
77eb7d621a
Handle cancelling of authentication
2014-05-20 08:56:54 +02:00
Florian Bruhin
9ffc8d74c4
Save temporary username in Question object
2014-05-20 08:56:52 +02:00
Florian Bruhin
84fdd0f4f7
Get rid of accepted signal
2014-05-20 08:56:50 +02:00
Florian Bruhin
97df8fc172
Move some attributes to dedicated Question object
2014-05-20 08:56:48 +02:00
Florian Bruhin
7ca605ade6
First try at statusbar prompt
2014-05-20 08:56:46 +02:00
Florian Bruhin
9ce06c75bc
Clear hover URL when changing tab
2014-05-19 18:10:48 +02:00
Florian Bruhin
c24e92e519
Make hover URL display more reliable.
...
This uses a similiar mechanism to the statusbar text now.
Previously in some corner cases (e.g. reloading while hovering) the
incorrect link was displayed.
2014-05-19 18:08:33 +02:00
Florian Bruhin
d6c593f035
Use properties rather than overwriting __setattr__
2014-05-19 17:08:51 +02:00
Florian Bruhin
118d3e03cd
Revert "Make scroll bars hideable"
...
This reverts commit 1bfbdd79e4
.
Conflicts:
qutebrowser/browser/commands.py
qutebrowser/config/configdata.py
qutebrowser/widgets/webview.py
2014-05-19 09:50:56 +02:00
Florian Bruhin
696fdc397b
Revert "Reimplement wheelEvent of WebView to fix scrolling"
...
This helped with hiding scrollbars, but it handles scrolling incorrectly
with multiple scrollable divs.
This reverts commit 5c4ce7ae09
.
2014-05-19 09:46:38 +02:00
Florian Bruhin
a795b24d86
Merge branch 'select-insert'
2014-05-19 08:36:43 +02:00
Florian Bruhin
42f183d825
Handle hiding command widget properly
2014-05-19 04:19:16 +02:00
Florian Bruhin
274608b1d9
Continue displaying queued messages after immediate ones
2014-05-19 04:04:59 +02:00
Florian Bruhin
f0d1d4ed45
Selectively queue messages rather than unqueueing.
2014-05-19 03:40:10 +02:00
Florian Bruhin
1ec0766587
Rename CurCommandDispatcher to CommandDispatcher
2014-05-18 08:04:27 +02:00
Florian Bruhin
8e4aaf1706
Whitespace adjustments
2014-05-18 00:36:29 +02:00
Florian Bruhin
d2049eb462
Fix blank line
2014-05-17 23:46:41 +02:00
Florian Bruhin
bca3909a10
Remove _tabs when unneeded
2014-05-17 23:46:06 +02:00
Florian Bruhin
65aee9d991
Add ui section to config
2014-05-17 23:45:31 +02:00
Florian Bruhin
0f943f747c
Reorder some functions
2014-05-17 23:15:42 +02:00
Florian Bruhin
c7cf0aaf9a
Clean up webview and move commands
2014-05-17 22:38:07 +02:00
Florian Bruhin
d901fe69e6
Rename some commands
2014-05-16 23:01:40 +02:00
Florian Bruhin
5c4ce7ae09
Reimplement wheelEvent of WebView to fix scrolling
...
Hiding scrollbars in 1bfbdd79e4
broke
scrolling because the WebKit implementation wants a scrollbar to do
scrolling.
We fix this by just handling the mouse wheel ourselves.
2014-05-16 21:37:43 +02:00
Florian Bruhin
89cd6d87cc
Treat select elements as insert mode
2014-05-16 17:43:06 +02:00
Florian Bruhin
2c2c79af2e
Display some messages immediately
2014-05-16 17:21:43 +02:00
Florian Bruhin
bccf912958
Ignore duplicated messages
2014-05-16 16:50:53 +02:00
Florian Bruhin
39249bce9d
Display texts immediately if possible
2014-05-16 16:43:14 +02:00
Florian Bruhin
7eb19e2a1e
Start implementing message-timeout
2014-05-16 15:33:36 +02:00
Florian Bruhin
1bfbdd79e4
Make scroll bars hideable
2014-05-16 14:20:37 +02:00
Florian Bruhin
480e222d6d
Log load status changes
2014-05-16 07:47:06 +02:00
Florian Bruhin
7bd6302d13
Connect load_status_changed signal correctly
2014-05-16 07:12:27 +02:00
Florian Bruhin
e41d8f1e46
Fix link colors (except for LoadStatus).
...
This was broken when splitting statusbar into files as the class name
had changed.
2014-05-16 07:05:55 +02:00
Florian Bruhin
b14ff27e0c
Remove unused import
2014-05-15 22:52:37 +02:00
Florian Bruhin
b91274cfcf
Fix some other small bugs with new signal implementation
2014-05-15 22:31:01 +02:00
Florian Bruhin
a70aa212e0
Fix lint
2014-05-15 22:02:43 +02:00
Florian Bruhin
1ca80fec8e
Make stuff run again
2014-05-15 19:02:20 +02:00
Florian Bruhin
d3eaeaac91
First steps at getting rid of signal cache
2014-05-15 17:57:08 +02:00
Florian Bruhin
0d104b5813
Revert "Open startpage with :tabopen/:backtabopen if no URL is given"
...
This reverts commit 68556a0e87
.
This broke keybindings with partial commands, e.g. o/O.
2014-05-15 16:54:08 +02:00
Florian Bruhin
68556a0e87
Open startpage with :tabopen/:backtabopen if no URL is given
2014-05-15 16:32:00 +02:00
Florian Bruhin
326280f910
Fix consistency and spelling in docstrings/comments
2014-05-15 16:27:34 +02:00
Florian Bruhin
537c45f518
Check zoom percentage is >= 0%
2014-05-15 15:41:54 +02:00
Florian Bruhin
659fe5126b
Display error dialog when started after segfault
2014-05-15 12:20:03 +02:00
Florian Bruhin
8fe4000e41
Split CrashDialog into ExceptionCrashDialog and _CrashDialog
2014-05-15 11:56:22 +02:00
Florian Bruhin
ec75382a6d
Allow text in crash dialog to be copied
2014-05-15 10:54:24 +02:00
Florian Bruhin
5a6326922e
Don't cache cur_ssl_errors
2014-05-15 10:50:07 +02:00
Florian Bruhin
d801c35e3f
Fix typo
2014-05-15 00:03:54 +02:00
Florian Bruhin
b96efddbdc
Make tab close buttons work
2014-05-15 00:02:40 +02:00
Florian Bruhin
603fbdf239
Range-check all values passed to C code.
2014-05-15 00:02:20 +02:00
Florian Bruhin
daf42fdc0d
Split WebView.mouseEvent into smaller chunks
2014-05-14 20:59:21 +02:00
Florian Bruhin
a045511962
Use exceptions for command errors
2014-05-14 18:00:40 +02:00
Florian Bruhin
876dcad28f
Fix some more escaped quotes
2014-05-13 22:18:59 +02:00
Florian Bruhin
f448aeebda
Use property to iterate over tabs
2014-05-13 21:25:16 +02:00
Florian Bruhin
c52caa1427
Leave hint mode when page loading started.
2014-05-13 11:17:36 +02:00
Florian Bruhin
d9bb1e904f
Support back/forward mouse buttons
2014-05-13 09:53:29 +02:00
Florian Bruhin
4b78e9a9f5
Add missing docstring
2014-05-13 07:11:46 +02:00
Florian Bruhin
55ea24e431
Split statusbar into multiple files
2014-05-13 07:10:50 +02:00
Florian Bruhin
3c4866f3d9
Add show-favicons option
2014-05-12 23:03:55 +02:00
Florian Bruhin
297a0e65c4
Work around the tabbar cut font issue
2014-05-12 21:23:16 +02:00
Florian Bruhin
fd6e739281
Change _error and _urltype to class attributes.
2014-05-12 18:35:26 +02:00
Florian Bruhin
0c4e7c5fe3
Fix class name in url stylesheet
2014-05-12 18:35:16 +02:00
Florian Bruhin
512625cee1
Support to show SSL status with URL color
2014-05-12 18:00:44 +02:00
Florian Bruhin
c76819a8b0
Use loggings.warning instead of warn
2014-05-12 17:39:17 +02:00
Florian Bruhin
c3816b2820
Make min/max tab width configurable
2014-05-12 16:04:43 +02:00
Florian Bruhin
7b2961f23e
Fix some backslash-quotes
2014-05-12 15:58:09 +02:00
Florian Bruhin
31a1e91866
Make hitTestResult work with frames correctly
2014-05-12 08:28:44 +02:00
Florian Bruhin
c2af513ae2
Split CompletionDelegate into own file
2014-05-09 20:25:16 +02:00
Florian Bruhin
5f1cb2ede3
Restyle completion to be dark
2014-05-09 20:25:16 +02:00
Florian Bruhin
6417c7d875
Turn off horizontal scrollbar in completer
2014-05-09 19:12:46 +02:00
Florian Bruhin
5a6208862e
Add cmdutils.arg_or_count
2014-05-09 19:12:08 +02:00
Florian Bruhin
63ce8e0966
Set min-/max-width for tabs
2014-05-09 17:59:13 +02:00
Florian Bruhin
edc9d0810c
Use QCoreApplication.instance()
2014-05-09 17:01:05 +02:00
Florian Bruhin
3c098060d1
Don't handle auto-insert-mode when not needed
2014-05-09 16:43:08 +02:00
Florian Bruhin
5044f98f2e
Don't leave insert mode when loading finished
2014-05-09 16:36:53 +02:00
Florian Bruhin
502cb20c2d
Only leave insert mode if mainFrame started loading
2014-05-09 16:18:04 +02:00
Florian Bruhin
59a89d31fe
Add reasons why modes are entered/left
2014-05-09 16:03:46 +02:00
Florian Bruhin
91d1be1020
Split tab_move into _tab_move_absolute/relative
2014-05-09 15:52:03 +02:00
Florian Bruhin
1785294a43
Fix some lint
2014-05-09 15:30:27 +02:00
Florian Bruhin
f7e6dc0244
Add zoom command.
2014-05-09 14:20:26 +02:00
Florian Bruhin
4361220a48
Add bindings for xo/xO (backtabopen(cur))
2014-05-09 12:10:03 +02:00
Florian Bruhin
96d456fdee
New command: tab_focus_last / Ctrl-Tab
2014-05-09 11:58:49 +02:00
Florian Bruhin
4e7eb41cb9
Add command tab_move (gm/gl/gr)
2014-05-09 11:47:25 +02:00
Florian Bruhin
87e94a2c68
Add T command / refactor focus_tab
2014-05-09 11:29:25 +02:00
Florian Bruhin
e6af8bb7ae
Add only/co command
2014-05-09 11:24:33 +02:00
Florian Bruhin
8fc12fea5f
Refactor tabclose
2014-05-09 11:20:17 +02:00
Florian Bruhin
ed0d0d8ff7
Handle tab titles via onUrlChanged
2014-05-08 21:04:27 +02:00
Florian Bruhin
bf19cb7536
Add window-open-behaviour setting
2014-05-08 20:43:40 +02:00
Florian Bruhin
e2a2ed8850
Support QWebView::createWindow (opening windows via js)
2014-05-08 20:36:05 +02:00
Florian Bruhin
586455bbad
Fix scrollbar click bug
2014-05-08 11:50:46 +02:00
Florian Bruhin
214cda91bd
Nicer error messages for focus_tab
2014-05-08 09:03:48 +02:00
Florian Bruhin
4999a59470
Add pastebin button to crash dialog
2014-05-06 15:36:15 +02:00
Florian Bruhin
5656921a22
Don't add empty URLs to URL stack
2014-05-06 14:08:40 +02:00
Florian Bruhin
de7c6a63b4
Fix shutdown of networkmanager
2014-05-06 10:53:38 +02:00
Florian Bruhin
e02b84d7ef
Add some debug logging for click targets
2014-05-06 09:09:23 +02:00
Florian Bruhin
42c1ea5788
Rename _tabopen to tabopen and tabopen to tabopen_cmd
2014-05-06 08:53:40 +02:00
Florian Bruhin
f8195dc600
Connect tab.open_tab to correct internal slot.
2014-05-06 08:51:10 +02:00
Florian Bruhin
e5000c315d
Revert "Use global HintManager"
...
This reverts commit a76d68f564
.
WTF. I thought I reset --hard-ed that one?
2014-05-06 07:11:20 +02:00
Florian Bruhin
a76d68f564
Use global HintManager
2014-05-05 20:28:29 +02:00
Florian Bruhin
c8fd0937b0
Revert "Use global object dict for global objects"
...
This reverts commit bf2c7831c8
.
This was a bad idea as we need to access some of the main attributes
from commands via instance=...
2014-05-05 20:12:20 +02:00
Florian Bruhin
bf2c7831c8
Use global object dict for global objects
2014-05-05 19:12:47 +02:00
Florian Bruhin
667b255d01
Use QApplication for global singletons
2014-05-05 17:56:14 +02:00
Florian Bruhin
ae95b5ea3b
Basic cookie handling
2014-05-05 16:28:43 +02:00
Florian Bruhin
85c4bb823f
Fix lint
2014-05-05 10:09:19 +02:00
Florian Bruhin
4ebe643ea6
Use simple enums for constants
2014-05-05 07:45:36 +02:00
Florian Bruhin
4ff5431436
Fix checks
2014-05-04 01:33:01 +02:00
Florian Bruhin
ec6066c7ba
Show favicons
2014-05-04 01:28:34 +02:00
Florian Bruhin
8ada39ff8b
Add focus_tab command
2014-05-03 00:32:43 +02:00
Florian Bruhin
c33fc62d2f
Fix lint
2014-05-02 17:53:59 +02:00
Florian Bruhin
5933585a23
Resize model columns properly by hand
2014-05-02 16:23:35 +02:00
Florian Bruhin
204cffc4cf
Add logging when tabbing
2014-05-02 15:24:36 +02:00
Florian Bruhin
cbb9a2656f
Spelling fix
2014-05-02 15:24:26 +02:00
Florian Bruhin
b961cb8907
Regenerate CommandCompletionModel if necessary.
2014-05-02 15:23:25 +02:00
Florian Bruhin
b74a97580f
Handle completions for ValueList sections correctly
2014-05-02 14:18:40 +02:00
Florian Bruhin
be467d5e50
Refactor command argument splitting.
...
This uses split=True/False as cmdutils.register argument again (because
we would never want to set maxsplit ourselves, only not splitting the
*last* argument makes any sense.
Also this uses shlex for splitting again, like earlier.
2014-05-02 10:28:41 +02:00
Florian Bruhin
de5f85982f
Add new _tabopen method for tabopen and backtabopen.
2014-05-02 10:11:47 +02:00
Florian Bruhin
4137e5de53
Don't use QShortcut for space scrolling
2014-05-01 23:25:51 +02:00
Florian Bruhin
3babead395
Don't crash if frame is none in mouseDownEvent
2014-05-01 21:35:24 +02:00
Florian Bruhin
427fe0b8fb
Make tab seperator 2px broad
2014-05-01 21:30:29 +02:00
Florian Bruhin
5d80831752
prevpage/nextpage updates
2014-05-01 16:35:26 +02:00
Florian Bruhin
533d82417e
Refactor completion handling
2014-05-01 00:23:53 +02:00
Florian Bruhin
b04adca059
Scroll to first item when wrapping completion
2014-04-30 13:52:16 +02:00
Florian Bruhin
7ce0bd8bc8
Force textEdited emit on set_cmd_text
2014-04-30 12:06:23 +02:00
Florian Bruhin
f1942b0ce0
Use selectionChanged to select completions
2014-04-30 12:03:24 +02:00
Florian Bruhin
adfc96cdfa
completion: Use textEdited instead of textChanged
...
This gets rid of _ignore_next and some unneeded logic, since textEdited
won't even emit if we edited it programatically.
2014-04-30 11:52:30 +02:00
Florian Bruhin
1eabbfbfcf
Replace QAbstractItemModel by QStandardItemModel.
...
This is probably the most depressing commit ever.
For some reason I didn't find this while searching for models I could
use and rolled my own one. This uses A LOT less code, and is A LOT
faster...
2014-04-30 07:32:51 +02:00
Florian Bruhin
8474bbdf6a
Rename and reorder config options
2014-04-27 21:21:14 +02:00
Florian Bruhin
9252ef94ca
Consistent string chars
2014-04-25 16:53:23 +02:00
Florian Bruhin
da91907656
Unfiy completions into single file
2014-04-25 12:29:00 +02:00
Florian Bruhin
875666265b
s/BrowserTab/WebView/g
2014-04-25 12:24:26 +02:00
Florian Bruhin
6e78f67a81
Rename keyinput stuff
2014-04-25 12:21:01 +02:00
Florian Bruhin
d4b35b6734
Rename {Command,Seach}Parser to *Manager
2014-04-25 12:04:11 +02:00
Florian Bruhin
937196e287
Rename package-private modules to _foo.py
2014-04-25 11:50:30 +02:00
Florian Bruhin
f437bc25bf
Fix lint/cleanup
2014-04-25 11:21:00 +02:00
Florian Bruhin
7787a67c45
Add modes=[]/not_modes=[] to cmdutils.register
2014-04-25 10:10:58 +02:00
Florian Bruhin
43c8a96621
s/command_item/completion_item/
2014-04-25 09:28:02 +02:00
Florian Bruhin
2d0225a292
Hide command_item_{prev,next}
2014-04-25 09:27:30 +02:00