about summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix testsMichael Vetter2020-02-141-1/+1
|
* xep-0308: adapt unit test stubsMichael Vetter2020-02-142-8/+6
|
* xep-0308: add cons_correction_setting stub to testsMichael Vetter2020-02-101-0/+1
|
* Fix unittest buildPaul Fariello2020-01-311-14/+14
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-313-5/+5
| | | | Fix #1068
* Add cons_os_setting stub for testsMichael Vetter2020-01-241-0/+1
|
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-1/+1
|
* xep-0084: add test stub fileMichael Vetter2019-12-181-0/+7
|
* test: add cons_color_settingMichael Vetter2019-12-091-0/+1
|
* Add cons_logging_setting() to test stubMichael Vetter2019-11-131-2/+1
|
* Add cons_titlebar_setting stubMichael Vetter2019-11-051-1/+1
| | | | and remove encwarn one.
* Don't override ProfMessage Id with origin-idMichael Vetter2019-10-311-1/+1
| | | | | | | | | | Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly.
* Adjust message stubs in unit testsMichael Vetter2019-10-291-4/+4
|
* Adjust stub for connection_get_profanity_identifierMichael Vetter2019-10-221-1/+1
|
* Move ProfMessage and message_is_sent_by_us to xmppMichael Vetter2019-10-191-1/+0
| | | | Not meant for internal usage only.
* Add message_is_sent_by_us stubMichael Vetter2019-10-181-0/+5
|
* Remove accidentally added fileMichael Vetter2019-10-181-7/+0
|
* Add connection_get_profanity_identifier stubMichael Vetter2019-10-183-0/+12
| | | | And move defintion to xmpp.h
* Fix memory leak in unittestsDmitry Podgorny2019-10-141-0/+1
|
* Fix invalid reads in unit testsMichael Vetter2019-10-101-2/+0
|
* Revert "Free lits in test_cmd_roster unittest"Michael Vetter2019-10-101-1/+0
| | | | | | This reverts commit 5b19ed28ce6f8bd8f46248de612f7ed466dc7a73. This caused a segfault.
* First destroy roster then free list in test_cmd_rosterMichael Vetter2019-10-061-3/+3
|
* Free strings in test_cmd_aliasMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Free lits in test_cmd_roster unittestMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Remove not needed strdupin test_cmd_roomsMichael Vetter2019-10-061-2/+3
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Free autocomplete_complete results in unittestMichael Vetter2019-10-061-1/+19
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix autocomplete memleak in test_autocompleteMichael Vetter2019-10-061-16/+16
| | | | | | | autocomplete_free() calls autocomplete_clear() and then frees the struct itself. Regards https://github.com/profanity-im/profanity/issues/1019
* Free lists in test_roster_listMichael Vetter2019-10-061-0/+20
| | | | | Fix memleaks. Regards https://github.com/profanity-im/profanity/issues/1019
* Fix two memleaks in test_parserMichael Vetter2019-10-061-0/+4
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in cmd_bookmark_list_shows_bookmarks unittestMichael Vetter2019-10-061-0/+16
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_parser unittestMichael Vetter2019-10-061-0/+2
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_callbacks unittestMichael Vetter2019-10-061-0/+2
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in test_parser unittestMichael Vetter2019-10-061-1/+7
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix test_callbacks memleakMichael Vetter2019-10-061-0/+5
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix test_jid unittest memleakMichael Vetter2019-10-061-0/+29
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Fix unittest memleak in test_cmd_joinMichael Vetter2019-10-051-0/+8
| | | | | | muc_init() call without muc_close() Regards https://github.com/profanity-im/profanity/issues/1019
* Possibility to specify alternative config fileMichael Vetter2019-08-021-1/+1
| | | | Introduce `profanity -c` to specify an alternative config file.
* Add omemo_close stub for testsMichael Vetter2019-07-181-0/+1
|
* Add missing stub filePaul Fariello2019-07-171-0/+7
|
* Fix handling of encrypted carbonsPaul Fariello2019-06-211-1/+1
|
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-202-7/+7
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-202-7/+7
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Fix prefs_get_str related leaks in unit testsMichael Vetter2019-06-193-0/+15
| | | | Related to https://github.com/profanity-im/profanity/issues/1019
* Remove cons_mouse_setting() stubMichael Vetter2019-06-171-1/+0
| | | | Mouse support has been disabled long ago.
* Cancel autoping timer on disconnect or connection lossDmitry Podgorny2019-06-031-0/+1
| | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections.
* Use mock_type() for casting mock()Frank Zschockelt2019-05-084-13/+13
|
* Use mock_ptr_type() to silence compiler warningsFrank Zschockelt2019-05-084-12/+12
| | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t.
* Update tests with new URLMichael Vetter2019-05-036-39/+39
| | | | https://github.com/profanity-im/profanity/issues/1085
* Add occupantswin_occupants_all() stub to unittestMichael Vetter2019-04-231-0/+1
|
* Fix server_event unit testsPaul Fariello2019-04-171-0/+5
| | | | | | roster_update_presence now requires that roster_process_pending_presence() has been called. Otherwise presence are set to pending and not processed yet.
=975b459c17b7438090afd6e1381b2c5fc749f5b8'>^
7ab8c87 ^
45aea23 ^
df74b26 ^
7ab8c87 ^
1549faf ^
bab575c ^
df74b26 ^
7ab8c87 ^

