Commit Graph

1115 Commits

Author SHA1 Message Date
Florian Bruhin
1c5ae25b68 Start implementing auto_insert_mode 2014-04-24 16:03:16 +02:00
Florian Bruhin
10d7d887ec Pass keypresses to statusbar correctly 2014-04-24 15:47:38 +02:00
Florian Bruhin
ff887c647d Don't append mode to mode stack if it's already 2014-04-24 07:44:54 +02:00
Florian Bruhin
b9d845180e Better logging for ModeManager 2014-04-24 07:44:47 +02:00
Florian Bruhin
5b84848ad9 s/leaved/left/g 2014-04-24 07:01:27 +02:00
Florian Bruhin
95691e1e11 Show passthrough modes in statusbar 2014-04-24 06:59:39 +02:00
Florian Bruhin
afa9c47867 Lint cleanups 2014-04-24 06:45:38 +02:00
Florian Bruhin
3d292fbc27 Use a stack for current modes 2014-04-24 06:44:58 +02:00
Florian Bruhin
cd5f2562aa Adjust eventFilter to use new features 2014-04-23 23:24:46 +02:00
Florian Bruhin
e56d33badc Check if handler is available for new mode 2014-04-23 23:23:30 +02:00
Florian Bruhin
5385307582 Register modes explicitely with modemanager. 2014-04-23 23:23:04 +02:00
Florian Bruhin
fc11021c08 Add a passthrough argument to modemanager register() 2014-04-23 23:22:34 +02:00
Florian Bruhin
522a703863 Remove module-level modemanager register() 2014-04-23 23:21:29 +02:00
Florian Bruhin
8f44b56923 Start implementing eventFilter in ModeManager 2014-04-23 23:20:39 +02:00
Florian Bruhin
ce48ed9b8e Add entered/leaved signals to modemanager 2014-04-23 21:15:47 +02:00
Florian Bruhin
8b5daad367 Add ModeManager 2014-04-23 21:15:47 +02:00
Florian Bruhin
46f1a2a0d0 Add log_events decorator 2014-04-22 23:50:56 +02:00
Florian Bruhin
0f29526f91 Refactor keyparser 2014-04-22 17:21:29 +02:00
Florian Bruhin
aedf1889dd Support ambiguous keybindings 2014-04-22 16:50:37 +02:00
Florian Bruhin
f38871c9c9 Remove FIXME 2014-04-22 16:12:53 +02:00
Florian Bruhin
97578df7a5 Use QHostInfo instead of socket to resolve 2014-04-22 16:09:41 +02:00
Florian Bruhin
963066b4bd Remove some old FIXMEs 2014-04-22 14:45:24 +02:00
Florian Bruhin
9b5cf6ee7d Update appdirs.py 2014-04-22 12:07:57 +02:00
Florian Bruhin
e1b7305e40 Get rid of unneeded text slots in statusbar 2014-04-22 10:00:43 +02:00
Florian Bruhin
d700d962af Add the ability to display persistent messages. 2014-04-22 09:06:17 +02:00
Florian Bruhin
341481cd99 Allow bindings to be modified 2014-04-21 11:00:58 +02:00
Florian Bruhin
52c7376402 Split command-related stuff off from KeyParser 2014-04-21 10:45:57 +02:00
Florian Bruhin
39f580d9f1 Cleanup 2014-04-17 17:44:27 +02:00
Florian Bruhin
457e173592 More config cleanup.
This renames the config instance from "config" to "instance" and adds a
convenience get() function in the config module.
2014-04-17 15:26:27 +02:00
Florian Bruhin
91e6f4c37d Better linting with config files 2014-04-16 11:05:58 +02:00
Florian Bruhin
e878fc538d Fix some checks 2014-04-16 10:02:34 +02:00
Florian Bruhin
175eabdc80 Remove fallback values from config 2014-04-10 14:40:02 +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
4ff86b660c Lint fixes 2014-04-10 12:24:41 +02:00
Florian Bruhin
235d588827 Remove MessageBridge debug 2014-04-09 21:17:56 +02:00
Florian Bruhin
72ab405040 Handle statusbar messages centrally 2014-04-09 20:47:24 +02:00
Florian Bruhin
638fdca573 appdirs.py update 2014-03-25 06:23:55 +01:00
Florian Bruhin
f079d6bf3b More config update/adoption 2014-03-10 00:39:14 +01:00
Florian Bruhin
eb2097772d Add utils/debug.py 2014-03-03 21:22:20 +01:00
Florian Bruhin
b75fc347dc Fix checks 2014-03-03 21:19:29 +01:00
Florian Bruhin
af0b6901be First kinda working version 2014-03-03 21:06:10 +01:00
Florian Bruhin
b22b19d881 Start using (broken) decorators 2014-03-03 06:09:23 +01:00
Florian Bruhin
3b648a4c0d Move config to config subfolder 2014-02-23 18:14:40 +01:00
Florian Bruhin
7da05b3fb9 Raise better error in NeighborList.curitem if no index is set 2014-02-23 17:39:29 +01:00
Florian Bruhin
b59f0e9a34 Rename types.py to usertypes.py 2014-02-23 16:30:07 +01:00
Florian Bruhin
a96261e7b8 Cleanup 2014-02-21 19:44:46 +01:00
Florian Bruhin
90e56e6477 Rename about:... to qute:... 2014-02-21 07:18:04 +01:00
Florian Bruhin
ec1951c56c Move abouthandler to network subpackage 2014-02-20 22:26:25 +01:00
Florian Bruhin
88b8b6ea4e Improve config save warning 2014-02-20 20:49:31 +01:00
Florian Bruhin
7fc45728a9 NeighborList: add firstitem() and lastitem() 2014-02-20 20:47:06 +01:00
Florian Bruhin
92b0024f25 NeighborList: Remove off-by-one error 2014-02-20 20:46:53 +01:00
Florian Bruhin
7d74e62696 NeighborList; Remove old FIXME 2014-02-20 20:46:43 +01:00
Florian Bruhin
858ff4a4f0 NeighborList: Ensure self.idx is always set 2014-02-20 20:46:29 +01:00
Florian Bruhin
e1fe6111ec NeighborList: Always cast items to list 2014-02-20 20:46:15 +01:00
Florian Bruhin
4f6e149289 Add logging to NeighborList 2014-02-20 20:46:05 +01:00
Florian Bruhin
7d11790d35 Make it possible to use NeighborList without items 2014-02-20 20:45:30 +01: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
ab8fef3cdb Add new NeighborList datatype 2014-02-20 19:55:35 +01:00
Florian Bruhin
b3fa7bba98 Improve version info 2014-02-20 15:32:46 +01:00
Florian Bruhin
f70ad71f9c Add error strings to exceptions 2014-02-19 11:11:21 +01:00
Florian Bruhin
93065188a7 All-caps constants 2014-02-19 11:11:19 +01:00
Florian Bruhin
9a990d56d9 Nicer docstrings 2014-02-19 10:58:32 +01:00
Florian Bruhin
581f88fcce Avoid pylint maybe-no-member warnings for ConfigParser. 2014-02-18 19:32:00 +01:00
Florian Bruhin
5f83228c75 Reorder some methods, widgets not done yet 2014-02-18 17:54:17 +01:00
Florian Bruhin
911d5d3b4a Refactor ALL the things 2014-02-18 16:51:01 +01:00
Florian Bruhin
6cd02ca368 utils.config docstring update 2014-02-18 14:37:49 +01:00
Florian Bruhin
2fcda0e67b Refactor Config.get() 2014-02-18 14:34:46 +01:00
Florian Bruhin
3d37b22fb0 Cleanup 2014-02-18 14:21:39 +01:00
Florian Bruhin
109906043e Add a trace_lines util function 2014-02-18 12:10:36 +01:00
Florian Bruhin
bbab0e7430 autosearch bugfix and debug output 2014-02-18 12:02:07 +01:00
Florian Bruhin
27d354633c Save/restore window geometry. 2014-02-18 11:57:35 +01:00
Florian Bruhin
96d01f8755 Improve fallback handling for Config. 2014-02-18 11:57:19 +01:00
Florian Bruhin
df0e534a0b bugfix: Always handle about-URLs as URL. 2014-02-18 10:47:02 +01:00
Florian Bruhin
88ea6e62b1 Unify auto_search/addressbar_dns_lookup 2014-02-18 10:46:59 +01:00
Florian Bruhin
99aba6d9c0 Move default config to file 2014-02-18 10:33:57 +01:00
Florian Bruhin
9c0f0e8ac5 Add last_close setting. 2014-02-17 16:50:41 +01:00
Florian Bruhin
966ceba1e6 Import cleanup 2014-02-17 12:23:52 +01:00
Florian Bruhin
933296f47f Move models to qutebrowser.models 2014-02-14 17:41:12 +01:00
Florian Bruhin
302736925b Clean up read_file(). 2014-02-14 16:43:41 +01:00
Florian Bruhin
e56ed54102 Add broken error pages 2014-02-14 07:17:36 +01:00
Florian Bruhin
203fa3eb34 Docstring grammar fixes 2014-02-13 18:57:19 +01:00
Florian Bruhin
a7d52feb99 Add ga binding 2014-02-13 10:30:52 +01:00
Florian Bruhin
029813c8eb Implement page-wise scrolling. 2014-02-13 10:28:09 +01:00
Florian Bruhin
7deab20820 Cleanup, more checks 2014-02-13 09:10:53 +01:00
Florian Bruhin
5b0e24b799 Make tabbar configurable. 2014-02-13 08:56:01 +01:00
Florian Bruhin
0326a66758 Don't color progress bar anymore. 2014-02-13 07:06:34 +01:00
Florian Bruhin
6538dbbdf1 Colorize URLs in statusbar, fix hovering.
Before, when hovering from an URL to another URL, the old hover-URL was
saved as old-url. This is now fixed.
2014-02-13 06:58:17 +01:00
Florian Bruhin
7bfc1eb791 Add FIXME for color validation 2014-02-12 23:28:03 +01:00
Florian Bruhin
c77589a821 Make SignalCache an own class. 2014-02-11 14:04:36 +01:00
Florian Bruhin
0676508687 Add signal_name in utils.misc 2014-02-11 13:26:41 +01:00
Florian Bruhin
26787b0d30 Add custom set_trace for debugging. 2014-02-11 10:30:17 +01:00
Florian Bruhin
796cb0c7b6 Clean up style proxy to be much more concise. 2014-02-11 07:45:28 +01:00
Florian Bruhin
78c89981ab Implement custom style for Ubuntu madness. 2014-02-11 07:01:59 +01:00
Florian Bruhin
903d9e7557 Don't use git -c 2014-02-10 19:21:52 +01:00
Florian Bruhin
6cf85ff52e Replace QUrl::url by QUrl::toString. 2014-02-10 19:12:12 +01:00
Florian Bruhin
094640b39b Fix signal_cache init, more debugging. 2014-02-10 17:54:24 +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
Florian Bruhin
e49a0aa0ed Use generator expressions where possible. 2014-02-10 08:21:09 +01:00
Florian Bruhin
e7a3754ce1 Add fontdict default 2014-02-10 07:08:52 +01:00
Florian Bruhin
95b295745b Rename __default__ searchengine to DEFAULT 2014-02-10 07:07:32 +01:00
Florian Bruhin
1af78272bb Make fonts configurable. 2014-02-10 07:03:51 +01:00
Florian Bruhin
5980f2cc33 Make auto_search configurable. 2014-02-09 20:57:23 +01:00
Florian Bruhin
3555e20642 Fix default_config indent. 2014-02-07 20:23:00 +01:00
Florian Bruhin
01633007e0 Be PEP257 compliant. 2014-02-07 20:21:50 +01:00
Florian Bruhin
dadfc952d1 dos2unix for url.py, argh 2014-02-07 19:21:41 +01:00
Florian Bruhin
b50eba38d3 Refactor utils.url. 2014-02-07 19:20:57 +01:00
Florian Bruhin
a4a2832f8e Move url utils to url.py 2014-02-07 17:20:55 +01:00
Florian Bruhin
ccddf3f7e7 Improve url/searchterm checking. 2014-02-07 17:14:13 +01:00
Florian Bruhin
31fd8282da Implement search engines. 2014-02-07 14:02:14 +01:00
Florian Bruhin
8a81a61c2d Use ExtendedInterpolation for config 2014-02-07 14:01:17 +01:00
Florian Bruhin
bcb24e3ebf Do not call qurl() from is_about_url() 2014-02-07 14:00:54 +01:00
Florian Bruhin
940b2d0860 Fix checks 2014-02-07 11:01:58 +01:00
Florian Bruhin
920683b804 Refactor about:... handling 2014-02-07 10:34:37 +01:00
Florian Bruhin
210380e4b0 Use QUrl::fromUserInput for utils.qurl 2014-02-07 10:03:58 +01:00
Florian Bruhin
0648dce295 Add GNU GPL 2014-02-06 14:01:23 +01:00
Florian Bruhin
e2589a35b3 Add opencur and tabopencur 2014-02-06 13:34:49 +01:00
Florian Bruhin
ae81427293 Cleanup/Checks 2014-02-06 06:54:57 +01:00
Florian Bruhin
43edb7bb9b Debug logging for qurl handling, handle about: correctly 2014-02-05 15:17:29 +01:00
Florian Bruhin
9c19fd21d6 Implement handling keys with modifiers 2014-02-05 10:54:56 +01:00
Florian Bruhin
1f6ae3e0ed Add possible workaround for model invalidate(). 2014-02-04 20:59:39 +01:00
Florian Bruhin
a0bcfe1960 Add FIXME for self.invalidate() 2014-02-04 18:46:33 +01:00
Florian Bruhin
49a3b57544 Fix checks 2014-02-04 18:44:32 +01:00
Florian Bruhin
89bd255be1 Set _pattern (not pattern) in filter model __init__ 2014-02-04 18:37:54 +01:00
Florian Bruhin
109522e43f Save sourceModel(). 2014-02-04 18:37:35 +01:00
Florian Bruhin
c32ba2f2c8 Only invalidate filter after filtering.
This might avoid some odd segfaults, but it also means sorting won't
work properly.
2014-02-04 13:32:22 +01:00
Florian Bruhin
1f59a00808 Change how resorting is done.
This avoids the pattern_changed signal and does the resorting in the
model directly (where it belongs) instead.
2014-02-04 13:19:55 +01:00
Florian Bruhin
3a3a63c000 Avoid using internalPointer in CompletionModel.
This maybe fixes these weird segfaults.

