Florian Bruhin
a1fabcc5c2
Start rewriting manpage generation
2014-09-08 07:36:17 +02:00
Florian Bruhin
6674eedfae
cmdutils: Add default value type to multitype_conv tuple.
2014-09-08 07:36:17 +02:00
Florian Bruhin
13a2506c6a
argparser: Also catch TypeError for multitype_conv.
2014-09-08 07:36:17 +02:00
Florian Bruhin
47f42f9e5a
commands.argparser: Make type tuples a set().
2014-09-08 07:36:17 +02:00
Florian Bruhin
b03b0a173c
generate_doc: Use argparse for command syntax
2014-09-08 07:36:17 +02:00
Florian Bruhin
05f3809d01
Fix lint
2014-09-08 07:36:17 +02:00
Florian Bruhin
0a094c6e58
Refactor HintManager.start
2014-09-08 07:36:17 +02:00
Florian Bruhin
b453ae563e
Clean up docstring parsing and move it into qutebrowser for commands.
2014-09-08 07:36:17 +02:00
Florian Bruhin
b5f28b6ff2
commands.argparser: Make ArgumentParser take args, add name.
2014-09-08 07:36:17 +02:00
Florian Bruhin
a656c8cfb0
commands: Add initial --help argument support.
2014-09-08 07:36:17 +02:00
Florian Bruhin
32e24479b9
commands.cmdutils: Clean up decorator.
2014-09-08 07:36:17 +02:00
Florian Bruhin
03a0a1c599
commands: Handle ArgumentParser exit.
2014-09-08 07:36:17 +02:00
Florian Bruhin
57d51ad9bb
Lots of fixes for new command system.
...
Squashed commit:
- Fix getting current URL
- Get rid of *args for hints.
- Make enums work.
- Fix moving commands to utilcmds.
- Fix enums in argparse
- Fix arg splitting for hints.
- Fix default enum args.
- Fix argument splitting for hints if None is given.
- Fix set_cmd_text with flags and fix {url}.
- Fix unittests
- Fix tuple types for arguments.
- Fix scroll-page.
- Fix lint
- Fix open_target.
- Others
2014-09-08 07:36:17 +02:00
Florian Bruhin
d836e26107
Nicer debug printing of functions.
2014-09-08 07:36:17 +02:00
Florian Bruhin
a811f8cb07
Start initial newcmd stuff.
2014-09-08 07:36:17 +02:00
Florian Bruhin
84a034d7e9
More liberal quoting.
2014-09-08 07:35:18 +02:00
Florian Bruhin
522b408fde
utils.completer: Quote strings for completion.
2014-09-08 07:12:55 +02:00
Florian Bruhin
6b8c597d18
Remove unused import.
2014-09-04 20:35:26 +02:00
Florian Bruhin
b856bf3a47
Improve webelement API
2014-09-04 20:30:59 +02:00
Florian Bruhin
becc4490bc
Add FIXME to qurl
2014-09-03 22:56:54 +02:00
Florian Bruhin
61258cc324
Add webelem wrapper to TODO.
2014-09-03 22:55:56 +02:00
Florian Bruhin
b789d14513
Improve prev-page/next-page matching and logging.
2014-09-03 22:55:48 +02:00
Florian Bruhin
5ba3440369
Add details to colorama workaround.
2014-09-03 22:20:17 +02:00
Florian Bruhin
15b8c553c8
Fix rl-unix-line-discard by reimplementing QLineEdit::home.
2014-09-03 21:30:30 +02:00
Florian Bruhin
e3bb3af7ba
Make it possible to use pdb for debugging.
2014-09-03 13:31:01 +02:00
Florian Bruhin
71796e9528
Fix statusbar text when entering insert mode via hints.
...
Before, hints cleaned the statusbar text delayed, clearing the "==== INSERT
MODE ====" in the statusbar.
Now we only reset the text if it wasn't changed.
2014-09-03 11:51:24 +02:00
Florian Bruhin
3e904f4c52
Fix crash when using commands on startup which need a widget.
2014-09-03 11:32:56 +02:00
Florian Bruhin
ccfc0b3c19
Get rid of most @property's.
...
They were problematic because they're executing hidden code, and also PyQt
hides exceptions happening inside them.
2014-09-02 23:37:47 +02:00
Florian Bruhin
a2e457ccc3
Remove old Ubuntu workaround.
2014-09-02 20:45:25 +02:00
Florian Bruhin
4caec2becb
Document and mark workarounds.
2014-09-02 20:44:58 +02:00
Florian Bruhin
a98a4f5a10
Update notes
2014-09-02 11:59:03 +02:00
Florian Bruhin
5a766cac6e
Remove AUTHORS.asciidoc
2014-09-02 11:48:35 +02:00
Florian Bruhin
c10203164e
Remove .ropeproject from .gitignore.
2014-09-02 11:48:19 +02:00
Florian Bruhin
a830b13023
More HACKING docs.
2014-09-02 09:04:47 +02:00
Florian Bruhin
bcaba3f5ca
Rename tests to reflect renamed modules.
2014-09-02 08:27:53 +02:00
Florian Bruhin
83e9638d42
Add fancy URL to tests.
2014-09-02 08:21:53 +02:00
Florian Bruhin
e112038a8b
Handle IPv6 literals correctly.
2014-09-02 08:20:33 +02:00
Florian Bruhin
330af95778
Strip spaces in url string correctly.
2014-09-02 07:49:06 +02:00
Florian Bruhin
96c1d53222
urlutils: Strip URL before testing.
2014-09-02 07:11:01 +02:00
Florian Bruhin
892c02268a
Shut down NetworkManager before deleting WebPage.
...
Now that the QWebPage actually is a parent of the QNetworkAccessManager, first
setting the page to None and then deleting the QNetworkAccessManager will get
us a RuntimeError because the underlying C++ object is already gone.
2014-09-02 07:02:21 +02:00
Florian Bruhin
7813f8f0c2
Remove unused cookiejar NetworkManager, fix parenting.
...
Before, the QWebPage got passed to the QNetworkAccessManager as cookiejar,
causing no parent to be set. Now, the QWebPage actually owns the
QNetworkAccessManager.
2014-09-02 07:00:02 +02:00
Florian Bruhin
71a2ade637
Fix URL detection corner cases.
2014-09-02 06:53:52 +02:00
Florian Bruhin
2bf616ff78
Adjust QWebSettings paths.
2014-09-01 21:56:30 +02:00
Florian Bruhin
428d70c746
Add a network disk cache.
2014-09-01 19:42:21 +02:00
Florian Bruhin
6d97da7bcc
browser.downloads: Download with default name if path is given.
2014-09-01 17:51:49 +02:00
Florian Bruhin
0a646b110b
Store cookies in binary format.
...
We saved/opened cookies as UTF-8 which lead to an exception on saving with a
cookie with an รค in it.
ISO-8859-1 would be more appropriate, but we trust Qt to make the right choice
and don't re-encode anything now.
2014-09-01 16:22:01 +02:00
Florian Bruhin
372cd497de
Remove some BUGS.
2014-09-01 07:32:11 +02:00
Florian Bruhin
e163478782
Handle Shift-Return keypresses correctly.
2014-08-30 14:38:34 +02:00
Florian Bruhin
c0a88bf3d0
qute:log: Scroll to bottom on load
2014-08-29 07:38:07 +02:00
Florian Bruhin
d8fa2e8ef0
Fix lint
2014-08-29 07:34:44 +02:00