1549faf ^
bab575c ^
7ab8c87 ^
daae3bb ^
bab575c ^
3e06ede ^
7ab8c87 ^

4bb89e2 ^
df74b26 ^
7ab8c87 ^
2b35fae ^
0c3544d ^
0e5c819 ^
7ab8c87 ^
0e5c819 ^
4bd0d33 ^
a118a57 ^
4bd0d33 ^
0e5c819 ^
7ab8c87 ^
0c3544d ^
7ab8c87 ^
dc5c070 ^
4bb89e2 ^
60b3dce ^
7ab8c87 ^

4bb89e2 ^
7ab8c87 ^
5ef6ef1 ^

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
                     
        
                             
            
      

               


                                                                       
  


                                                                            

                                                                     
  
                                                                           
                                                                  
  

                                                                            

                                                                             
  
                                                                      
                                                                              
           

      
                                                          
         

              

                                              
   
          

                                                                            
   
          

                                                                             

               
                                                            

               
                                                                      
                     
   


                    
   
           
                  
   
                 
                      
   
              
                                                                                                                   
   
         
                                         
   
         
                                     
   
         
                                       
   
                    
     

                      
   
                            
          

                           
   
               
                     
   
             
                                                             
   
              
                     

       
   
         
                              
   
                      
                           

                     
   
               
         
                  
   
               
                                                        
   
               
                                                          
   
               
                                                          
                 
                                                                            
                                            
           
                          

                            
            
                                                       

             
.TH DWM 1 dwm-VERSION
.SH NAME
dwm \- dynamic window manager
.SH SYNOPSIS
.B dwm
.RB [ \-v ]
.SH DESCRIPTION
dwm is a dynamic window manager for X. It manages windows in tiling and
floating modes. Either mode can be applied dynamically, optimizing the
environment for the application in use and the task performed.
.P
In tiling mode windows are managed in a master and stacking area. The master
area contains the window which currently needs most attention, whereas the
stacking area contains all other windows. In floating mode windows can be
resized and moved freely. Dialog windows are always managed floating,
regardless of the mode selected.
.P
Windows are grouped by tags. Each window can be tagged with one or multiple
tags. Selecting certain tags displays all windows with these tags.
.P
dwm contains a small status bar which displays all available tags, the mode,
the title of the focused window, and the text read from standard input. The
selected tags are highlighted with a different color, the tags of the focused
window are highlighted with a small point.
.P
dwm draws a 1-pixel border around windows to indicate the focus state.
Unfocused windows contain a small bar in front of them displaying their title.
.SH OPTIONS
.TP
.B \-v
prints version information to standard output, then exits.
.SH USAGE
.SS Status bar
.TP
.B Standard input
is read and displayed in the status text area.
.TP
.B Button1
click on a tag label to display all windows with that tag, click on the mode
label toggles between tiled and floating mode.
.TP
.B Button3
click on a tag label adds/removes all windows with that tag to/from the view,
click on the mode label toggles the stack position (tiled mode).
.TP
.B Mod1-Button1
click on a tag label applies that tag to the focused window.
.TP
.B Mod1-Button3
click on a tag label adds/removes that tag to/from the focused window.
.SS Keyboard commands
.TP
.B Mod1-Shift-Return
Start
.BR xterm (1).
.TP
.B Mod1-Tab
Focus next window.
.TP
.B Mod1-Shift-Tab
Focus previous window.
.TP
.B Mod1-Return
Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
.TP
.B Mod1-b
Toggle stack position (tiling mode only).
.TP
.B Mod1-g
Grow current area (tiling mode only).
.TP
.B Mod1-s
Shrink current area (tiling mode only).
.TP
.B Mod1-Shift-[1..n]
Apply
.RB nth
tag to current window.
.TP
.B Mod1-Control-Shift-[1..n]
Add/remove
.B nth
tag to/from current window.
.TP
.B Mod1-Shift-c
Close focused window.
.TP
.B Mod1-space
Toggle between tiled and floating mode (affects all windows).
.TP
.B Mod1-[1..n]
View all windows with
.BR nth
tag.
.TP
.B Mod1-0
View all windows with any tag.
.TP
.B Mod1-Control-[1..n]
Add/remove all windows with
.BR nth
tag to/from the view.
.TP
.B Mod1-Shift-q
Quit dwm.
.SS Mouse commands
.TP
.B Mod1-Button1
Move current window while dragging (floating mode only).
.TP
.B Mod1-Button2
Zoom current window to the master area (tiling mode only).
.TP
.B Mod1-Button3
Resize current window while dragging (floating mode only).
.SH CUSTOMIZATION
dwm is customized by creating a custom config.h and (re)compiling the source
code. This keeps it fast, secure and simple.
.SH CAVEATS
The status bar may display
.BR "broken pipe"
when dwm has been started by
.BR xdm (1),
because it closes standard output before executing dwm.
.SH SEE ALSO
.BR dmenu (1)