about summary refs log tree commit diff stats
path: root/arc/.traces/string-equal-compares-final-element
Commit message (Expand)AuthorAgeFilesLines
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-051-0/+130
f='#n48'>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
This log documents changes between stable versions.

2011-10-11: Version 1.5.0
* Full python3.2 compatibility
* Added new configuration file "rc.conf" which contains a list
  of commands that are executed on startup - mainly used for keybindings
* Added --list-unused-keys
* Added new program handlers to apps.py
* Added pop-up window for keychains and bookmarks
* Added load_default_rc option
* Fixed all known unicode issues
* Fixed crash when $TERM is unknown to the system
* Fixed scrolling in colored preview
* Changed the default column_ratios to 1/3/4 and sorting method to "natural"
* Changed :rename so it doesn't overwrite existing files
* Internal actions are now accessible as commands
* Replaced unittests by doctests
* Replaced integrated help with an extended man page and dynamic lists
  of keybindings, commands and settings.
* Removed "keys.py" configuration file in favor of "rc.conf"
* Removed "texas" colorscheme
* apps.py: Now able to define programs that only run with Xorg
* commands.py: Using parse(self.line) to parse the line is unnecessary now.
  parse(self.line).rest(n) is now written as self.rest(n).
  However, parse(self.line).chunk(n) has been renamed to self.arg(n).
* commands.py: parse(self.line) + X is now self.firstpart + X
* commands.py: New special attribute "resolve_macros" which decides whether
  strings like %f should be expanded to the name of the current file, etc.
* commands.py: New special attribute "escape_macros_for_shell" to toggle
  whether or not macros should be escaped, so you can use them in other
  commands than :shell, for example :edit %f
* Countless small fixes and improvements

