Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commands: Reassess the cuts API | Aldo Cortesi | 2017-12-17 | 5 | -118/+78 |
| | | | | | Make the cuts API more transparent. Cut specifications are no longer a centrally resolved core type, and flows are now passed explicitly. | ||||
* | Merge pull request #2682 from mitmproxy/requires-io-master | Thomas Kriechbaumer | 2017-12-16 | 1 | -1/+1 |
|\ | | | | | [requires.io] dependency update on master branch | ||||
| * | [requires.io] dependency update | requires.io | 2017-12-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2679 from cortesi/commander2 | Aldo Cortesi | 2017-12-16 | 8 | -151/+124 |
|\ | | | | | commands - further progress | ||||
| * | commander: test++ | Aldo Cortesi | 2017-12-15 | 2 | -9/+51 |
| | | |||||
| * | commander: sort options for completion | Aldo Cortesi | 2017-12-15 | 1 | -0/+1 |
| | | |||||
| * | command: path completion | Aldo Cortesi | 2017-12-15 | 4 | -145/+51 |
| | | |||||
| * | console: fix variable clash exposed by recent key binding work | Aldo Cortesi | 2017-12-15 | 2 | -2/+2 |
| | | |||||
| * | command: recursive command parsing | Aldo Cortesi | 2017-12-15 | 2 | -2/+26 |
|/ | | | | This lets us complete commands passed to commands correctly. | ||||
* | Merge pull request #2678 from mhils/console-startup-events | Aldo Cortesi | 2017-12-15 | 7 | -72/+85 |
|\ | | | | | Fix console logging during startup | ||||
| * | improve eventstore truncation | Maximilian Hils | 2017-12-15 | 3 | -23/+38 |
| | | |||||
| * | limit eventstore size | Maximilian Hils | 2017-12-14 | 2 | -4/+11 |
| | | |||||
| * | console: display errors that happened during startup | Maximilian Hils | 2017-12-14 | 1 | -3/+16 |
| | | |||||
| * | streamline console logging, fix #2667 | Maximilian Hils | 2017-12-14 | 6 | -60/+38 |
| | | |||||
* | | Merge pull request #2677 from cortesi/commander | Aldo Cortesi | 2017-12-15 | 10 | -19/+355 |
|\ \ | |/ |/| | Commander | ||||
| * | command: add command.Arg type | Aldo Cortesi | 2017-12-15 | 3 | -10/+19 |
| | | | | | | | | | | | | This type represents an argument to a command passed to another command. This improves help text, and will be used in the partial parser to expand subcommand types. | ||||
| * | commands: emit types from partial parser, implement choice completion | Aldo Cortesi | 2017-12-15 | 3 | -20/+66 |
| | | |||||
| * | commander: tab completion for command names | Aldo Cortesi | 2017-12-15 | 3 | -10/+77 |
| | | |||||
| * | WIP: autocompletion | Aldo Cortesi | 2017-12-15 | 5 | -23/+72 |
| | | |||||
| * | commands: add a parser for partial commands | Aldo Cortesi | 2017-12-15 | 2 | -0/+35 |
| | | | | | | | | We only return Cmd and str types for the moment. | ||||
| * | commands: add a Cmd argument type | Aldo Cortesi | 2017-12-15 | 8 | -20/+35 |
| | | | | | | | | | | | | This represents a command passed as an argument. Also split arguments from command values themselves, making the command help for meta-commands much clearer. | ||||
| * | Introduce a custom widget for command editing | Aldo Cortesi | 2017-12-15 | 5 | -11/+126 |
|/ | | | | | The builtin urwid.Edit widget is not sufficiently flexible for what we want to do. | ||||
* | Merge pull request #2674 from mhils/issue-2620 | Aldo Cortesi | 2017-12-15 | 1 | -9/+10 |
|\ | | | | | Fix #2620 | ||||
| * | fix #2620 | Maximilian Hils | 2017-12-14 | 1 | -9/+10 |
| | | | | | | | | | | | | | | | | We previously had the problem that overriding keypress() skipped the proper calculation of the top widget's size, leading to broken scrolling behavior in the flowlist. We now always use urwid.Frame's keypress method, but we make sure that urwid.Pile and urwid.Columns delegate to the currently focused component. | ||||
* | | Merge pull request #2545 from mitmproxy/wsproto | Aldo Cortesi | 2017-12-15 | 18 | -119/+1708 |
|\ \ | | | | | | | Replace our WebSocket stack with wsproto | ||||
| * | | vendoring of wsproto | Thomas Kriechbaumer | 2017-12-12 | 7 | -4/+1419 |
| | | | | | | | | | | | | | | | https://github.com/python-hyper/wsproto.git commit 5ea2da61266796666f5de6461aaae22e6b00deba | ||||
| * | | docs++: add websocket PING/PONG | Thomas Kriechbaumer | 2017-12-12 | 1 | -0/+5 |
| | | | |||||
| * | | docs++: add individual protocol pages | Thomas Kriechbaumer | 2017-12-12 | 7 | -7/+63 |
| | | | |||||
| * | | Use wsproto for websockets | Ujjwal Verma | 2017-12-12 | 5 | -109/+185 |
| | | | |||||
| * | | prepare WebSocket stack to move to wsproto | Thomas Kriechbaumer | 2017-12-12 | 2 | -117/+154 |
| | | | |||||
* | | | Merge pull request #2675 from mhils/issue-2673 | Aldo Cortesi | 2017-12-15 | 2 | -8/+12 |
|\ \ \ | | | | | | | | | Fix #2673 | ||||
| * | | | fix #2673 | Maximilian Hils | 2017-12-14 | 2 | -8/+12 |
|/ / / | |||||
* | | | Merge pull request #2671 from mhils/command-argtypes | Maximilian Hils | 2017-12-14 | 5 | -58/+59 |
|\ \ \ | | | | | | | | | Introduce @command.argument | ||||
| * | | | simplify path type | Maximilian Hils | 2017-12-14 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | the previous implementation crashed the typechecker, as typing.NewType does not return a proper type that can be used for isinstance() checks. | ||||
| * | | | adjust tests | Maximilian Hils | 2017-12-14 | 1 | -8/+16 |
| | | | | |||||
| * | | | introduce @command.argument | Maximilian Hils | 2017-12-14 | 4 | -44/+40 |
| | |/ | |/| | | | | | | | | | | | | | This makes it possible to specify more specific type annotations at runtime, so that both mypy and our command system are happy. The .argument(name, type=) syntax is similar to click's, so it should be fairly extensible if we need it. | ||||
* / | | fix keybinding help strings | Maximilian Hils | 2017-12-14 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #2669 from cortesi/path | Aldo Cortesi | 2017-12-14 | 8 | -17/+31 |
|\ \ | | | | | | | commands: add a Path argument type | ||||
| * | | commands: add a Path argument type | Aldo Cortesi | 2017-12-13 | 8 | -17/+31 |
| | | | | | | | | | | | | | | | | | | | | | This is just an alias for str, and in this patch is used mostly to give an appropriate type in help strings. More to come. Fixes #2198 | ||||
* | | | Merge pull request #2670 from Kriechi/fix-2664 | Maximilian Hils | 2017-12-13 | 1 | -1/+8 |
|\ \ \ | | | | | | | | | fix #2664 | ||||
| * | | | fix #2664 | Thomas Kriechbaumer | 2017-12-13 | 1 | -1/+8 |
| | |/ | |/| | |||||
* | | | Merge pull request #2668 from cortesi/commandopts | Aldo Cortesi | 2017-12-13 | 8 | -38/+109 |
|\ \ \ | | |/ | |/| | Command improvements | ||||
| * | | commands: formalise a Choice type | Aldo Cortesi | 2017-12-13 | 7 | -25/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves as a string during MyPy checks, but at runtime has an additional attribute that is a command that returns valid options. This is very ugly and clumsy, basically because MyPy is super restrictive about what it accepts as a type. Almost any attempt to construct these types in a more sophisticated way fails in one way or another. I'm open to suggestions. | ||||
| * | | console: refactor console.flowview.mode | Aldo Cortesi | 2017-12-12 | 2 | -13/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have: console.flowview.mode gets the current mode console.flowview.mode.options gets the possible options for the mode console.flowview.mode.set sets the flowview mode This is quite a common pattern in our commands, to the point where we should formalise it. Fixes #2655 | ||||
| * | | minor: clarify docs for command.edit.focus* | Aldo Cortesi | 2017-12-12 | 1 | -1/+4 |
| | | | | | | | | | | | | Fixes #2653 | ||||
* | | | Merge pull request #2643 from Ga-ryo/master | Maximilian Hils | 2017-12-12 | 2 | -0/+5 |
|\ \ \ | |_|/ |/| | | Fix #2594 | ||||
| * | | minor improvements, add tests for ipv4-mapped addresses | Maximilian Hils | 2017-12-12 | 3 | -4/+5 |
| | | | |||||
| * | | Fix #2594 | @Ga_ryo_ | 2017-12-12 | 1 | -0/+4 |
| | | | |||||
* | | | fix #2529 | Maximilian Hils | 2017-12-12 | 2 | -2/+13 |
| | | | |||||
* | | | fix #2651 | Maximilian Hils | 2017-12-12 | 1 | -2/+2 |
| | | |