Based on:
http://python.6.x6.nabble.com/segfault-when-using-a-proxy-and-SIGNAL-quot-clicked-QModelIndex-quot-td1921384.html
2014-02-04 11:05:34 +01:00
Florian Bruhin
bf6290cfc8 Merge branch 'master' of ssh://the-compiler.org:2323/qutebrowser 2014-02-04 07:52:04 +01:00
Florian Bruhin
ef5d034278 Support -c '' again 2014-02-01 20:55:37 +01:00
Florian Bruhin
c4edc6f5da Make sure to save config on crash 2014-01-31 15:58:14 +01:00
Florian Bruhin
85646af2d0 Show webkit version in version info 2014-01-31 15:54:12 +01:00
Florian Bruhin
89738bce7d Improve crash dialog 2014-01-31 10:24:00 +01:00
Florian Bruhin
053ce35032 Hopefully sane default config handling.
This now reads the values from the config, and from a default config if
it's not overridden.
2014-01-30 23:05:39 +01:00
Florian Bruhin
a71684ea0f Add version() to utils to get version/about infos 2014-01-30 21:11:30 +01:00
Florian Bruhin
c3ce167926 Allow commands/URLs to be passed as arguments. 2014-01-30 21:11:30 +01:00
Florian Bruhin
ee9d8e74be Implement ignorecase/wrapsearch settings. 2014-01-30 12:03:34 +01:00
Florian Bruhin
330332da6d Use string for default config 2014-01-30 08:25:49 +01:00
Florian Bruhin
143dba4461 Fix harfbuzz issues by setting QT_HARFBUZZ=old 2014-01-30 04:56:16 +01:00
Florian Bruhin
58103fa7e4 Implement yank/paste 2014-01-30 00:29:46 +01:00
Florian Bruhin
18c68ce74e Implement searching 2014-01-29 21:06:56 +01:00
Florian Bruhin
e56099e0ec Docstringify ALL the things 2014-01-29 15:30:19 +01:00
Florian Bruhin
46660b11ef Refactor CompletionView 2014-01-29 09:14:37 +01:00
Florian Bruhin
d83b98ecc0 More pylint fixes 2014-01-29 08:36:44 +01:00
Florian Bruhin
59a19db9a2 Add __init__.py 2014-01-29 04:24:37 +01:00
Florian Bruhin
6f3a2448ba pep8 fixes 2014-01-28 23:12:44 +01:00
Florian Bruhin
f059bf0b3d some pylint fixes 2014-01-28 19:52:09 +01:00
Florian Bruhin
3c016de687 Scroll on space press 2014-01-28 16:13:26 +01:00
Florian Bruhin
a907e913dd More monospace fonts 2014-01-28 15:20:58 +01:00
Florian Bruhin
9c209c0cdd Allow completion to be disabled 2014-01-28 12:59:38 +01:00
Florian Bruhin
9bf7dd2bbb Make colors configurable 2014-01-28 12:24:08 +01:00
Florian Bruhin
b83bf4e238 Rename scrollpercent{x,y} 2014-01-28 06:52:59 +01:00
Florian Bruhin
1e636eaba2 Add missing utils module 2014-01-27 23:19:03 +01:00
Florian Bruhin
3e47c89bac Sort items correctly 2014-01-27 22:18:12 +01:00
Florian Bruhin
7a549b38a4 Aaaargh, CRLFs 2014-01-27 21:42:00 +01:00
Florian Bruhin
f2223064b3 Merge completion branch
Squashed commit of the following:

