about summary refs log tree commit diff stats
path: root/run_one_test
Commit message (Collapse)AuthorAgeFilesLines
* 6200 - --dump is not needed for incremental tracesKartik Agaram2020-04-091-1/+2
| | | | | | | | This undoes commit 5764, which was ill-considered. We already had incremental prints at that point to 'last_run'. As long as we don't run out of RAM on large traces, there doesn't seem any need to print to stderr. Now '--dump' is only needed when juggling multiple traces.
* 5880Kartik Agaram2020-01-101-1/+1
|
* 5865Kartik Agaram2020-01-021-1/+1
| | | | Give the bootstrap C++ program a less salient name.
* 5864Kartik Agaram2020-01-021-1/+1
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-1/+1
| | | | | | | | | | | | | | | | This undoes 5672 in favor of a new plan: Layers 000 - 099 are for running without syntax sugar. We use them for building syntax-sugar passes. Layers 100 and up are for running with all syntax sugar. The layers are arranged in approximate order so more phases rely on earlier layers than later ones. I plan to not use intermediate syntax sugar (just sigils without calls, or sigils and calls without braces) anywhere except in the specific passes implementing them.
* 5662Kartik Agaram2019-09-151-1/+1
| | | | Fix several breakages.
* 5638Kartik Agaram2019-09-071-6/+1
|
* 5618Kartik Agaram2019-09-041-3/+9
|
* .Kartik Agaram2019-08-251-1/+1
|
* skip building apps when running a single testKartik Agaram2019-08-251-3/+3
| | | | Environment variables allow me to have non-local effects inside scripts.
* 5509Kartik Agaram2019-08-111-0/+22
/examples/plugin_chmod_keybindings.py?id=184e84284d2f4e48631a4b94b87ba76126470206'>^
972da7ba ^
b3d031a9 ^
ca1a5d21 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
                                                   
 



                                                                            
                                                                  
 
                 


                                    
 
 
                  
                     
 

                                                         
                                    


                                                               
 
 
                                
# Compatible with ranger 1.6.0 through ranger 1.7.*
#
# This plugin serves as an example for adding key bindings through a plugin.
# It could replace the ten lines in the rc.conf that create the key bindings
# for the "chmod" command.

from __future__ import (absolute_import, division, print_function)

import ranger.api


HOOK_INIT_OLD = ranger.api.hook_init


def hook_init(fm):
    HOOK_INIT_OLD(fm)

    # Generate key bindings for the chmod command
    command = "map {0}{1}{2} shell -d chmod {1}{0}{2} %s"
    for mode in list('ugoa') + ['']:
        for perm in "rwxXst":
            fm.execute_console(command.format('-', mode, perm))
            fm.execute_console(command.format('+', mode, perm))


ranger.api.hook_init = hook_init