about summary refs log tree commit diff stats
path: root/dwm.1
Commit message (Expand)AuthorAgeFilesLines
* simplified Mod-mAnselm R. Garbe2007-12-091-1/+1
* implemented reapply for re-applying the tagging rules during runtime, Mod-rAnselm R. Garbe2007-12-081-0/+3
* added Mod1-Tab description to dwm.1Anselm R. Garbe2007-10-101-0/+3
* fixed man pageAnselm R. Garbe2007-09-301-1/+1
* applied Peter Hartlich's togglemax patch to allow toggling tiled clients to m...Anselm R. Garbe2007-09-181-1/+1
* made all stuff non-static - so you can choose wether to use dwm the static or...arg@suckless.org2007-09-171-1/+1
* Mod1-Button2 on a floating but not-fixed client will make it tiled againAnselm R. Garbe2007-09-161-1/+1
* now tiled windows can be resized/moved, their floating state will be toggled ...Anselm R. Garbe2007-09-161-2/+2
* prepared 4.4.1 bugfix and minor feature enhancement release 4.4.1Anselm R. Garbe2007-08-261-1/+1
* removed VRATIO, NMASTER, inc*(), renamed HRATIO into MASTER, see mailinglist ...Anselm R. Garbe2007-08-101-17/+5
* applied Jukka's dwm.1 patchAnselm R. Garbe2007-08-051-6/+6
* changed shortcuts as described on the mailinglist, added sanity checks for ra...Anselm R. Garbe2007-08-051-6/+12
* added new Mod1-b functionality to dwm(1)Anselm R. Garbe2007-05-151-0/+3
* added the GTK Save-As bug report to BUGS section of dwm(1)Anselm R. Garbe2007-05-141-0/+8
* Escape -s in dwm.1Anselm R. Garbe2007-02-261-25/+25
* replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-kAnselm R. Garbe2007-02-231-6/+6
* well I agree to several people claiming h/j/k/l is the better default than Ta...Anselm R. Garbe2007-02-231-5/+5
* renamed untiled into floating, keeping tiled instead of tiling (afaik tiled s...Anselm R. Garbe2007-02-221-11/+11
* hahaha, untiled and non-untiled sounded really cumbersomeAnselm R. Garbe2007-02-221-1/+1
* renamed versatile into untiledAnselm R. Garbe2007-02-221-19/+19
* restoring default keybindings as Sander complainedAnselm R. Garbe2007-02-221-4/+4
* removed button4/5-bindings for incnmaster on mode label - that is misleadingAnselm R. Garbe2007-02-221-6/+0
* fixed order of key bindings described in dwm.1Anselm R. Garbe2007-02-221-5/+5
* reusing drawsquare for client title, empty square before title means versatil...Anselm R. Garbe2007-02-221-4/+5
* dwm draws a small caret before the client title if it's a versatile clientAnselm R. Garbe2007-02-221-5/+6
* several changes, made togglemax extern and separated it from zoom() - moved z...Anselm R. Garbe2007-02-221-6/+9
* renames swim[ming] into versatileAnselm R. Garbe2007-02-191-10/+10
* renamed floating into swimming (this does not clash with C naming conventions...Anselm R. Garbe2007-02-191-10/+10
* introduced Layout structAnselm R. Garbe2007-02-191-19/+19
* bugfix of bugfix (thx to Sander)Anselm R. Garbe2007-02-121-1/+1
* fixed a bugAnselm R. Garbe2007-02-121-1/+1
* during writing 2wm.1 I noticed some bugs in dwm.1Anselm R. Garbe2007-02-121-3/+3
* regarding to http://plan9.bell-labs.com/sources/contrib/rsc/man.ps the BUGS s...Anselm R. Garbe2007-01-261-2/+2
* renamed CAVEATS into BUGSAnselm R. Garbe2007-01-261-1/+1
* moved BORDERPX to config.*.hAnselm R. Garbe2007-01-171-1/+1
* removed client title barAnselm R. Garbe2007-01-141-1/+0
* added Button{4,5} description to dwm.1Anselm R. Garbe2007-01-101-0/+6
* small grammar fix of dwm.1Anselm R. Garbe2007-01-071-2/+2
* changed a term in dwm.1Anselm R. Garbe2007-01-071-1/+1
* removed the term clients from dwm.1Anselm R. Garbe2007-01-051-3/+3
* changed shortcuts to M-i and M-dAnselm R. Garbe2007-01-051-2/+2
* changed plus key to MODKEY-Shift-plus (US-layout restrictions ;)Anselm R. Garbe2007-01-051-1/+1
* added MODKEY-{plus,minus} shortcuts (increasing/decreasing master clients)Anselm R. Garbe2007-01-051-0/+6
* applied Sanders patch 2.7arg@mig292006-12-131-3/+3
* fixed man page, status bar displays EOF instead of "broken pipe"arg@mig292006-12-131-1/+1
* added the java odyssee to CAVEATS sectionarg@mig292006-12-131-2/+10
* we don't use the term clients anymore, windows is the better termarg@mig292006-12-071-1/+1
* and the winner isarg@mig292006-12-011-2/+3
* less obtrusive indicator (only a top line)arg@mig292006-12-011-1/+1
* final2 indicatorarg@mig292006-12-011-1/+1
blame/024jump.cc?h=hlt&id=90e9eb3d4fa431ed0e7864caead19cd2e06b2c65'>^
d855b0a0 ^
201b2e6c ^
d855b0a0 ^
2b250717 ^
e4630643 ^

d855b0a0 ^
2b250717 ^
e4630643 ^

4f5bb5b6 ^
2b250717 ^
e4630643 ^

4f5bb5b6 ^
d855b0a0 ^



dc1323e9 ^
0487a30e ^
cdd6fd09 ^
201b2e6c ^

1066660e ^
cdd6fd09 ^
59874868 ^



201b2e6c ^

88be3dbc ^
1ead3562 ^
bc643692 ^
192d59d3 ^
201b2e6c ^
acc4792d ^
201b2e6c ^
acc4792d ^
d7494165 ^
201b2e6c ^
88be3dbc ^
1ead3562 ^
bc643692 ^
192d59d3 ^
201b2e6c ^
acc4792d ^
201b2e6c ^
acc4792d ^
57699011 ^
201b2e6c ^
1848b18f ^

201b2e6c ^
795f5244 ^
d855b0a0 ^
201b2e6c ^
d855b0a0 ^
2b250717 ^
e4630643 ^

d855b0a0 ^
2b250717 ^
e4630643 ^

4f5bb5b6 ^
2b250717 ^
e4630643 ^

4f5bb5b6 ^
d855b0a0 ^



dc1323e9 ^
0487a30e ^
cdd6fd09 ^
201b2e6c ^

1066660e ^
cdd6fd09 ^
59874868 ^



201b2e6c ^

88be3dbc ^
1ead3562 ^
bc643692 ^
192d59d3 ^
201b2e6c ^
acc4792d ^
201b2e6c ^
acc4792d ^
d7494165 ^
201b2e6c ^
88be3dbc ^
1ead3562 ^
bc643692 ^
192d59d3 ^
201b2e6c ^
acc4792d ^
201b2e6c ^
acc4792d ^
57699011 ^
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
                   
 
                                      
          
               
                 
 

                                          

                             
                                             
     
                                        
                                  
                                       
            
                                    
                                                                                                                               

          
                                            
                                                                                                                                                                                                                                                                           

          



                                                
                                                              
                                                    
                                                                                   



                                           

 

                                          
                               
 
                         
          
                       
                               


                               


                         
 

                                             
                                        
                                        
                                       
               
                                    
                                                                                                                                

          
                                              
                                                                                                                                                                                                                                                                       

          
                                            
                                                                                                                                                                                                                                                                                

          
                       



                                                
                                                              
                                 
                                                          

          
                                                    
                                                                                   



                                           

 
                   
          
                       
                   
 
                                             
                              
                                          
                               
 
                               
          
                     
                   
 
                                           
                          
                                            
                               
 

                                             
                                        
                                                
                                       
                   
                                    
                                                                                                                                

          
                                              
                                                                                                                                                                                                                                                                       

          
                                            
                                                                                                                                                                                                                                                                                

          
                           



                                                
                                                              
                                
                                                              

          
                                                    
                                                                                   



                                           

 
                       
          
                         
                   
 
                                               
                              
                                            
                               
 
                                   
          
                           
                   
 
                                                 
                              
                                            
                               
//: Jump primitives

:(scenario jump_can_skip_instructions)
def main [
  jump 1:offset
  1:num <- copy 1
]
+run: jump {1: "offset"}
-run: {1: "number"} <- copy {1: "literal"}
-mem: storing 1 in location 1

:(before "End Primitive Recipe Declarations")
JUMP,
:(before "End Primitive Recipe Numbers")
put(Recipe_ordinal, "jump", JUMP);
:(before "End Primitive Recipe Checks")
case JUMP: {
  if (SIZE(inst.ingredients) != 1) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly one ingredient\n" << end();
    break;
  }
  if (!is_literal(inst.ingredients.at(0))) {
    raise << maybe(get(Recipe, r).name) << "first ingredient of '" << to_original_string(inst) << "' should be a label or offset, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end();
    break;
  }
  break;
}
:(before "End Primitive Recipe Implementations")
case JUMP: {
  assert(current_instruction().ingredients.at(0).initialized);
  current_step_index() += ingredients.at(0).at(0)+1;
  trace(9998, "run") << "jumping to instruction " << current_step_index() << end();
  // skip rest of this instruction
  write_products = false;
  fall_through_to_next_instruction = false;
  break;
}

//: special type to designate jump targets
:(before "End Mu Types Initialization")
put(Type_ordinal, "offset", 0);

:(scenario jump_backward)
def main [
  jump 1:offset  # 0 -+
  jump 3:offset  #    |   +-+ 1
                 #   \/  /\ |
  jump -2:offset #  2 +-->+ |
]                #         \/ 3
+run: jump {1: "offset"}
+run: jump {-2: "offset"}
+run: jump {3: "offset"}

:(before "End Primitive Recipe Declarations")
JUMP_IF,
:(before "End Primitive Recipe Numbers")
put(Recipe_ordinal, "jump-if", JUMP_IF);
:(before "End Primitive Recipe Checks")
case JUMP_IF: {
  if (SIZE(inst.ingredients) != 2) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end();
    break;
  }
  if (!is_mu_scalar(inst.ingredients.at(0))) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end();
    break;
  }
  if (!is_literal(inst.ingredients.at(1))) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end();
    break;
  }
  // End JUMP_IF Checks
  break;
}
:(before "End Primitive Recipe Implementations")
case JUMP_IF: {
  assert(current_instruction().ingredients.at(1).initialized);
  if (!ingredients.at(0).at(0)) {
    trace(9998, "run") << "jump-if fell through" << end();
    break;
  }
  current_step_index() += ingredients.at(1).at(0)+1;
  trace(9998, "run") << "jumping to instruction " << current_step_index() << end();
  // skip rest of this instruction
  write_products = false;
  fall_through_to_next_instruction = false;
  break;
}