commit 8bbf7242e7ae3168a0e8652ad643c7c1fe8670d3
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 21:34:35 2014 +0100

    foo

commit cc9a4eed6e7ca9599bcc40b40f43614040711714
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 21:33:09 2014 +0100

    fixes

commit b84c9207f8596dac0f47bf72cd178f8e3ee9ebb7
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 21:27:48 2014 +0100

    Make titles bold

commit d2ef899f90036b05856deb178e61de5d961e1342
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 21:18:01 2014 +0100

    Make tab work properly

commit ccc407093e39f1964c8e3ff2900c66b28dc7fe56
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 16:19:57 2014 +0100

    Add FIXME, remove showhide

commit cbe6d0a2b0614df839c75f1815f939c11e4ae3ba
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 16:12:55 2014 +0100

    Use stylesheet for highlight

commit 7eeb6e79f17bc8e7ccc1ec90f474d1c2b1c01c1e
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 16:01:50 2014 +0100

    Make highlighting work

commit 4fed5b9f7291109fd1c669c61501861223364b7d
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 17:49:30 2014 +0100

    First attempt at marking

commit 27a3bda214b7fc7741b4c12d723ccdf4073c0d5e
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 17:14:48 2014 +0100

    Funny broken marking

commit 2798cf75dd295ace2a33295e9a64dd373b7fd669
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 16:25:36 2014 +0100

    Make completion and filtering work

