Florian Bruhin
c6cb8e5099
Remove unneeded "# pragma: no branch" comments
...
Those are not needed anymore with coverage 4.1.
2016-05-24 15:40:50 +02:00
Florian Bruhin
3a33bc42a6
Add initial support for the typing module
2016-05-18 06:55:17 +02:00
Florian Bruhin
c64e5c9bd5
Get rid of the colorlog dependency
...
colorlog was problematic for various reasons:
- Not commonly packaged for Linux distributions
- Calling colorama.init() automatically on import
- Not supporting {foo} log formatting
- Not supporting an easy way to turn colors off
Instead we now do the log coloring by hand, which is simpler and means
everyone will have colored logs.
2016-05-13 21:19:33 +02:00
Daniel Schadt
449a54c7d0
pdfjs: add file path to version information
...
Shows "bundled" if the bundled version is used.
2016-02-01 17:28:18 +01:00
Florian Bruhin
88d28e690e
Add pdf.js version to qute:version.
2016-01-05 18:47:50 +01:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
Florian Bruhin
150a83d8f4
pylint: Remove unneeded supressions.
2015-12-01 22:03:58 +01:00
Florian Bruhin
7cddd52b2d
Merge branch 'download-page' of https://github.com/Kingdread/qutebrowser into Kingdread-download-page
2015-11-10 22:39:07 +01:00
Florian Bruhin
374b448e51
Get rid of unnecessary file.readline() calls.
2015-11-10 18:44:42 +01:00
Daniel
3a2bb2d348
Add cssutils to README and utils/version.py
2015-11-09 17:01:08 +01:00
neeasade
2e62d24062
Empty osver for linux, adjust test to match this.
2015-09-29 13:59:22 -05:00
neeasade
b5ec476ca6
Fixes #977 with none deprecated call.
2015-09-29 12:56:49 -05:00
Florian Bruhin
e9b5c355d2
Add a short=True argument to version.version().
...
Fixes #787 .
2015-06-26 22:33:29 +02:00
Florian Bruhin
75b894a186
Include DESKTOP_SESSION in qute:version.
2015-06-24 20:54:37 +02:00
Florian Bruhin
220ac021f0
Print style name in version info.
2015-06-24 20:37:48 +02:00
Florian Bruhin
df53ccf426
Write tests for qutebrowser.utils.version.
2015-06-07 23:20:34 +02:00
Florian Bruhin
a82b0d007d
Enforce a Qt with SSL support.
2015-06-07 10:47:28 +02:00
Florian Bruhin
f1c0781a4c
Use sip.SIP_VERSION_STR to get sip version.
2015-06-01 09:09:10 +02:00
Florian Bruhin
8d15bbdded
utils.version: Add SIP line on ImportError.
2015-05-24 21:00:46 +02:00
Florian Bruhin
e8e6d8409b
Adjust pylint exceptions.
2015-03-11 20:14:39 +01:00
Florian Bruhin
8f1d81a644
Add session support.
...
Closes #12 .
See #499 .
See #11 .
This adds PyYAML as a new dependency.
It adds the following new commands:
:session-delete <name>
Delete a session.
:session-load <name>
Load a session.
:session-save [<name>]
Save a session.
:wq [<name>]
Save open pages and quit.
And the following new settings:
general -> save-session:
Whether to always save the open pages.
2015-02-16 20:26:09 +01:00
Florian Bruhin
7169d02609
Support running qutebrowser without SSL.
2015-01-26 13:15:08 +01:00
Florian Bruhin
e54d3c21ee
Add SSL info to version info.
2015-01-03 18:19:16 +01:00
Florian Bruhin
450d1ab70d
Update copyright years
2015-01-03 15:51:31 +01:00
Florian Bruhin
bf4d6a5707
Handle an invalid cwd properly.
...
Fixes #370 .
2014-12-26 15:07:18 +01:00
Florian Bruhin
ec07e4f8be
Handle OSError exceptions where appropriate.
...
Fixes #25 .
2014-12-10 18:00:49 +01:00
Florian Bruhin
ea76bdfb0f
Replace all IOError by OSErrors.
...
Starting with Python 3.3, IOError is just an alias for OSError.
2014-12-10 16:48:23 +01:00
Florian Bruhin
655115858c
Handle OSError when using subprocess.
2014-11-23 18:07:05 +01:00
Florian Bruhin
99da7b697b
Fix lint on OS X
2014-09-26 07:12:08 +02:00
Florian Bruhin
2ebb0063be
Really fix version info on OS X
2014-09-25 22:46:25 +02:00
Florian Bruhin
66d36442d7
Fix version info on OS X
2014-09-25 21:33:03 +02:00
Florian Bruhin
906a049382
Fix lint
2014-09-18 17:25:48 +02:00
Florian Bruhin
5eef6d422d
Better exception formatting and handling.
2014-09-16 08:20:19 +02:00
Florian Bruhin
4bab430c32
utils.version: Use programmatic imports.
2014-09-16 07:16:15 +02:00
Florian Bruhin
d1ddc8c6cb
Fix lint
2014-09-15 22:01:13 +02:00
Florian Bruhin
14cc77ff42
Add pygments as dependency.
2014-09-15 17:59:33 +02:00
Florian Bruhin
1dce50309b
First steps at using jinja2 for qute:log.
2014-08-29 06:59:44 +02:00
Florian Bruhin
2fdf241da2
Add dependency on jinja2.
2014-08-28 20:14:40 +02:00
Florian Bruhin
d9a8cbe7ad
Rename utils.misc to utils.utils
2014-08-26 20:20:17 +02:00
Florian Bruhin
b4298c2922
Remove 'as logger' imports.
2014-08-26 20:15:41 +02:00
Florian Bruhin
d625cde28c
Clean up imports
2014-08-26 19:10:14 +02:00
Florian Bruhin
17dd4732ae
Add explicit encoding to open() calls.
2014-08-20 20:33:14 +02:00
Florian Bruhin
36572bc0cb
Add pypeg2 to version info
2014-08-14 15:08:33 +02:00
Florian Bruhin
ee1b136807
Clean up pylint/noqa comments.
2014-08-04 03:47:09 +02:00
Florian Bruhin
af14e8bf94
Keep GPL closer to the original
2014-06-24 07:58:48 +02:00
Florian Bruhin
a114b46b81
Get colorama version correctly
2014-06-24 07:56:17 +02:00
Florian Bruhin
be75f45312
Add info if executable is frozen to version output
2014-06-24 07:46:01 +02:00
Florian Bruhin
4b95f369a4
Get rid of ipdb/IPython.
...
This caused more problems than it's worth really, and it does some black magic
I'm not comfortable with.
2014-06-24 07:42:49 +02:00
Florian Bruhin
b6ddda8f17
Show git timestamp in version
2014-06-23 16:19:43 +02:00
Florian Bruhin
bf9e829d4d
Don't use .warn on loggers, use .warning instead.
2014-06-22 23:30:44 +02:00
Florian Bruhin
a64775a0f9
Improve logging messages
2014-06-21 22:40:31 +02:00
Florian Bruhin
113221c731
Log some exceptions
2014-06-20 23:26:19 +02:00
Florian Bruhin
d65587128f
Add vim modelines to all files.
2014-06-19 09:04:37 +02:00
Florian Bruhin
3d6d81e1cb
Fix lint
2014-06-12 15:17:27 +02:00
Florian Bruhin
5dcb6c4f38
Improve version output
2014-06-10 22:59:14 +02:00
Florian Bruhin
742bc83ea3
Clean up version info gathering
2014-06-06 18:58:29 +02:00
Florian Bruhin
6780132e4f
More version info
2014-06-06 18:11:04 +02:00
Florian Bruhin
7fa65a0f1e
Add GPL to version output
2014-05-27 15:33:44 +02:00
Florian Bruhin
765e20f881
Try to preserve git commit id with setup.py/freeze.py
2014-05-15 07:13:49 +02:00
Florian Bruhin
9252ef94ca
Consistent string chars
2014-04-25 16:53:23 +02:00
Florian Bruhin
c5ca0e56be
Remove blank lines before """ in docstrings.
...
pep257 has changed in this regard so we reflect this change.
2014-04-10 14:21:27 +02:00
Florian Bruhin
7d878fec7b
version string cosmetic fixes
2014-02-20 19:59:22 +01:00
Florian Bruhin
7435a37f36
Style fixes in util.version
2014-02-20 19:56:34 +01:00
Florian Bruhin
b3fa7bba98
Improve version info
2014-02-20 15:32:46 +01:00
Florian Bruhin
9a990d56d9
Nicer docstrings
2014-02-19 10:58:32 +01:00
Florian Bruhin
5f83228c75
Reorder some methods, widgets not done yet
2014-02-18 17:54:17 +01:00
Florian Bruhin
903d9e7557
Don't use git -c
2014-02-10 19:21:52 +01:00
Florian Bruhin
fecfc86bc0
Make _git_str() more reliable
2014-02-10 16:36:58 +01:00
Florian Bruhin
39ed73c3cf
python package cleanup
2014-02-10 15:06:46 +01:00