summary refs log tree commit diff stats
path: root/lib/system/mmdisp.nim
Commit message (Expand)AuthorAgeFilesLines
...
* bugfixes for .rod files and visual C++Araq2011-12-031-1/+1
* tester checks exitcode; osproc additions; DLL fixes; taint mode fixesAraq2011-11-071-35/+38
* shared untraced heap; bugfix: mem corruptions in message passing codeAraq2011-07-181-19/+14
* first steps to explicit channels for thread communication; added mainThreadIdAraq2011-07-161-0/+20
* bugfix: 'set' overloadable; further steps for multi threading supportAraq2011-07-081-4/+11
* improvements to get code size down for programs that don't use GCAraq2011-06-261-9/+4
* further progress for multi-threadingAraq2011-05-191-15/+4
* lexer, parser cleanup; boehm gc for mac os xAraq2011-05-171-1/+6
* mmdisp [] instead of ^Araq2011-05-141-6/+6
* gc tweaking to gain a few percent of performanceAraq2011-05-071-1/+1
* basic continue after error works; interactive mode more usefulAraq2011-02-131-1/+3
* inlining of the write barrier for dllsAndreas Rumpf2010-08-081-22/+0
* before stack init changeAndreas Rumpf2010-08-011-8/+2
* handling of compiler procs improved for DLL generationAndreas Rumpf2010-07-291-50/+25
* c2nim: better parsing of #ifdef C2NIM; #def supportAndreas Rumpf2010-07-221-2/+55
* bugfix: c2nim: typedef unsigned charAndreas Rumpf2010-07-221-0/+3
* added system.appType magicAndreas Rumpf2010-07-211-0/+195
d489e5071f4e6d7223a33cb3b3'>^
5c210a96 ^

3de15ddd ^

fb275079 ^

5c210a96 ^
3d566884 ^
e30d16cb ^
621a1a39 ^
9bc5d95c ^
c44b726e ^
465bff73 ^




f8e96a97 ^

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
                    
              
 

                                                                 
 











                                                                       
 

                                                                              

                                                                 
     
               
                                                                            


                                                                

        
 

                                                                

                                                           

                                                              
                              
    
                                        
                   
                  
                                                              




                                                               

              
#!/usr/bin/python -O
# coding=utf-8
#
# Ranger: Explore your forest of files from inside your terminal
# 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/>.
#
# ----------------------------------------------------------------------------
#
# An embedded shell script. It allows you to change the directory
# after you exit ranger by starting it with: source ranger ranger
"""":
if [ $1 ]; then
	$@ --fail-if-run && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
else
	echo "usage: source path/to/ranger.py path/to/ranger.py"
fi
return 1
"""

# Redefine the docstring, since the previous one was hijacked to
# embed a shellscript.
__doc__ = """Ranger - file browser for the unix terminal"""

# Importing the main method may fail if the ranger directory
# is neither in the same directory as this file, nor in one of
# pythons global import paths.
try:
	from ranger.__main__ import main
except ImportError:
	import sys
	if '-d' not in sys.argv and '--debug' not in sys.argv:
		print("Can't import the main module.")
		print("To run an uninstalled copy of ranger,")
		print("launch ranger.py in the top directory.")
	else:
		raise
else:
	main()