Commit Graph

7741 Commits

Author SHA1 Message Date
Florian Bruhin
35dffad869 Fix parsing of single args 2014-01-20 08:36:36 +01:00
Florian Bruhin
044d24903c Add TODO 2014-01-20 07:15:05 +01:00
Florian Bruhin
6acac5cb71 Display keystring in statusbar 2014-01-20 07:01:39 +01:00
Florian Bruhin
289f08f7a7 Start statusbar text widget system 2014-01-20 06:52:41 +01:00
Florian Bruhin
d635cbd3fd Fix shlex parsing 2014-01-20 06:51:59 +01:00
Florian Bruhin
fd9ab82e8b Add :pyeval 2014-01-19 23:54:22 +01:00
Florian Bruhin
bd28c00cf1 Use shlex to split command args, add split_args property 2014-01-19 23:33:13 +01:00
Florian Bruhin
2d8fd4499d Simplify command handler 2014-01-19 23:03:06 +01:00
Florian Bruhin
1e8cb42c00 Rewrite whole command system.
Every command signal now returns a tuple (count, args) and gets handled
in app.py by cmd_handler. This makes things easier in a lot of places.
2014-01-19 22:55:00 +01:00
Florian Bruhin
114c2c01d3 First broken attempt at implementing count 2014-01-19 22:25:54 +01:00
Florian Bruhin
bf99519046 More key refactoring 2014-01-19 20:45:01 +01:00
Florian Bruhin
a6aa95cba8 Clean up esc pressing in statusbar 2014-01-19 20:20:35 +01:00
Florian Bruhin
90cbf5362f Don't always clear status cmd text on focusOut 2014-01-19 20:17:51 +01:00
Florian Bruhin
014f73a2dd Remove esc FIXME
We can't do anything about this, see
https://bugreports.qt-project.org/browse/QTBUG-31527
2014-01-19 20:14:33 +01:00
Florian Bruhin
fb54eb58c1 Start reworking key parsing 2014-01-19 19:41:34 +01:00
Florian Bruhin
3fa18c5599 Remove all the pyqtSlot decorators 2014-01-19 18:45:14 +01:00
Florian Bruhin
bba3696630 commands: Implement scrollstart and scrollend 2014-01-19 18:43:47 +01:00
Florian Bruhin
8ca98da6c4 commands: Add debug output when command is called 2014-01-19 18:43:34 +01:00
Florian Bruhin
9f9f5c41f7 Refactor app.py 2014-01-19 18:20:57 +01:00
Florian Bruhin
0dd204b182 Implement scroll{left,right} 2014-01-19 17:45:03 +01:00
Florian Bruhin
4a95745b71 webview: Turn off scrollbars 2014-01-19 17:39:06 +01:00
Florian Bruhin
26a22d498a Hide progress bar at prog=100% 2014-01-19 17:34:07 +01:00
Florian Bruhin
f816e27c77 Refactor error display/clearing 2014-01-19 17:30:31 +01:00
Florian Bruhin
50b5f84f1d Add TODO 2014-01-19 17:18:46 +01:00
Florian Bruhin
5bab3aa79d tab bar: make font smaller 2014-01-19 17:08:45 +01:00
Florian Bruhin
457c422f5d tabbar: elide text 2014-01-19 16:56:33 +01:00
Florian Bruhin
ee3eedbfb5 status: Hide progress bar when finished loading 2014-01-19 16:56:19 +01:00
Florian Bruhin
0100dcf119 Style progress bar 2014-01-19 16:25:33 +01:00
Florian Bruhin
e1934929b1 Fix progress bar 2014-01-19 15:35:48 +01:00
Florian Bruhin
f96d420619 Add broken progress bar 2014-01-18 00:02:53 +01:00
Florian Bruhin
d500c8b9dd Get rid of tabs list 2014-01-17 23:22:49 +01:00
Florian Bruhin
ff938fc0d5 Add undo command 2014-01-17 23:17:24 +01:00
Florian Bruhin
321c00bbfb Set title correctly 2014-01-17 22:57:00 +01:00
Florian Bruhin
022fc7aa4e Add scrolling commands 2014-01-17 22:02:11 +01:00
Florian Bruhin
ff855d6ded Add commands reload/stop/back/forward/print 2014-01-17 21:51:38 +01:00
Florian Bruhin
1b08b88b2b Move signal filtering to generic function 2014-01-17 21:31:14 +01:00
Florian Bruhin
09467abe7e Log progress changes 2014-01-17 20:29:20 +01:00
Florian Bruhin
dfcba88179 Emit progress_changed in tab init 2014-01-17 20:29:07 +01:00
Florian Bruhin
7cdad8e30d Fix esc key 2014-01-17 20:22:50 +01:00
Florian Bruhin
5efa56c5bb Add logging 2014-01-17 20:03:21 +01:00
Florian Bruhin
2b84768902 Remove debug output 2014-01-17 19:42:33 +01:00
Florian Bruhin
294c5fa138 Update cur_progress on tab switch 2014-01-17 13:16:13 +01:00
Florian Bruhin
688b22eaac Move progress handling to TabbedBrowser 2014-01-17 13:08:44 +01:00
Florian Bruhin
c0320a911b First implementation of a progress bar 2014-01-17 12:24:38 +01:00
Florian Bruhin
3a76d52ffb Move keys.py to commands 2014-01-17 12:01:21 +01:00
Florian Bruhin
b14f3f63c5 Fix empty command handling 2014-01-17 12:00:13 +01:00
Florian Bruhin
4e9527fb4c More fixups 2014-01-17 11:55:16 +01:00
Florian Bruhin
df48208524 tolower() -> lower() 2014-01-17 11:29:06 +01:00
Florian Bruhin
6e700ba4ad Fix inspect namespacing 2014-01-17 11:28:46 +01:00
Florian Bruhin
f61debd2f4 Fix circular import 2014-01-17 11:28:35 +01:00
Florian Bruhin
04140d9777 Remove explicit command name 2014-01-17 11:14:19 +01:00
Florian Bruhin
61c90f293c Split commands to commands/utils 2014-01-17 10:57:27 +01:00
Florian Bruhin
bcc2fa9653 Move browser to widgets 2014-01-17 10:43:50 +01:00
Florian Bruhin
9a20d60c13 Add tab{prev,next} command 2014-01-17 08:39:14 +01:00
Florian Bruhin
c392993c79 Don't close last tab 2014-01-17 08:28:04 +01:00
Florian Bruhin
26df5a8076 Add monospace font for Windows 2014-01-17 08:26:45 +01:00
Florian Bruhin
517fcb02ab Add defaults for signal emitting 2014-01-17 08:12:28 +01:00
Florian Bruhin
19d8202b01 Default to argv=None for commands 2014-01-17 08:11:29 +01:00
Florian Bruhin
928bdbe160 Add tabclose command 2014-01-17 08:03:42 +01:00
Florian Bruhin
ad52436875 Immediately run cmds without args in keyhandler 2014-01-17 07:56:30 +01:00
Florian Bruhin
08207d6f9d Handle focus loss for cmd bar 2014-01-17 07:18:48 +01:00
Florian Bruhin
7d285fa5a3 Add keys to MainWindow, not to tabs 2014-01-17 07:08:56 +01:00
Florian Bruhin
020d079b85 Add error for invalid arg count 2014-01-17 07:06:49 +01:00
Florian Bruhin
cb0c2604f3 Display error on unknown command 2014-01-17 07:04:24 +01:00
Florian Bruhin
837f53edea Add empty command 2014-01-17 06:56:18 +01:00
Florian Bruhin
746e7a90ad Add keybindings 2014-01-17 06:51:21 +01:00
Florian Bruhin
6eaf719298 Set keyboard focus after command 2014-01-16 21:59:50 +01:00
Florian Bruhin
a691cc10af Enforce : in status bar command 2014-01-16 21:42:46 +01:00
Florian Bruhin
1736eb20c8 Fix command argument handling 2014-01-16 16:05:31 +01:00
Florian Bruhin
8f9bfb02c3 Fix typo 2014-01-16 16:00:25 +01:00
Florian Bruhin
7c9b6bdbde Use objects in cmd_dict 2014-01-16 15:59:57 +01:00
Florian Bruhin
1d88bb7c9c Connect signals properly 2014-01-16 15:55:52 +01:00
Florian Bruhin
0250f61b8a Import pyqtsignal in statusbar.py 2014-01-16 15:55:44 +01:00
Florian Bruhin
857228e4f2 Refactor commandline parsing 2014-01-16 17:49:57 +01:00
Florian Bruhin
7c866f5014 Add quit command 2014-01-16 17:45:12 +01:00
Florian Bruhin
ef9a5d569e Check argument count 2014-01-16 17:34:45 +01:00
Florian Bruhin
bc6d7fee25 Rewrite command parsing 2014-01-16 17:12:55 +01:00
Florian Bruhin
64568de851 Add commands.py 2013-12-16 22:07:22 +01:00
Florian Bruhin
ea31eb35c8 Add tabopen 2013-12-16 22:07:11 +01:00
Florian Bruhin
e31e15b34a Add open command 2013-12-16 22:01:06 +01:00
Florian Bruhin
1b759512bb Remove test tabs 2013-12-15 22:24:47 +01:00
Florian Bruhin
f0c9977fa4 Add actual browser 2013-12-15 21:40:15 +01:00
Florian Bruhin
fbe968af73 Move main window logic to mainwindow.py 2013-12-15 20:33:43 +01:00
Florian Bruhin
ae516f3f73 Split widgets to different files 2013-12-15 20:29:39 +01:00
Florian Bruhin
7bd7c4d84d Use monospace font for tab bar 2013-12-15 20:20:29 +01:00
Florian Bruhin
768622d294 Set document mode to true for tabbar 2013-12-15 20:18:40 +01:00
Florian Bruhin
bc59d7697e Own TabWidget object 2013-12-15 00:39:28 +01:00
Florian Bruhin
06506e5e48 Statusbar styling 2013-12-15 00:01:05 +01:00
Florian Bruhin
2461d74647 Layout changes 2013-12-14 23:25:59 +01:00
Florian Bruhin
ae08f0e33a First real layout 2013-12-14 22:53:37 +01:00
Florian Bruhin
11a94957dc Initial commit 2013-12-14 22:15:16 +01:00