commit b213d9724bc9f4bb36204bd1b2c4aaf62a454e11
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 16:07:14 2014 +0100

    Implement dynamic source models

commit c7951e6b4346a1702509bea6d3694cc50550c9ed
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 14:44:31 2014 +0100

    Add custom filtering

commit 37b100f3a1a1f5a90592e34b268c08df684b0df9
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 14:43:57 2014 +0100

    Add default roles in model

commit 1610423c1dd36c0adc35743a38e2c3a81f3641ef
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 14:43:36 2014 +0100

    Remove dataChanged

commit 467712630b00a9ca2407903bdba977b5e66dd2bc
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 13:57:18 2014 +0100

    Fix stuff

commit 00bb46e0ef46b9ae61652bde3ae10d3252263e46
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 11:51:34 2014 +0100

    First attempt at a real CommandCompletionModel

commit a8be022f80d7d35049d1ae3d8431702e7a407698
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 10:25:48 2014 +0100

    Adapt completion view to size

commit ad6bf69a4257880ce14b0590bcb5381c718bb744
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 09:17:48 2014 +0100

    Fix stuff

commit 41c1fbfa942bab0a1a0db35f6b745b691c774b22
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 09:16:09 2014 +0100

    Hide CompletionView by default

commit 2ac8596dada6c7e079807bfd698377a9d3ffd0af
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 09:13:11 2014 +0100

    File shuffling

