Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-19 | Allow to use different history file (#64)HEADmaster | Alexis BRENON | |
Look for the TREPL_HISTORY environment variable to use it as a path to the history file. | |||
2017-01-15 | Adding support for CMAKE (#62) | archenroot | |
* Adding support for CMAKE. | |||
2016-12-30 | Merge pull request #61 from nhynes/treplstartup | Soumith Chintala | |
Allow executing file before trepl starts | |||
2016-12-15 | Allow executing file before trepl starts | Nick Hynes | |
2016-11-27 | Merge pull request #60 from BTNC/master | Soumith Chintala | |
update wineditline from 2.101 to 2.201 | |||
2016-11-27 | update wineditline from 2.101 to 2.201 | Rui Guo | |
2016-11-11 | Merge pull request #59 from pareshmg/underlinePrint | Soumith Chintala | |
added misc font decorators like bright, dim, nderline, etc | |||
2016-11-11 | added misc font decorators like bright, dim, nderline, etc | Paresh Malalur | |
2016-11-08 | Merge pull request #57 from howard0su/freebsd | Soumith Chintala | |
Fix compile on FreeBSD | |||
2016-11-02 | support freebsd platform | Howard Su | |
2016-10-29 | Merge pull request #56 from DmitryUlyanov/patch-1 | Soumith Chintala | |
fix typo | |||
2016-10-29 | fix typo | Dmitry Ulyanov | |
2016-10-28 | Merge pull request #55 from BTNC/master | Soumith Chintala | |
fix for windows with wineditline | |||
2016-10-28 | fix for windows with wineditline | Rui Guo | |
2016-10-11 | Merge pull request #54 from Atcold/patch-1 | Soumith Chintala | |
Fix bad line break when banner is shown | |||
2016-10-10 | Update th | Alfredo Canziani | |
Even formatting in the code introduces extra spaces which break the line in narrow terminals / views | |||
2016-06-13 | Merge pull request #48 from CDLuminate/trivial-enhancement-on-exit | Soumith Chintala | |
init.lua: trivial enhancement on exit | |||
2016-06-13 | init.lua: trivial enhancement on exit | Lumin Zhou | |
2016-02-06 | Merge pull request #47 from vsergeev/fix-running-torch-less | Soumith Chintala | |
Fix running in torch-less env with stub for torch.setheaptracking() | |||
2016-02-06 | Fix running in torch-less env with stub for torch.setheaptracking() | Vanya Sergeev | |
This commit stubs out torch.setheaptracking(), so trepl can be run in a torch-less environment. It fixes the following error: $ th /usr/bin/lua5.1: /usr/share/lua/5.1/trepl/init.lua:692: attempt to call field 'setheaptracking' (a nil value) stack traceback: /usr/share/lua/5.1/trepl/init.lua:692: in main chunk [C]: in function 'require' /usr/lib/luarocks/rocks-5.1/trepl/scm-1/bin/th:104: in main chunk [C]: ? $ | |||
2015-12-19 | Merge pull request #45 from lucasb-eyer/patch-1 | Soumith Chintala | |
Allow quitting with double Ctrl+D | |||
2015-12-07 | Allow quitting with double Ctrl+D | Lucas Beyer | |
I'm used to this feature from IPython/Jupyter and since here you also quit on empty string, I see no harm? Without this change, doing double Ctrl+D would get: ``` th> Do you really want to exit ([y]/n)? /home.local/lucas/inst/src/torch/install/bin/luajit: ...ucas/inst/src/torch/install/share/lua/5.1/trepl/init.lua:587: attempt to index local 'line' (a nil value) stack traceback: ...ucas/inst/src/torch/install/share/lua/5.1/trepl/init.lua:587: in function 'repl' .../src/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk [C]: at 0x00406670 ``` | |||
2015-11-17 | Merge pull request #44 from clementfarabet/master | Soumith Chintala | |
Enable heap tracking by default. | |||
2015-11-17 | Enable heap tracking by default. | Clement Farabet | |
-> this is proven enough, and eliminates the need for manual GC-ing. | |||
2015-11-06 | fixing colors | Soumith Chintala | |
2015-11-03 | Merge pull request #40 from torch/libloading | Soumith Chintala | |
xpcall + debug stack around library loading in th | |||
2015-11-03 | xpcall + debug stack around library loading in thlibloading | Soumith Chintala | |
2015-11-03 | Merge pull request #39 from torch/nocolors | Soumith Chintala | |
disabling colors if terminal doesn't support colors | |||
2015-11-03 | disabling colors if terminal doesn't support colors | Soumith Chintala | |
2015-10-26 | small bugfix when printing out invalid options | soumith | |
2015-10-25 | Merge pull request #38 from torch/closefix | Soumith Chintala | |
replacing os.exit with return so that lua state is properly closed | |||
2015-10-25 | replacing os.exit with return so that lua state is properly closed | Soumith Chintala | |
2015-10-16 | Merge pull request #35 from nicholas-leonard/luafix | Soumith Chintala | |
lua 5.2 compat | |||
2015-10-16 | lua 5.2 compat | Nicholas Leonard | |
2015-09-25 | Merge pull request #31 from zhengwy888/master | Soumith Chintala | |
skip readline when HOME is not present in environment | |||
2015-09-25 | skip readline when HOME is not present in environment | Weiyi Zheng | |
2015-08-29 | Merge pull request #30 from nicholas-leonard/rtd | Soumith Chintala | |
readthedocs | |||
2015-08-29 | readthedocs | nicholas-leonard | |
2015-07-24 | Merge pull request #26 from samehkhamis/master | Soumith Chintala | |
Making things work under windows | |||
2015-07-24 | Work under Windows | samehkhamis | |
2015-05-01 | Merge pull request #23 from colesbury/master | Soumith Chintala | |
Lua 5.2 compatibility. | |||
2015-04-29 | Lua 5.2 compatibility. | Sam Gross | |
2015-04-26 | Merge pull request #22 from Atcold/patch-1 | Soumith Chintala | |
Added instruction about terpl.colorize to ? | |||
2015-04-26 | Merge pull request #20 from adamlerer/traceback | Soumith Chintala | |
Improve error stack trace from trepl. | |||
2015-04-25 | Added instruction about terpl.colorize to ? | Alfredo Canziani | |
2015-04-18 | Create LICENSE | Soumith Chintala | |
2015-04-09 | Improve error stack trace from trepl. | Adam Lerer | |
trepl does a trick to print the results of commands, but this trick confuses the traceback. Before: th> a=torch.Tensor(1,2) th> a:size(3) [string "local f = function() return a:size(3) end loc..."]:1: bad argument #2 to 'f' (out of range) stack traceback: [C]: in function 'f' [string "local f = function() return a:size(3) end loc..."]:1: in main chunk [C]: in function 'xpcall' ...r/git/torch-distro2/install/share/lua/5.1/trepl/init.lua:620: in function 'repl' ...ch-distro2/install/lib/luarocks/rocks/trepl/scm-1/bin/th:185: in main chunk [C]: at 0x004057d0 After: th> a=torch.Tensor(1,2) th> a:size(3) [string "_ = a:size(3)"]:1: bad argument #1 to 'size' (out of range) stack traceback: [C]: in function 'size' [string "_ = a:size(3)"]:1: in main chunk [C]: in function 'xpcall' ...r/git/torch-distro2/install/share/lua/5.1/trepl/init.lua:623: in function 'repl' ...ch-distro2/install/lib/luarocks/rocks/trepl/scm-1/bin/th:185: in main chunk [C]: at 0x004057d0 | |||
2015-03-17 | Merge pull request #19 from Atcold/bugfix-selfhelp | Soumith Chintala | |
Trailing space added for forcing carriage return in selfhelp | |||
2015-03-16 | Trailing space added for forcing carriage return in selfhelp | Alfredo Canziani | |
Added more help <Ctrl> L <Ctrl> D | |||
2015-03-16 | Merge pull request #18 from torch/better-help | Soumith Chintala | |
adding back selfhelp |