on master help sign in
Merge branch 'master' into rr-dockerfile-rearrange
commitae1cc490ca88c1ee1a946a0656b6994b2a6175b4 authorRadon Rosborough <radon.neon@gmail.com> dateTue 4 Jun 2019, 13:30 (7 years ago) parent5525575ff6d181
8 files changed+14−9
COPYING+1−1 Dockerfile+4 languages/nodejs/repl.js+1−1 languages/ocaml/repl.ml+3−3 languages/python2/pry_python2.c+1−1 languages/python3/main.go+1 languages/python3/pry_python3.c+1−1 logo.svg+2−2
COPYING+1−1
@@ -337,4 +337,4 @@ This General Public License does not permit incorporating your program into
337337proprietary programs. If your program is a subroutine library, you may
338338consider it more useful to permit linking proprietary applications with the
339339library. If this is what you want to do, use the GNU Library General
340−Public License instead of this License.
340+Public License instead of this License.
Dockerfile+4
@@ -61,3 +61,7 @@ RUN make \
6161ENV LC_ALL=C.UTF-8
6262
6363CMD bash
64+
65+# Local Variables:
66+# indent-tabs-mode: t
67+# End:
languages/nodejs/repl.js+1−1
@@ -180,5 +180,5 @@ var exit = (function() {
180180
181181exit((reallyExit) => {
182182 let r = repl.start(process.env.NODE_PROMPT || '> ');
183− r.on('exit', reallyExit);
183+ r.on('exit', reallyExit);
184184});
languages/ocaml/repl.ml+3−3
@@ -56,7 +56,7 @@ let _ =
5656 "OCaml / Reason repl script for prybar. Options available:"
5757 in
5858 Arg.parse speclist
59− (fun str ->
59+ (fun str ->
6060 match (str, !interactive_mode) with
6161 | (path, true) -> eval_filepath := Some(path)
6262 | _ -> print_endline ("Anonymous arg: " ^ str)
@@ -126,8 +126,8 @@ let _ =
126126
127127 (* If there's an entry file provided, run it before dropping into interactive mode *)
128128 (match !eval_filepath with
129− | Some name -> run_script ppf name
130− | _ -> false) |> ignore ;
129+ | Some name -> run_script ppf name
130+ | _ -> false) |> ignore ;
131131
132132 while true do
133133 let snap = Btype.snapshot () in
languages/python2/pry_python2.c+1−1
@@ -57,4 +57,4 @@ void pry_set_prompts(const char *ps1, const char *ps2)
5757 PySys_SetObject("ps2", po2);
5858 Py_DECREF(po1);
5959 Py_DECREF(po2);
60−}
60+}
languages/python3/main.go+1
@@ -21,6 +21,7 @@ func (p Python) Open() {
2121 p.loadModule("readline")
2222 p.Eval("import signal")
2323 p.Eval("signal.signal(signal.SIGINT, signal.default_int_handler)")
24+ p.Eval("del signal")
2425}
2526
2627func (p Python) Version() string {
languages/python3/pry_python3.c+1−1
@@ -101,4 +101,4 @@ void pymain_run_interactive_hook(void)
101101error:
102102 PySys_WriteStderr("Failed calling sys.__interactivehook__\n");
103103 PyErr_Print();
104−}
104+}
logo.svg+2−2
@@ -1,6 +1,6 @@
11 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1138 260">
22 <!--
3− Crowbar shape derived from https://game-icons.net/delapouite/originals/crowbar.html
3+ Crowbar shape derived from https://game-icons.net/delapouite/originals/crowbar.html
44-->
55 <defs><style>.cls-1{fill:#3770b8;stroke:#3770b8;}.cls-1,.cls-4,.cls-5{stroke-miterlimit:10;stroke-width:2.477px;}.cls-2{fill:#0086ff;}.cls-3,.cls-4,.cls-5{stroke:#0086ff;}.cls-3{stroke-width:4px;}.cls-4{fill:none;}</style></defs>
66 <title>prybar 2</title>
@@ -17,4 +17,4 @@
1717 <rect class="cls-2" x="801.69" y="141.714" width="61.976" height="2.119"/>
1818 <polygon class="cls-2" points="896.389 237.067 869.341 237.129 869.141 235.835 896.5 235.875 896.389 237.067"/>
1919 <polygon class="cls-2" points="894.247 234.625 871.417 234.625 871.341 234.069 894.323 234.069 894.247 234.625"/>
20−</svg>
20+</svg>