commit f0c85d5bee30095324be354934f3379c1c6a5291
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 09:04:29 2014 +0100

    Cleanup, don't show completionview

commit 177ac97acb2d611992869f122669d95a8dadcdbb
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 07:16:37 2014 +0100

    Add FIXME for eliding

commit 6b234c58928e9a231ec35e5080a27d7a8affebc4
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 07:12:55 2014 +0100

    Add TextOption to TextDocument

commit 195e95459b54bbdb0545cb0e4db417ab641cea28
Author: Florian Bruhin <git@the-compiler.org>
Date:   Mon Jan 27 07:01:41 2014 +0100

    Resize QTreeView contents based on window size

commit 05b854bc812f0aabf5c6dcbdfa1dfd74ea495170
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sun Jan 26 01:19:28 2014 +0100

    Split files

commit ff433b561179a562494c7d3558336a917edc497f
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sun Jan 26 00:57:18 2014 +0100

    cleanup

commit bdb17de2fee65411b4dd1d0ad449329f0586f1e0
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sun Jan 26 00:15:17 2014 +0100

    Make text drawing work properly

commit d844152074738df88ed79c2e1efc4eec4b6e5734
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sat Jan 25 14:03:16 2014 +0100

    Split painting into functions

commit 585a9f6931a407117c4232ac14844d33233922f8
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sat Jan 25 13:50:52 2014 +0100

    Use QTextDocument, things are getting better

