summary refs log tree commit diff stats
path: root/lib
Commit message (Expand)AuthorAgeFilesLines
* docgen: mangling using _. instead of @@ to avoid issue (#14454)Timothee Cour2020-05-261-2/+2
* add bindParams to db_sqlite (#14408)Bung2020-05-261-41/+159
* docgen: fix #14448 show @@ as .. in href text (#14451)Timothee Cour2020-05-251-1/+6
* make get for options use lent T (#14442)cooldome2020-05-251-2/+2
* Add support for mktemps (#14347)Max Grender-Jones2020-05-252-8/+24
* Add clipPath to dom.nim. (#14435)treeform2020-05-241-1/+2
* fix repr(char) example assert (#14437)hlaaftana2020-05-231-1/+1
* Fix #14057 - moveFile should overwrite on Windows (#14433)genotrance2020-05-231-2/+2
* add insert,tryInsert unify for postgres that need pk name (#14416)Bung2020-05-224-0/+67
* Add missing attributes and methods to JavaScript DOM (#14428)Mildred Ki'Lya2020-05-221-0/+14
* make malloc.nim consistent in style (#14427)Andreas Rumpf2020-05-221-9/+9
* ARC/ORC: optimize s.setLen(0) to match the old runtime's behaviour (#14423)Andreas Rumpf2020-05-211-2/+1
* fixes a bug reported in https://forum.nim-lang.org/t/6361 (#14422)Andreas Rumpf2020-05-211-31/+31
* The whole options module should be inline (#14417) [backport:1.2]Mamy Ratsimbazafy2020-05-211-15/+14
* fix #14404 foldr had the classic multiple evaluation bug (#14413)Timothee Cour2020-05-211-7/+7
* Small improvements for string and char repr with gc:arc (#14400)Clyybber2020-05-201-6/+8
* fix #10731 ; `runnableExamples "-b:cpp --run:off": code` works (#14384)Timothee Cour2020-05-201-3/+8
* asyncdispatch, asyncnet: add inheritance control (#14362)alaviss2020-05-202-25/+90
* specialize genericReset (#14398)Andreas Rumpf2020-05-191-1/+1
* trunner was not actually being tested in non-CTFFI mode; minor testament clea...Timothee Cour2020-05-191-1/+1
* Fix #14394 (#14395)Clyybber2020-05-181-1/+1
* add OpenBSD MAP_STACK for coroutines (#14353)John2020-05-161-4/+10
* fixes #14370 (#14371)Andreas Rumpf2020-05-162-2/+2
* Emscripten: disable epoll (#14361)Dominik Picheta2020-05-161-2/+2
* add SqlPrepared api fix #13559 (#14365)Bung2020-05-161-0/+101
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-1/+1
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-157-53/+52
* fix #9771 (#14357)Bung2020-05-152-17/+19
* Improve nimeval, changes some defaults (#14351)PMunch2020-05-151-1/+1
* Fail quickly if re or nre module is attempted to be compiled with js [backpor...Kaushal Modi2020-05-142-1/+6
* fixes #13862Araq2020-05-131-1/+1
* fixes #13935Andreas Rumpf2020-05-131-0/+3
* fixes #14331Araq2020-05-131-0/+28
* `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, workingDir...Timothee Cour2020-05-132-13/+33
* cycle collector: make it threadsafeAraq2020-05-121-5/+5
* fixes #13881Andreas Rumpf2020-05-126-20/+36
* properly fixes #13758 so that `import std/macros` stays legal (#14291)Timothee Cour2020-05-121-2/+1
* Make --backend:cpp|js work for :test: code-blocks as well (#14306)Kaushal Modi2020-05-111-1/+1
* Fix #14289 (#14304) [backport]slangmgh2020-05-111-1/+2
* fixes #13946 (#14302)Andreas Rumpf2020-05-112-11/+5
* do not track 'raise Defect' in the .raises: [] clause anymore (#14298)Andreas Rumpf2020-05-111-1/+6
* Fix for --styleCheck:errorAntonis2020-05-111-4/+4
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, `--d...Timothee Cour2020-05-111-0/+2
* fix a critical bug in windows.osproc leading to resource leaks and blocking I...Timothee Cour2020-05-112-1/+7
* simple typo in locks.nim (#14297)Andy Davidoff2020-05-111-1/+1
* --hint:processing (+friends) is now supported and means `--hint:processing:on...Timothee Cour2020-05-081-1/+1
* Merge pull request #14265 from alaviss/quickfixAndreas Rumpf2020-05-081-1/+1
|\
| * nativesockets: add missing inheritable pass-throughLeorize2020-05-071-1/+1
* | Fix #14270 and add testcases (#14276)Clyybber2020-05-081-2/+6
|/
* net: remove more erroneous set constructions (#14252) [backport]alaviss2020-05-071-3/+8
;), 'gu') bind(cd("/"), 'gr') bind(cd("/media"), 'gm') bind(cd("/mnt"), 'gn') bind(cd("~/.trash"), 'gt') bind(cd("/srv"), 'gs') bind(do.search_forward, 'n') bind(do.search_backward, 'N') # bookmarks for key in ALLOWED_BOOKMARK_KEYS: bind(c(do.enter_bookmark, key), "`" + key, "'" + key) bind(c(do.set_bookmark, key), "m" + key) bind(c(do.unset_bookmark, key), "um" + key) # system functions bind(do.exit, ctrl('D'), 'q', 'ZZ') bind(do.reset, ctrl('R')) bind(do.redraw, ctrl('L')) bind(do.interrupt, ctrl('C')) bind(do.resize, curses.KEY_RESIZE) bind(do.handle_mouse, curses.KEY_MOUSE) bind(c(do.open_console, ':'), ':') bind(c(do.open_console, '/'), '/') bind(c(do.open_console, '!'), '!') bind(c(do.open_console, '@'), 'r') def test(fm): from ranger import log log(fm.bookmarks.dct) bind(test, 'x') command_list.rebuild_paths() def initialize_console_commands(command_list): from ranger.actions import Actions as do from ranger.gui.widgets.console import Console def bind(fnc, *keys): command_list.bind(fnc, *keys) def type_key(key): return lambda con: con.type_key(key) # currying def c(fnc, *args, **keywords): return lambda con: fnc(con, *args, **keywords) def c_fm(fnc, *args, **keywords): return lambda con: fnc(con.fm, *args, **keywords) # movement bind(c(Console.move, relative = -1), curses.KEY_LEFT, ctrl('b')) bind(c(Console.move, relative = 1), curses.KEY_RIGHT, ctrl('f')) bind(c(Console.move, absolute = 0), curses.KEY_HOME, ctrl('a')) bind(c(Console.move, absolute = -1), curses.KEY_END, ctrl('e')) bind(c(Console.delete, 0), curses.KEY_DC, ctrl('d')) bind(c(Console.delete, -1), curses.KEY_BACKSPACE, 127, ctrl('h')) bind(c(Console.delete_word), ctrl('W')) bind(c(Console.delete_rest, -1), ctrl('U')) bind(c(Console.delete_rest, 1), ctrl('K')) # system functions bind(c(Console.close), ESC, ctrl('C')) bind(Console.execute, curses.KEY_ENTER, ctrl('j')) bind(c_fm(do.redraw), ctrl('L')) bind(c_fm(do.resize), curses.KEY_RESIZE) for i in range(ord(' '), ord('~')): bind(type_key(i), i) command_list.rebuild_paths()