Mentions légales du service

Skip to content
Snippets Groups Projects
  1. Oct 24, 2024
  2. Oct 23, 2024
    • Ludovic Courtès's avatar
      guix-jupyter-kernel: Add “;;guix channels” magic. · 68378636
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (pin-channels): New procedure, with code
      formerly in ‘reply-execute-request’.
      (handle-channel-selection): New procedure.
      (reply-execute-request): Use ‘pin-channels’.
      Add support for “;;guix channels” and call ‘handle-channel-selection’.
      (%magic-commands): Add “channels”.
      * README.org (Pinning): Document it.
      68378636
  3. Oct 22, 2024
    • Ludovic Courtès's avatar
      magic: Remove unused code. · 9598d427
      Ludovic Courtès authored
      * modules/guix/jupyter/magic.scm (delete-magic, magic-run?)
      (magic-exec?, magic-kernel?, magic-html?, magic-get-kernel-name):
      Remove.
      * tests/magic.scm (magic-run, magic-exec, magic-kernel): Remove.
      Remove the corresponding tests.
      9598d427
  4. Oct 08, 2024
    • Ludovic Courtès's avatar
      guix-jupyter-kernel: Update “Preparing” message upon completion. · 3115678d
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (manifest->shtml): Add #:ready? and honor it.
      (reply-for-environment): Add #:display-id and #:ready? and honor them.
      Send ‘display_data’ or ‘update_display_data’ instead of using
      ‘reply-shtml’.
      (create-environment): Define ‘display-id’ and pass it to
      ‘reply-for-environment’.  Add second call to ‘reply-for-environment’.
      * modules/guix/jupyter/kernel.scm (call-with-build-progress-report):
      Change last message from “Done!” to “Ready.”
      3115678d
    • Ludovic Courtès's avatar
      guile: Implement completion for top-level bindings. · 4949a5d0
      Ludovic Courtès authored
      * modules/jupyter/guile.scm (%scheme-symbol-char-set): New variable.
      (symbol-at-point, bindings-with-prefix, reply-complete-request): New
      procedures.
      (dispatch-route): Add ‘complete_request’.
      * tests/guile.scm ("complete_request"): New test.
      4949a5d0
    • Ludovic Courtès's avatar
      guix-jupyter-kernel: Use <complete-request> and <complete-reply>. · 6ed0188c
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (reply-complete-request): Use
      the <complete-request> and <complete-reply> types.
      6ed0188c
    • Ludovic Courtès's avatar
      messages: Define <complete-request> and <complete-reply>. · e20db475
      Ludovic Courtès authored
      * modules/jupyter/messages.scm (<complete-request>, <complete-reply>):
      New data types.
      e20db475
    • Ludovic Courtès's avatar
      build: Move modules under ‘modules/’. · 65ec9a18
      Ludovic Courtès authored
      This avoids potential conflicts between the (guix) module and the
      top-level ‘guix.scm’ file.
      
      * guix, jupyter: Move to…
      * modules: … here.
      * Makefile.am (guixmoddir, jupytermoddir)
      (guixgodir, jupytergodir, guixmod_DATA, jupytermod_DATA)
      (mod_DATA, nodist_go_DATA, nodist_guixgo_DATA, nodist_jupytergo_DATA):
      New variables.
      (SOURCES): Redefine in terms of these.
      (SCM_LOG_DRIVER): Use ‘pre-inst-env’.
      * guile.am (nobase_mod_DATA, nobase_go_DATA, EXTRA_DIST): Remove.
      (.scm.go): Adjust ‘-L’ flags.
      * pre-inst-env.in (GUILE_LOAD_PATH, GUILE_LOAD_COMPILED_PATH): Add
      ‘/modules’.
      (JUPYTER_PATH): Add $kernel_dir to the front of $JUPYTER_PATH rather
      than overriding it.
      65ec9a18
  5. Sep 23, 2024
  6. Sep 16, 2024
    • Ludovic Courtès's avatar
      guile: Forward stdout/stderr. · c00a42bd
      Ludovic Courtès authored
      
      This captures the output and error ports while evaluating user codes and
      forwards them to Jupyter as “stream” messages.
      
      Fixes #7.
      
      * jupyter/guile.scm (reply-execute-request)[forward-output]
      [call-with-output-capture]: New procedures.
      [with-output-capture]: New macro.
      Wrap ‘code->execute-reply’ in ‘with-output-capture’.
      * tests/guile.scm ("execute_request, stdout/stderr"): New test.
      
      Reported-by: default avatarGeorge McNinch <gmcninch@gmail.com>
      c00a42bd
    • Ludovic Courtès's avatar
      tests: Factorize ‘type-predicate’. · 377d6496
      Ludovic Courtès authored
      * tests/guile.scm (type-predicate): New procedure.
      ("execute_request", "execute_request, exception"): Remove
      ‘type-predicate’.
      377d6496
  7. Sep 15, 2024
  8. Mar 22, 2022
  9. Jul 26, 2021
  10. Jul 06, 2021
  11. Jan 25, 2021
  12. Jan 24, 2021
  13. Jan 23, 2021
Loading