summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
...
* lib/ui: fix Grid race conditionSimon Ser2019-05-051-1/+20
* lib/msgstore: protect with a mutexSimon Ser2019-04-292-3/+40
* widgets/msglist: fix MessageList.store raceSimon Ser2019-04-291-23/+32
* worker/imap: use the IMAP connection from a single goroutineSimon Ser2019-04-293-86/+77
* Update go-imap to 1.0.0-beta.4Simon Ser2019-04-292-47/+29
* lib/ui: fix GridCell.invalid raceSimon Ser2019-04-291-5/+6
* lib/ui: introduce InvalidatableSimon Ser2019-04-2712-127/+82
* worker/types: fix Worker.Callbacks race conditionSimon Ser2019-04-272-21/+42
* widgets/spinner: fix Spinner.frame raceSimon Ser2019-04-271-12/+15
* go get git.sr.ht/~sircmpwn/go-libvtermElias Naur2019-04-212-1/+5
* Fix segfault on :select-message for unloaded messagesTom Lebreux2019-04-171-0/+3
* Re-render terminal on invalidateDrew DeVault2019-04-151-4/+13
* Fix segfault on :view-message for unloaded messageTom Lebreux2019-04-102-0/+10
* Lowercase MIME types while matching filtersGokberk Yaltirakli2019-04-071-1/+2
* Clear damage on each terminal.Draw callDrew DeVault2019-04-051-0/+2
* Fix wrong row due to typoTom Lebreux2019-04-051-1/+1
* Fix infinite loop on empty DirectoryContentsTom Lebreux2019-04-051-2/+4
* Show (no messages) for empty foldersDrew DeVault2019-04-041-0/+6
* Use better regex for identifying patchesDrew DeVault2019-03-311-1/+1
* Remove show-headers config optionDrew DeVault2019-03-311-6/+0
* Remove unused config optionsDrew DeVault2019-03-311-6/+0
* Remove key bindings from aerc.confDrew DeVault2019-03-311-46/+0
* Add script for sandboxing w3mDrew DeVault2019-03-312-1/+11
* Remove extra debug statementDrew DeVault2019-03-311-1/+0
* Use shell to execute filters, fix non-determinismDrew DeVault2019-03-312-7/+5
* Make tab width of :pipe consistentDrew DeVault2019-03-311-5/+3
* Improve plaintext.pyDrew DeVault2019-03-312-3/+2
* Implement header-regex-match filtersDrew DeVault2019-03-313-8/+39
* Improve error handling in message viewerDrew DeVault2019-03-311-10/+36
* Add basic filter implementationDrew DeVault2019-03-316-42/+142
* Decode messages before rendering themDrew DeVault2019-03-311-2/+22
* Add plaintext highlighter, escape ANSI in sourceDrew DeVault2019-03-312-1/+25
* Make message viewer real, part twoDrew DeVault2019-03-314-23/+38
* Rename FetchMessageBodies to FetchFullMessagesDrew DeVault2019-03-315-17/+17
* Make the message viewer real, part oneDrew DeVault2019-03-317-130/+124
* Don't parse mail in worker; send a reader insteadDrew DeVault2019-03-316-57/+13
* Pull BodyStructure up from IMAP workerDrew DeVault2019-03-313-10/+40
* Add message view commands, :closeDrew DeVault2019-03-306-5/+47
* Update default config/binds.confDrew DeVault2019-03-301-2/+17
* Minor refactoring to header viewDrew DeVault2019-03-301-7/+12
* Fix crash on command not foundDrew DeVault2019-03-301-37/+42
* Handle no configured accounts gracefullyJulian P Samaroo2019-03-301-0/+4
* Use bold instead of inverted for header namesDrew DeVault2019-03-301-2/+3
* Add multipart selector mockup to msgviewerDrew DeVault2019-03-301-7/+50
* Actually, git uses cyan for line markersDrew DeVault2019-03-301-1/+1
* Update hldiff.py to match git more closelyDrew DeVault2019-03-301-2/+10
* Add basic message viewer mockupDrew DeVault2019-03-309-73/+257
* Correct color of error messagesDrew DeVault2019-03-304-7/+7
* Use tcell.Style.Reverse instead of black on whiteDrew DeVault2019-03-307-22/+25
* Implement :pipeDrew DeVault2019-03-305-7/+91
file?h=v1.9.0b4&id=fde932f216932009fc7cdb1b362012651c03468f'>fde932f2 ^
85fd5288 ^
4ade06a6 ^

85fd5288 ^
0c2c782d ^

636d9393 ^
b0a216f5 ^
b06433bc ^
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














                                                                       
             
                                                            
                                                                                   


                                                                            
                                       
                   
            
               


                                                
 
                
                                                            
 



                                  
                                          


                                  
                                             
                                                        

                                                                    
                                                                          
                                             
 
        
                                                 

                                                            
              
                                                                      
 


                                                        





                                                  

                                                                       
 
         
                                                      
 
     
                                      

   
                                                    

         
                                                                                              
 
                                                                           
# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

NAME = ranger
VERSION = $(shell cat README | grep -m 1 -o '[0-9][0-9.]\+')
SNAPSHOT_NAME ?= $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
# Find suitable python version (need python >= 2.6 or 3.1):
PYTHON ?= $(shell python -c 'import sys; sys.exit(sys.version < "2.6")' && \
	which python || which python3.1 || which python3 || which python2.6)
SETUPOPTS ?= '--record=install_log.txt'
DOCDIR ?= doc/pydoc
DESTDIR ?= /
PYOPTIMIZE ?= 1
BMCOUNT ?= 5  # how often to run the benchmarks?

CWD = $(shell pwd)

default: compile
	@echo 'Run `make options` for a list of all options'

options: help
	@echo
	@echo 'Options:'
	@echo 'PYTHON = $(PYTHON)'
	@echo 'PYOPTIMIZE = $(PYOPTIMIZE)'
	@echo 'DOCDIR = $(DOCDIR)'

help:
	@echo 'make install: Install $(NAME)'
	@echo 'make doc: Create the pydoc documentation'
	@echo 'make clean: Remove the compiled files (*.pyc, *.pyo)'
	@echo 'make cleandoc: Remove the pydoc documentation'
	@echo 'make snapshot: Create a tar.gz of the current git revision'
	@echo 'make test: Run all unittests.'

install:
	$(PYTHON) setup.py install $(SETUPOPTS) \
		'--root=$(DESTDIR)' --optimize=$(PYOPTIMIZE)

compile: clean
	PYTHONOPTIMIZE=$(PYOPTIMIZE) $(PYTHON) -m compileall -q ranger

clean:
	find . -regex .\*.py[co]\$$ -exec rm -f -- {} \;

doc: cleandoc
	mkdir -p $(DOCDIR)
	cd $(DOCDIR); \
		$(PYTHON) -c 'import pydoc, sys; \
		sys.path[0] = "$(CWD)"; \
		pydoc.writedocs("$(CWD)")'
	rm $(DOCDIR)/test*; \
	find . -name \*.html -exec sed -i 's|'$(CWD)'|../..|g' -- {} \;

cleandoc:
	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html

test:
	@$(PYTHON) test/all_tests.py 1

bm:
	@$(PYTHON) test/all_benchmarks.py $(BMCOUNT)

snapshot:
	git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(SNAPSHOT_NAME)

.PHONY: default options compile clean doc cleandoc test bm snapshot install