summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Extended rc.confhut2011-09-301-2/+3
|
* core.actions: added narg to move_parenthut2011-09-291-1/+1
|
* doc/TODO: updatedhut2011-09-291-15/+14
|
* doc/ranger.1: added missing documentationhut2011-09-292-12/+256
|
* core.main: added --list-unused-keys optionhut2011-09-292-1/+12
|
* another correction of the bash wrapper scriptshut2011-09-282-3/+5
|
* sanitized bash wrapper scripts, reformulated BUGS section in manualhut2011-09-282-13/+12
|
* removed doc/help link (why do we need that?)hut2011-09-281-1/+0
|
* improved bash wrappers in ranger.py and man pagehut2011-09-282-20/+24
|
* documented and improved DaPangus' changeshut2011-09-252-6/+4
|
* extended manpage and fixed {load,save}_copy_buffer commandshut2011-09-252-46/+66
|
* defaults.commands.py: added :bulkrename command from wikihut2011-09-251-0/+9
|
* doc/ranger.pod: extended the man pagehut2011-09-242-120/+845
|
* Overhauled manpage. It's in POD format now.hutpre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Wrappers around file system primitives that take a 'resources' object and
# are logsubject'>new version: 1.3.1, merge with cp+preview branch
hut2010-10-121-1/+1
|/
* Incremented version number to 1.3 (testing)hut2010-09-131-1/+1
|
* Beware of low-flying butterflies v1.2.0hut2010-09-131-1/+1
|
* chmodhut2010-09-111-0/+0
|
* Tuned versioning scheme to be more intuitive, back to 1.1.2hut2010-08-281-1/+1
|
* Changed version number to 1.2 (testing) to adhere with versioning schemehut2010-08-281-1/+1
|
* Changed default config dir to $XDG_CONFIG_HOME/rangerhut2010-08-282-6/+7
|
* Why did the astrophysicist order three hamburgers? v1.1.2hut2010-07-121-1/+1
|
* removed pydoc since it can be generated with "make doc" easilyhut2010-06-2146-6669/+0
|
* version = version + 1 v1.1.1hut2010-06-184-6/+7
|
* new stable version v1.1.0hut2010-06-092-3/+3
|
* updated manpagehut2010-06-091-5/+4
|
* renamed "--fail-if-run" to the more accurate "--fail-unless-cd"hut2010-06-091-3/+3
| | | | The old name, --fail-if-run, is still valid and working.
* updated pydochut2010-06-0918-57/+113
|
* Changed hashbang line to "#!/usr/bin/env python"hut2010-06-092-2/+2
|
* updated pydochut2010-05-1647-666/+349
|
* Fixed bug #65 by adding flag "--fail-if-run"hut2010-04-261-1/+5
|
* updated pydochut2010-04-205-248/+10
|
* updated pydochut2010-04-1941-2286/+247
|
* ranger.1: added S key to man pagehut2010-04-161-0/+3
|
* Fixed suggested cd-after-exit-script for zshhut2010-04-131-1/+1
|
* added doc/print_keys.pyhut2010-04-081-0/+14
|
* corrected documentationhut2010-04-061-1/+1
|
* Improved tabshut2010-04-061-0/+3
|
* updated keybindings and documentationhut2010-04-061-1/+21
|
* ranger.1: updatehut2010-04-011-4/+7
|
>data { done?:bool <- greater-or-equal i, len break-if done? tmp:resource <- index *data, i i <- add i, 1 curr-resource:text <- get tmp, name:offset found?:bool <- equal resource, curr-resource loop-unless found? contents:&:source:char, sink:&:sink:char <- new-channel 30 curr-contents:text <- get tmp, contents:offset start-running receive-from-text curr-contents, sink return } return 0/not-found, 1/error ] def receive-from-file file:num, sink:&:sink:char -> sink:&:sink:char [ local-scope load-inputs { c:char, eof?:bool <- $read-from-file file break-if eof? sink <- write sink, c loop } sink <- close sink file <- $close-file file ] def receive-from-text contents:text, sink:&:sink:char -> sink:&:sink:char [ local-scope load-inputs i:num <- copy 0 len:num <- length *contents { done?:bool <- greater-or-equal i, len break-if done? c:char <- index *contents, i sink <- write sink, c i <- add i, 1 loop } sink <- close sink ] def start-writing resources:&:resources, filename:text -> sink:&:sink:char, routine-id:num, error?:bool [ local-scope load-inputs error? <- copy 0/false source:&:source:char, sink:&:sink:char <- new-channel 30 { break-unless resources # fake file system routine-id <- start-running transmit-to-fake-resource resources, filename, source return } # real file system file:num <- $open-file-for-writing filename return-unless file, 0/sink, 0/routine-id, 1/error? { break-if file msg:text <- append [no such file: ] filename assert file, msg } routine-id <- start-running transmit-to-file file, source ] def dump resources:&:resources, filename:text, contents:text -> resources:&:resources, error?:bool [ local-scope load-inputs # todo: really create an empty file return-unless contents, resources, 0/no-error sink-file:&:sink:char, write-routine:num, error?:bool <- start-writing resources, filename return-if error? i:num <- copy 0 len:num <- length *contents { done?:bool <- greater-or-equal i, len break-if done? c:char <- index *contents, i sink-file <- write sink-file, c i <- add i, 1 loop } close sink-file # make sure to wait for the file to be actually written to disk # (Mu practices structured concurrency: http://250bpm.com/blog:71) wait-for-routine write-routine ] def transmit-to-file file:num, source:&:source:char -> source:&:source:char [ local-scope load-inputs { c:char, done?:bool, source <- read source break-if done? $write-to-file file, c loop } file <- $close-file file ] def transmit-to-fake-resource resources:&:resources, filename:text, source:&:source:char -> resources:&:resources, source:&:source:char [ local-scope load-inputs lock:location <- get-location *resources, lock:offset wait-for-reset-then-set lock # compute new file contents buf:&:buffer:char <- new-buffer 30 { c:char, done?:bool, source <- read source break-if done? buf <- append buf, c loop } contents:text <- buffer-to-array buf new-resource:resource <- merge filename, contents # write to resources curr-filename:text <- copy 0 data:&:@:resource <- get *resources, data:offset # replace file contents if it already exists i:num <- copy 0 len:num <- length *data { done?:bool <- greater-or-equal i, len break-if done? tmp:resource <- index *data, i curr-filename <- get tmp, name:offset found?:bool <- equal filename, curr-filename { break-unless found? put-index *data, i, new-resource jump +unlock-and-exit } i <- add i, 1 loop } # if file didn't already exist, make room for it new-len:num <- add len, 1 new-data:&:@:resource <- new resource:type, new-len put *resources, data:offset, new-data # copy over old files i:num <- copy 0 { done?:bool <- greater-or-equal i, len break-if done? tmp:resource <- index *data, i put-index *new-data, i, tmp } # write new file put-index *new-data, len, new-resource +unlock-and-exit reset lock ]