commit 96fef2114e68766590ed33fa92c6f2bbac8adb11
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sat Jan 25 13:08:58 2014 +0100

    Failed try to reimplement painting

commit d967285f24a7966674c8685e9e276e560e9cc066
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sat Jan 25 11:15:07 2014 +0100

    Try drawing over text

commit 2687d891cc2f1ecd00cace78492cbffc745d9e5b
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 23:06:44 2014 +0100

    First try at implementing delegate

commit c8bada0c7607df936df04b9c7796a03cc2e1a71a
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 19:59:14 2014 +0100

    Don't allow categories to be selected

commit 6b56df5a0e2588d89d757f583070dd2ca78a6e15
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 19:53:36 2014 +0100

    Add outline:0 to TreeView

commit 534ba6e191e711cc7abeea78c3bf470e9eaf0bfd
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 17:57:57 2014 +0100

    More styling

commit 065d40c24d2746f49660485700e3e6327b28810d
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 17:47:40 2014 +0100

    Add more commands, more styling for TreeView

commit 2362d01db40bbc923a51a8bc53ffbabfd18ebea0
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 16:50:31 2014 +0100

    Adjust super()

commit 43ebedff6724af0f217acc14a325febd12c4ed0b
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 16:50:20 2014 +0100

    Style CompletionView

commit 79c1010cf54bd8a3c3f4b2b4a9f97d8ae7d603fb
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 13:06:12 2014 +0100

    Completion refactoring

    Clean up imports
    Whitespace
    Make items non-editable
    Rename nodeToIndex()
    Return QVariant() instead of None
    Remove comments
    Don't inherit TreeItem from object
    Get rid of getValue
    Get rid of child()
    Get rid of childCount
    Remove appendChild
    Get rid of columnCount
    Get rid of parent()
    Renames
    Refactor if
    Simplify columnCount
    Minor fixups

commit a7a6b95f56a87ef03359ec5f9e5d45a906112845
Author: Florian Bruhin <git@the-compiler.org>
Date:   Fri Jan 24 13:04:28 2014 +0100

    Split completion out of command.py

commit cd1c6419ff4034a29a1b48c4ed6ca292944f5674
Author: Florian Bruhin <git@the-compiler.org>
Date:   Thu Jan 23 17:53:37 2014 +0100

    Fix

commit 7073edea92ff8384535f5db80c01168bb8462e75
Author: Florian Bruhin <git@the-compiler.org>
Date:   Thu Jan 23 17:28:03 2014 +0100

    More attempts

commit 7dc522667ba52e9b7f20b3b66e977d23258a3ff4
Author: Florian Bruhin <git@the-compiler.org>
Date:   Thu Jan 23 16:56:01 2014 +0100

    Get rid of parent in setupModelData

commit 5df4874e14818399494f3a47f7feea8b9f86cf69
Author: Florian Bruhin <git@the-compiler.org>
Date:   Thu Jan 23 16:51:52 2014 +0100

    First model/view experiments
2014-01-27 21:35:12 +01:00
Florian Bruhin
7c33bffdb2 Act correctly when -c is used with empty argument 2014-01-22 17:25:19 +01:00
Florian Bruhin
97588db71b Add -c argument, don't init config if -c '' 2014-01-22 17:04:10 +01:00
Florian Bruhin
47c3866f51 Change default config handling.
Now the default config only gets applied (and written to disk) when no
config file doesn't exist yet.
2014-01-22 16:52:35 +01:00
Florian Bruhin
373b22690d Add missing config.py 2014-01-21 07:33:54 +01:00
Florian Bruhin
da7a95d6ec Remove usersettings.py again
it's approach is too unflexible for my taste, e.g. I want to be able to
use config sections.
2014-01-20 11:44:43 +01:00
Florian Bruhin
930f84906e Adopt appdirs/usersettings for py3 and qutebrowser 2014-01-20 11:33:47 +01:00
Florian Bruhin
97c2e7aae9 Add usersettings.py
source: https://github.com/glvnst/usersettings
2014-01-20 11:23:48 +01:00
Florian Bruhin
a59535c79c Add appdirs.py
source: https://github.com/ActiveState/appdirs
2014-01-20 11:23:18 +01:00