:(scenario jump_if)
def main [
  jump-if 999, 1:offset
  123:num <- copy 1
]
+run: jump-if {999: "literal"}, {1: "offset"}
+run: jumping to instruction 2
-run: {1: "number"} <- copy {1: "literal"}
-mem: storing 1 in location 123

:(scenario jump_if_fallthrough)
def main [
  jump-if 0, 1:offset
  123:num <- copy 1
]
+run: jump-if {0: "literal"}, {1: "offset"}
+run: jump-if fell through
+run: {123: "number"} <- copy {1: "literal"}
+mem: storing 1 in location 123

:(before "End Primitive Recipe Declarations")
JUMP_UNLESS,
:(before "End Primitive Recipe Numbers")
put(Recipe_ordinal, "jump-unless", JUMP_UNLESS);
:(before "End Primitive Recipe Checks")
case JUMP_UNLESS: {
  if (SIZE(inst.ingredients) != 2) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end();
    break;
  }
  if (!is_mu_scalar(inst.ingredients.at(0))) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end();
    break;
  }
  if (!is_literal(inst.ingredients.at(1))) {
    raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end();
    break;
  }
  // End JUMP_UNLESS Checks
  break;
}
:(before "End Primitive Recipe Implementations")
case JUMP_UNLESS: {
  assert(current_instruction().ingredients.at(1).initialized);
  if (ingredients.at(0).at(0)) {
    trace(9998, "run") << "jump-unless fell through" << end();
    break;
  }
  current_step_index() += ingredients.at(1).at(0)+1;
  trace(9998, "run") << "jumping to instruction " << current_step_index() << end();
  // skip rest of this instruction
  write_products = false;
  fall_through_to_next_instruction = false;
  break;
}

:(scenario jump_unless)
def main [
  jump-unless 0, 1:offset
  123:num <- copy 1
]
+run: jump-unless {0: "literal"}, {1: "offset"}
+run: jumping to instruction 2
-run: {123: "number"} <- copy {1: "literal"}
-mem: storing 1 in location 123

:(scenario jump_unless_fallthrough)
def main [
  jump-unless 999, 1:offset
  123:num <- copy 1
]
+run: jump-unless {999: "literal"}, {1: "offset"}
+run: jump-unless fell through
+run: {123: "number"} <- copy {1: "literal"}
+mem: storing 1 in location 123