2011-10-02: Version 1.4.4
* Added keys for chmod (like +ow for "chmod o+w", etc)
* Added "c" flag for running files
* Added various key bindings
* Added wavpack and webm types to mime.types
* Added option "display_tags_in_all_columns"
* Added command.cancel method which is called when pressing ESC in console
* Added sorting and cycling by ctime and atime
* Added custom tags (press "x)
* Added bittorrent preview
* Fixed blocking when using interactive scripts in scope.sh
* Fixed issues with ALT key
* Fixed pager crash when trying to read non-readable file
* Forbid piping things into ranger
* Improved hints

2011-04-05: Version 1.4.3
* Fixed mimetype checking when invoking ranger with a filename
* Fixed loss of bookmarks when disk is full
* Minor improvements

2011-03-05: Version 1.4.2
* Added --choosefile and --choosedir flag
* Added use of bookmarks in tab completion of the :cd command
* Fixed bug with detached programs and python 3.2

2011-01-04: Version 1.4.1
* Fixed crash when preview failed under some circumstances
* Fixed graphical bug when pressing i

2010-12-22: Version 1.4.0
* Added option to use any external scripts for previews (see scope.sh)
* Added key: zv to toggle the use of the external script
* Added indicator for the used filter (type "zf")
* Added option padding_right to remove whitespace if theres no preview
* Added command :search_inc for incremental search
* Added commands :save_copy_buffer and :load_copy_buffer to share
  the copied files between ranger instances
* Added mimeopen as a fallback if no useful application can be found
* Added natural sort, sorts 1foo before 10foo. (type "on")
* Added keys: yp, yd and yb to copy path, dirname or basename to seleciton
* Let open_with use the selection, not just one file
* Run files with right mouse click
* Implemented copying via coreutils rather than internal python code
* Improved handling of unicode
* Some restructuration of the source code

2010-12-13: Version 1.2.3
* Enable binding to alt-keys
* Fixed memory leak in garbage collecting of old, unused directory objects
* Fixed python3 incompatibilities
* Fixed problems with identifying changes of files
* Fixed lazy lookup of some FSObject attributes

2010-10-10: Version 1.2.2
* Prevent currently used directories from being garbage collected
* Disable mouse buttons when console is open
* Fixed :cd command: Without arguments, cd's into $HOME
* Fixed bug which prevented pydoc to work on some config files
* Fixed some bugs in "snow" and "jungle" colorschemes
* Several other clean-ups and fixes

2010-09-16: Version 1.2.1
* Fixed yy/pp bug when yanking multiple directories

2010-09-13: Version 1.2.0
* !!! Changed the default configuration directory to ~/.config/ranger !!!
* Removed "Console Modes", each old mode is now a simple command
* Disabled file previews by default if ranger is used by root
* Allow to jump to specific help sections by typing two numbers, e.g. 13?
* Added keys: da, dr, ya, yr for adding and removing files from copy buffer
* Added keys: gl and gL to resolve links, see 11?
* Added key: pL to create a relative symlink
* Added %<LETTER> and %<N><LETTER> macros for the console, see 33?
* Fixed ansi codes for colors in the pager
* Use the file ~/.mime.types for mime type detection
* Several clean-ups and fixes

2010-07-17: Version 1.1.2
* Fix crash when using scrollwheel to scroll down in some cases
* The command "ranger dir1 dir2 ..." opens multiple directories in tabs
* Removed pydoc html documentation by default, re-create it with "make doc"
* Minor fixes

2010-06-18: Version 1.1.1
* New install script, "setup.py"
* New flag for running programs: "w" (waits for enter press)
* Minor fixes

2010-06-09: Version 1.1.0
* Added a man page
* Tab support
* Improved directory loading performance
* Commands are definable in ~/.ranger/commands.py
* Case insensitive sorting (type zs)
* Better UTF support
* Possibility to turn off previews (zp and zP)
* Changing options with :set (e.g. :set column_ratios=1,2,3,4)
* Ask for confirmation when using :delete
* New invocation flag: --fail-unless-cd
* New hotkeys, commands, options.
* New syntax for ~/.ranger/keys.py
* Several user contributions
* And tons of general improvements

NOTE: The syntax for configuration is still subject to change.
the previous revision' href='/akkartik/mu/blame/subx/examples/ex7.subx?h=hlt&id=03d50cc83c7c2bebb2b019667b80c1c51f4a8def'>^
de21899c ^
3364d19c ^
94ad882e ^
9372c16c ^
6ff9ce26 ^
a9a5718d ^
94ad882e ^



9372c16c ^
3364d19c ^
94ad882e ^
de21899c ^
6ff9ce26 ^
a9a5718d ^
3364d19c ^
94ad882e ^
de21899c ^
3364d19c ^
94ad882e ^


9372c16c ^
6ff9ce26 ^
a9a5718d ^
3364d19c ^
94ad882e ^
de21899c ^
3364d19c ^
94ad882e ^
9372c16c ^
6ff9ce26 ^
a9a5718d ^
94ad882e ^

9372c16c ^
6ff9ce26 ^
a9a5718d ^
3364d19c ^
94ad882e ^
de21899c ^
3364d19c ^
94ad882e ^
9372c16c ^
6ff9ce26 ^
a6517ed8 ^

0b58cf9b ^
a6517ed8 ^
0b58cf9b ^
a6517ed8 ^
0b58cf9b ^
a6517ed8 ^
0b58cf9b ^
6ff9ce26 ^
ed0e64a9 ^
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



                                                                             
 
                                   

                                                      

                  
      
 
       


                                                                                                                                               
 
                            


                                         
                       
 
                                                                                                       



                                         
                       
                 
                              
                                                                                                                                                                            
 
                                  
                 
                              
                                                                                                                                                                            
     


                               
                       
 
                          
                 
                              
                                                                                                                                                                            
     
                               
                       
 
                                                 



                                         
                       
                 
                              
                                                                                                                                                                            
 
                               
                 
                              
                                                                                                                                                                            
     


                              
                       
 
                          
                 
                              
                                                                                                                                                                            
     
                               
                       
 
                             

                                  
                       
 
                    
            
                         
                                                                                                                                                                            
     
                              
                       
 

       
             
  
             
  
             
         
                         
 
                        
## example showing file syscalls
# Create a file, open it for writing, write a character to it, close it, open
# it for reading, read a character from it, close it, delete it, and return
# the character read.
#
# To run (from the subx directory):
#   $ subx translate examples/ex7.subx -o examples/ex7
#   $ subx run examples/ex7
# Expected result:
#   $ echo $?
#   97

== code
# instruction                     effective address                                                   operand     displacement    immediate
# op          subop               mod             rm32          base        index         scale       r32
# 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes

  # syscall(creat, filename)
  bb/copy-to-EBX  filename/imm32
  b9/copy-to-ECX  0x180/imm32/fixed-perms
  b8/copy-to-EAX  8/imm32/creat
  cd/syscall  0x80/imm8

  # stream = syscall(open, filename, O_WRONLY, 0)  # we can't use 'fd' because it looks like a hex byte
  bb/copy-to-EBX  filename/imm32
  b9/copy-to-ECX  1/imm32/wronly
  ba/copy-to-EDX  0x180/imm32/fixed-perms
  b8/copy-to-EAX  5/imm32/open
  cd/syscall  0x80/imm8
    # save stream
  bb/copy-to-EBX  stream/imm32
  89/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           0/r32/EAX   .               .                       # copy EAX to *EBX

  # syscall(write, stream, "a", 1)
    # load stream
  bb/copy-to-EBX  stream/imm32
  8b/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           3/r32/EBX   .               .                       # copy *EBX to EBX
    #
  b9/copy-to-ECX  a/imm32
  ba/copy-to-EDX  1/imm32/size
  b8/copy-to-EAX  4/imm32/write
  cd/syscall  0x80/imm8

  # syscall(close, stream)
    # load stream
  bb/copy-to-EBX  stream/imm32
  8b/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           3/r32/EBX   .               .                       # copy *EBX to EBX
    #
  b8/copy-to-EAX  6/imm32/close
  cd/syscall  0x80/imm8

  # stream = syscall(open, filename, O_RDONLY, 0)
  bb/copy-to-EBX  filename/imm32
  b9/copy-to-ECX  0/imm32/rdonly
  ba/copy-to-EDX  0x180/imm32/fixed-perms
  b8/copy-to-EAX  5/imm32/open
  cd/syscall  0x80/imm8
    # save stream
  bb/copy-to-EBX  stream/imm32
  89/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           0/r32/EAX   .               .                       # copy EAX to *EBX

  # syscall(read, stream, b, 1)
    # load stream
  bb/copy-to-EBX  stream/imm32
  8b/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           3/r32/EBX   .               .                       # copy *EBX to EBX
    #
  b9/copy-to-ECX  b/imm32
  ba/copy-to-EDX  1/imm32/size
  b8/copy-to-EAX  3/imm32/read
  cd/syscall  0x80/imm8

  # syscall(close, stream)
    # load stream
  bb/copy-to-EBX  stream/imm32
  8b/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           3/r32/EBX   .               .                       # copy *EBX to EBX
    #
  b8/copy-to-EAX  6/imm32/close
  cd/syscall  0x80/imm8

  # syscall(unlink, filename)
  bb/copy-to-EBX  filename/imm32
  b8/copy-to-EAX  0xa/imm32/unlink
  cd/syscall  0x80/imm8

  # syscall(exit, b)
    # load b
  bb/copy-to-EBX  b/imm32
  8b/copy                         0/mod/indirect  3/rm32/EBX    .           .             .           3/r32/EBX   .               .                       # copy *EBX to EBX
    #
  b8/copy-to-EAX  1/imm32/exit
  cd/syscall  0x80/imm8

== data
stream:
  00 00 00 00
a:
  61 00 00 00
b:
  00 00 00 00
filename:
  2e 66 6f 6f 00 00 00 00

# vim:nowrap:textwidth=0