Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-19Allow to use different history file (#64)HEADmasterAlexis BRENON
Look for the TREPL_HISTORY environment variable to use it as a path to the history file.
2017-01-15Adding support for CMAKE (#62)archenroot
* Adding support for CMAKE.
2016-12-30Merge pull request #61 from nhynes/treplstartupSoumith Chintala
Allow executing file before trepl starts
2016-12-15Allow executing file before trepl startsNick Hynes
2016-11-27Merge pull request #60 from BTNC/masterSoumith Chintala
update wineditline from 2.101 to 2.201
2016-11-27update wineditline from 2.101 to 2.201Rui Guo
2016-11-11Merge pull request #59 from pareshmg/underlinePrintSoumith Chintala
added misc font decorators like bright, dim, nderline, etc
2016-11-11added misc font decorators like bright, dim, nderline, etcParesh Malalur
2016-11-08Merge pull request #57 from howard0su/freebsdSoumith Chintala
Fix compile on FreeBSD
2016-11-02support freebsd platformHoward Su
2016-10-29Merge pull request #56 from DmitryUlyanov/patch-1Soumith Chintala
fix typo
2016-10-29fix typoDmitry Ulyanov
2016-10-28Merge pull request #55 from BTNC/masterSoumith Chintala
fix for windows with wineditline
2016-10-28fix for windows with wineditlineRui Guo
2016-10-11Merge pull request #54 from Atcold/patch-1Soumith Chintala
Fix bad line break when banner is shown
2016-10-10Update thAlfredo Canziani
Even formatting in the code introduces extra spaces which break the line in narrow terminals / views
2016-06-13Merge pull request #48 from CDLuminate/trivial-enhancement-on-exitSoumith Chintala
init.lua: trivial enhancement on exit
2016-06-13init.lua: trivial enhancement on exitLumin Zhou
2016-02-06Merge pull request #47 from vsergeev/fix-running-torch-lessSoumith Chintala
Fix running in torch-less env with stub for torch.setheaptracking()
2016-02-06Fix 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-19Merge pull request #45 from lucasb-eyer/patch-1Soumith Chintala
Allow quitting with double Ctrl+D
2015-12-07Allow quitting with double Ctrl+DLucas 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-17Merge pull request #44 from clementfarabet/masterSoumith Chintala
Enable heap tracking by default.
2015-11-17Enable heap tracking by default.Clement Farabet
-> this is proven enough, and eliminates the need for manual GC-ing.
2015-11-06fixing colorsSoumith Chintala
2015-11-03Merge pull request #40 from torch/libloadingSoumith Chintala
xpcall + debug stack around library loading in th
2015-11-03xpcall + debug stack around library loading in thlibloadingSoumith Chintala
2015-11-03Merge pull request #39 from torch/nocolorsSoumith Chintala
disabling colors if terminal doesn't support colors
2015-11-03disabling colors if terminal doesn't support colorsSoumith Chintala
2015-10-26small bugfix when printing out invalid optionssoumith
2015-10-25Merge pull request #38 from torch/closefixSoumith Chintala
replacing os.exit with return so that lua state is properly closed
2015-10-25replacing os.exit with return so that lua state is properly closedSoumith Chintala
2015-10-16Merge pull request #35 from nicholas-leonard/luafixSoumith Chintala
lua 5.2 compat
2015-10-16lua 5.2 compatNicholas Leonard
2015-09-25Merge pull request #31 from zhengwy888/masterSoumith Chintala
skip readline when HOME is not present in environment
2015-09-25skip readline when HOME is not present in environmentWeiyi Zheng
2015-08-29Merge pull request #30 from nicholas-leonard/rtdSoumith Chintala
readthedocs
2015-08-29readthedocsnicholas-leonard
2015-07-24Merge pull request #26 from samehkhamis/masterSoumith Chintala
Making things work under windows
2015-07-24Work under Windowssamehkhamis
2015-05-01Merge pull request #23 from colesbury/masterSoumith Chintala
Lua 5.2 compatibility.
2015-04-29Lua 5.2 compatibility.Sam Gross
2015-04-26Merge pull request #22 from Atcold/patch-1Soumith Chintala
Added instruction about terpl.colorize to ?
2015-04-26Merge pull request #20 from adamlerer/tracebackSoumith Chintala
Improve error stack trace from trepl.
2015-04-25Added instruction about terpl.colorize to ?Alfredo Canziani
2015-04-18Create LICENSESoumith Chintala
2015-04-09Improve 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-17Merge pull request #19 from Atcold/bugfix-selfhelpSoumith Chintala
Trailing space added for forcing carriage return in selfhelp
2015-03-16Trailing space added for forcing carriage return in selfhelpAlfredo Canziani
Added more help <Ctrl> L <Ctrl> D
2015-03-16Merge pull request #18 from torch/better-helpSoumith Chintala
adding back selfhelp