{"commit":"7c95688e11b040a76ef50d6f460a68e30f6e953e","old_file":"Code\/Compiler\/compiler-macros.lisp","new_file":"Code\/Compiler\/compiler-macros.lisp","old_contents":"(in-package #:sicl-global-environment)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Macro DEFINE-COMPILER-MACRO.\n\n(defmacro define-compiler-macro (name lambda-list &body body)\n `(eval-when (:compile-toplevel :load-toplevel :execute)\n (setf (compiler-macro-function ',name)\n\t ,(cleavir-code-utilities:parse-macro\n\t name\n\t lambda-list\n\t body))))\n","new_contents":"(cl:in-package #:sicl-global-environment)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Macro DEFINE-COMPILER-MACRO.\n\n(defmacro define-compiler-macro (name lambda-list &body body)\n `(eval-when (:compile-toplevel :load-toplevel :execute)\n (setf (compiler-macro-function ',name)\n\t ,(cleavir-code-utilities:parse-macro\n\t name\n\t lambda-list\n\t body))))\n","subject":"Use explicit package marker with IN-PACKAGE.","message":"Use explicit package marker with IN-PACKAGE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"df9f168fa4bfa6af372a2c788de9e3ff6db4fc60","old_file":"Test\/test-2-3-tree.lisp","new_file":"Test\/test-2-3-tree.lisp","old_contents":"(cl:in-package #:clump-test)\n\n","new_contents":"(cl:in-package #:clump-test)\n\n(defclass size-mixin ()\n ((%size :initarg :size :reader size)))\n\n(defclass leaf-size (size-mixin clump-2-3-tree:leaf)\n ()\n (:default-initargs :size 1))\n\n(defclass 2-node-size (size-mixin clump-2-3-tree:2-node)\n ())\n\n(defclass 3-node-size (size-mixin clump-2-3-tree:3-node)\n ())\n\n(defclass size-tree (clump-2-3-tree:tree)\n ()\n (:default-initargs\n :2-node-class '2-node-size\n :3-node-class '3-node-size))\n","subject":"Define subclasses of 2-3 tree classes for testing purposes.","message":"Define subclasses of 2-3 tree classes for testing purposes.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"1bb99bd0457adbc41180d4e55375fcfd1ef0e6f3","old_file":"Code\/Cons\/packages.lisp","new_file":"Code\/Cons\/packages.lisp","old_contents":"(cl:in-package #:common-lisp-user)\n\n(defpackage #:sicl-common-lisp\n (:nicknames #:sicl-cl #:scl)\n (:export \n . #.(loop for symbol being each external-symbol of '#:common-lisp\n\t collect (symbol-name symbol))))\n\n(defpackage #:sicl-cons\n (:use #:sicl-common-lisp)\n (:export\n ;; The symbols LOAD-CAR, LOAD-CDR, STORE-CAR, and STORE-CDR name\n ;; special operators. The operators LOAD-CAR and LOAD-CDR are\n ;; similar to the functions CAR and CDR, except that they require\n ;; that the argument be a CONS, or else an error is signaled. The\n ;; operators STORE-CAR and STORE-CDR are like the functions RPLACA\n ;; and RPLACD, except that they must be evaluated in a context\n ;; where no value is required. \n #:load-car #:load-cdr #:store-car #:store-cdr\n ))\n\n","new_contents":"(cl:in-package #:common-lisp-user)\n\n(defpackage #:sicl-cons\n (:use #:common-lisp)\n (:export\n ;; The symbols LOAD-CAR, LOAD-CDR, STORE-CAR, and STORE-CDR name\n ;; special operators. The operators LOAD-CAR and LOAD-CDR are\n ;; similar to the functions CAR and CDR, except that they require\n ;; that the argument be a CONS, or else an error is signaled. The\n ;; operators STORE-CAR and STORE-CDR are like the functions RPLACA\n ;; and RPLACD, except that they must be evaluated in a context\n ;; where no value is required. \n #:load-car #:load-cdr #:store-car #:store-cdr\n ))\n\n","subject":"Use the normal CL package.","message":"Use the normal CL package.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"048802040b2a8796c8f8b1c0b3dc81a387b8e63f","old_file":"Code\/Cleavir\/Liveness\/cleavir-liveness.asd","new_file":"Code\/Cleavir\/Liveness\/cleavir-liveness.asd","old_contents":"(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :cleavir-liveness\n :depends-on (:cleavir-utilities)\n :components\n ((:file \"packages\")\n (:file \"liveness\" :depends-on (\"packages\"))))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :cleavir-liveness\n :depends-on (:cleavir-utilities)\n :components\n ((:file \"packages\")\n (:file \"liveness\" :depends-on (\"packages\"))))\n","subject":"Define ASDF system in package ASDF-USER.","message":"Define ASDF system in package ASDF-USER.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"31f5d71f81750cb7d74b9eb1e5a4c6fb4c9648ab","old_file":"environment\/transpiler\/environment\/equality.lisp","new_file":"environment\/transpiler\/environment\/equality.lisp","old_contents":"(defun eql (x y)\n (| x (setq x nil))\n (| y (setq y nil))\n (| (eq x y)\n (?\n (& (number? x)\n (number? y)) (== x y)\n (& (string? x)\n (string? y)) (string== x y)\n (& (character? x)\n (character? y)) (character== x y))))\n","new_contents":"(defun eql (a b)\n (| a (setq a nil))\n (| b (setq b nil))\n (| (eq a b)\n (?\n (& (number? a)\n (number? b)) (== a b)\n (& (string? a)\n (string? b)) (string== a b)\n (& (character? a)\n (character? b)) (character== a b))))\n\n(defmacro eql (a b)\n (? (| (string? a)\n (string? b))\n `(string== ,a ,b)\n `(eql ,a ,b)))\n","subject":"Convert EQL to STRING== on literal string arguments.","message":"Convert EQL to STRING== on literal string arguments.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"db9e7163a9aef3f41af2e71f074611dae0f5ac39","old_file":"lispkit.lisp","new_file":"lispkit.lisp","old_contents":"(defpackage lispkit\n (:use :gtk :gdk :gdk-pixbuf :gobject\n :drakma :cl-webkit\n :glib :gio :pango :cairo :common-lisp)\n (:export #:main))\n\n(in-package :lispkit)\n\n(defparameter *current-tab* nil)\n\n(defun handle-key (window event)\n (declare (ignore window))\n (print event)\n nil)\n\n(defun main (&rest args)\n (declare (ignore args))\n (within-main-loop\n (let ((window (make-instance 'gtk:gtk-window :title \"lispkit!\"))\n (view (setq *current-tab*\n (webkit.foreign:webkit-web-view-new))))\n (gtk-container-add window view)\n (gtk-container-add window (make-instance 'gtk-scrolled-window))\n (webkit.foreign:webkit-web-view-load-uri\n view \"http:\/\/www.github.com\/AeroNotix\/lispkit\")\n (g-signal-connect window \"key_press_event\"\n #'handle-key)\n (gtk-widget-show-all window))))\n","new_contents":"(defpackage lispkit\n (:use :gtk :gdk :gdk-pixbuf :gobject\n :drakma :cl-webkit\n :glib :gio :pango :cairo :common-lisp)\n (:export #:main))\n\n(in-package :lispkit)\n\n(defparameter *current-tab* nil)\n\n(defun load-url (url &optional view)\n (webkit.foreign:webkit-web-view-load-uri\n (or view *current-tab*) url))\n\n(defun handle-key (window event)\n (declare (ignore window))\n (print event)\n nil)\n\n(defun main (&rest args)\n (declare (ignore args))\n (within-main-loop\n (let ((window (make-instance 'gtk:gtk-window :title \"lispkit!\"))\n (view (setq *current-tab*\n (webkit.foreign:webkit-web-view-new))))\n (gtk-container-add window view)\n (gtk-container-add window (make-instance 'gtk-scrolled-window))\n (g-signal-connect window \"key_press_event\"\n #'handle-key)\n (load-url \"http:\/\/www.github.com\/AeroNotix\/lispkit\")\n (gtk-widget-show-all window))))\n","subject":"Put load-url into a function","message":"Put load-url into a function\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"AeroNotix\/lispkit,AeroNotix\/lispkit"} {"commit":"d3b4fb1e58e88580833db676a4f0402ce7033fbc","old_file":"lisp-chat.asd","new_file":"lisp-chat.asd","old_contents":";; Common Lisp Script\n;; Manoel Vilela\n\n\n(asdf\/defsystem:defsystem :lisp-chat\n :author \"Manoel Vilela\"\n :description \"An experimental chat irc-like\"\n :version \"0.1\"\n :license \"MIT\"\n :depends-on (\"usocket\")\n :components ((:file \"config\")\n (:file \"client\" :depends-on (\"config\"))\n (:file \"server\" :depends-on (\"config\"))))\n","new_contents":";; Common Lisp Script\n;; Manoel Vilela\n\n\n(asdf\/defsystem:defsystem :lisp-chat\n :author \"Manoel Vilela\"\n :description \"An experimental chat irc-like\"\n :version \"0.1\"\n :mailto \"manoel_vilela@engineer.com\"\n :license \"MIT\"\n :depends-on (\"usocket\")\n :components ((:file \"config\")\n (:file \"client\" :depends-on (\"config\"))\n (:file \"server\" :depends-on (\"config\"))))\n","subject":"Add correct key for email on ASDF definition","message":"Add correct key for email on ASDF definition\n\n* :email => :mailto\n","lang":"Common Lisp","license":"mit","repos":"ryukinix\/lisp-chat,ryukinix\/lisp-chat"} {"commit":"25600c966e3955382201da044c4c2eb5ca135260","old_file":"Code\/Cleavir\/HIR-transformations\/Remove-useless-instructions\/remove-useless-instructions.lisp","new_file":"Code\/Cleavir\/HIR-transformations\/Remove-useless-instructions\/remove-useless-instructions.lisp","old_contents":"(cl:in-package #:cleavir-remove-useless-instructions)\n\n(defgeneric instruction-may-be-removed-p (instruction))\n\n(defmethod instruction-may-be-removed-p (instruction)\n (and (= (length (cleavir-ir:successors instruction)) 1)\n (loop for output in (cleavir-ir:outputs instruction)\n\t always (null (cleavir-ir:using-instructions output)))))\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:side-effect-mixin))\n nil)\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:enter-instruction))\n nil)\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:return-instruction))\n nil)\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:set-symbol-value-instruction))\n nil)\n\n(defun remove-useless-instructions (initial-instruction)\n (cleavir-meter:with-meter (m *remove-useless-instructions-meter*)\n (loop do (cleavir-ir:reinitialize-data initial-instruction)\n\t (let ((useless-instructions '()))\n\t (cleavir-ir:map-instructions-arbitrary-order\n\t\t(lambda (instruction)\n\t\t (cleavir-meter:increment-size m)\n\t\t (when (instruction-may-be-removed-p instruction)\n\t\t (push instruction useless-instructions)))\n\t\tinitial-instruction)\n\t (when (null useless-instructions)\n\t\t (loop-finish))\n\t (mapc #'cleavir-ir:delete-instruction useless-instructions)))))\n","new_contents":"(cl:in-package #:cleavir-remove-useless-instructions)\n\n(defgeneric instruction-may-be-removed-p (instruction))\n\n(defmethod instruction-may-be-removed-p (instruction)\n (and (= (length (cleavir-ir:successors instruction)) 1)\n (loop for output in (cleavir-ir:outputs instruction)\n\t always (null (cleavir-ir:using-instructions output)))))\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:side-effect-mixin))\n nil)\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:enter-instruction))\n nil)\n\n(defmethod instruction-may-be-removed-p\n ((instruction cleavir-ir:return-instruction))\n nil)\n\n(defun remove-useless-instructions (initial-instruction)\n (cleavir-meter:with-meter (m *remove-useless-instructions-meter*)\n (loop do (cleavir-ir:reinitialize-data initial-instruction)\n\t (let ((useless-instructions '()))\n\t (cleavir-ir:map-instructions-arbitrary-order\n\t\t(lambda (instruction)\n\t\t (cleavir-meter:increment-size m)\n\t\t (when (instruction-may-be-removed-p instruction)\n\t\t (push instruction useless-instructions)))\n\t\tinitial-instruction)\n\t (when (null useless-instructions)\n\t\t (loop-finish))\n\t (mapc #'cleavir-ir:delete-instruction useless-instructions)))))\n","subject":"Remove method specialized to SET-SYMBOL-VALUE-INSTRUCTION.","message":"Remove method specialized to SET-SYMBOL-VALUE-INSTRUCTION.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"c522ab376cdc63c679c83b727db305dfce271e3c","old_file":"src\/hooks\/switching.lsp","new_file":"src\/hooks\/switching.lsp","old_contents":" ;; Pegexel is a little exercises generator, using common-lisp.\n ;; Copyright (C) 2012 Yves Combe \n\n ;; This program is free software: you can redistribute it and\/or modify\n ;; it under the terms of the GNU Affero General Public License as published by\n ;; the Free Software Foundation, either version 3 of the License, or\n ;; (at your option) any later version.\n\n ;; This program is distributed in the hope that it will be useful,\n ;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n ;; GNU Affero General Public License for more details.\n\n ;; You should have received a copy of the GNU Affero General Public License\n ;; along with this program. If not, see .\n\n;; if hooks\n(defun §-Y (test if-non-nil if-nil)\n (funcall *generate* (if (eval test) if-non-nil if-nil)))\n\n;; switch case number hooks (warning: index from 1 to n).\n(defun §-F (index &rest cases)\n (let* ((index-1 (1- (eval index)))\n\t (real (max 0 (min (1- (length cases)) index-1))))\n (funcall *generate* (elt cases real))))\n","new_contents":" ;; Pegexel is a little exercises generator, using common-lisp.\n ;; Copyright (C) 2012 Yves Combe \n\n ;; This program is free software: you can redistribute it and\/or modify\n ;; it under the terms of the GNU Affero General Public License as published by\n ;; the Free Software Foundation, either version 3 of the License, or\n ;; (at your option) any later version.\n\n ;; This program is distributed in the hope that it will be useful,\n ;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n ;; GNU Affero General Public License for more details.\n\n ;; You should have received a copy of the GNU Affero General Public License\n ;; along with this program. If not, see .\n\n;; if hooks\n(defun §-Y (test if-non-nil if-nil)\n (funcall *generate* (if (eval test) if-non-nil if-nil)))\n\n;; switch case number hooks (warning: index from 0 to n-1).\n(defun §-F (index &rest cases)\n (let* ((e-index (eval index))\n\t (real (max 0 (min (1- (length cases)) e-index))))\n (funcall *generate* (elt cases real))))\n","subject":"Change §-F (switch case) to follow 0 to n-1 index convention.","message":"Change §-F (switch case) to follow 0 to n-1 index convention.\n","lang":"Common Lisp","license":"agpl-3.0","repos":"GitoriousLispBackup\/pegexel"} {"commit":"41eccc52d038875e777c923e9ca57457db52fbb3","old_file":"unicode.asd","new_file":"unicode.asd","old_contents":"(defsystem #:unicode\n :name \"unicode\"\n :licence \"TODO\"\n :author \"Thomas Bakketun \"\n :description \"Unicode support for Common Lisp.\"\n :depends-on ()\n :serial t\n :components ((:file \"package\")\n (:file \"features\")\n (:file \"unicode-text\")\n (:file \"syntax\")\n (:file \"test-syntax\")))\n","new_contents":"(asdf:defsystem #:unicode\n :name \"unicode\"\n :licence \"TODO\"\n :author \"Thomas Bakketun \"\n :description \"Unicode support for Common Lisp.\"\n :depends-on ()\n :serial t\n :components ((:file \"package\")\n (:file \"features\")\n (:file \"unicode-text\")\n (:file \"syntax\")\n (:file \"test-syntax\")))\n","subject":"Use asdf:defsystem instead of just defsystem.","message":"Use asdf:defsystem instead of just defsystem.\n","lang":"Common Lisp","license":"mit","repos":"bakketun\/unicode-for-common-lisp"} {"commit":"be43d25c78a91c88a89555629c3eea3fe72a16a8","old_file":"s3.lisp","new_file":"s3.lisp","old_contents":";;;; s3.lisp\n\n(in-package #:quicklisp-client-uploader)\n\n(defun s3-components (url)\n (setf url (url url))\n (values (hostname url)\n (string-left-trim \"\/\" (path url))))\n\n(defun s3-object-exists (bucket key)\n (let ((http-status (nth-value 1 (zs3:head :bucket bucket :key key))))\n (<= 200 http-status 299)))\n\n(defun put-to-s3-url (file url &key (if-exists :error)\n (content-type \"binary\/octet-stream\")\n content-disposition)\n (multiple-value-bind (bucket key)\n (s3-components url)\n (flet ((upload ()\n (zs3:put-file file bucket key\n :public t\n :content-type content-type\n :content-disposition content-disposition)\n t))\n (ecase if-exists\n ((:overwrite)\n (upload))\n ((nil :error)\n (let ((exists (s3-object-exists bucket key)))\n (cond (exists\n (case if-exists\n (:error (error \"Object already exists at ~A\" url))\n ((nil) nil)))\n (t\n (upload)))))))))\n","new_contents":";;;; s3.lisp\n\n(in-package #:quicklisp-client-uploader)\n\n(defun s3-components (url)\n (setf url (url url))\n (values (hostname url)\n (string-left-trim \"\/\" (path url))))\n\n(defun s3-object-exists (bucket key)\n (let ((http-status (nth-value 1 (zs3:head :bucket bucket :key key))))\n (<= 200 http-status 299)))\n\n(defun put-to-s3-url (file url &key (if-exists :error)\n (content-type \"binary\/octet-stream\")\n content-disposition)\n (multiple-value-bind (bucket key)\n (s3-components url)\n (flet ((upload ()\n (zs3:put-file file bucket key\n :public t\n :content-type content-type\n :content-disposition content-disposition)\n t))\n (ecase if-exists\n ((:overwrite)\n (upload))\n ((nil :error)\n (let ((exists (s3-object-exists bucket key)))\n (cond (exists\n (case if-exists\n (:error\n (restart-case\n (error \"Object already exists at ~A\" url)\n (overwrite ()\n :report \"Overwrite it\"\n (upload))))\n ((nil) nil)))\n (t\n (upload)))))))))\n","subject":"Add an OVERWRITE restart in PUT-TO-S3-URL.","message":"Add an OVERWRITE restart in PUT-TO-S3-URL.\n","lang":"Common Lisp","license":"mit","repos":"quicklisp\/quicklisp-client-uploader"} {"commit":"141cb60be87391b1ec039bb2f24f3060a00b8f32","old_file":"Code\/Backends\/Extrinsic-HIR-compiler\/load-files.lisp","new_file":"Code\/Backends\/Extrinsic-HIR-compiler\/load-files.lisp","old_contents":"(cl:in-package #:sicl-extrinsic-hir-compiler)\n\n(defun rp (filename)\n (asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))\n\n(load (rp \"..\/..\/Evaluation-and-compilation\/lambda.lisp\"))\n(load (rp \"..\/..\/Environment\/multiple-value-bind.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/setf.lisp\"))\n(load (rp \"..\/..\/Environment\/defun.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/fboundp.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/fdefinition.lisp\"))\n","new_contents":"(cl:in-package #:sicl-extrinsic-hir-compiler)\n\n(defun rp (filename)\n (asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))\n\n(load (rp \"..\/..\/Evaluation-and-compilation\/lambda.lisp\"))\n(load (rp \"..\/..\/Environment\/multiple-value-bind.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/setf.lisp\"))\n(load (rp \"..\/..\/Environment\/defun.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/fboundp.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/fdefinition.lisp\"))\n(load (rp \"..\/..\/Data-and-control-flow\/setf-fdefinition.lisp\"))\n","subject":"Load the definition of (SETF CL:FDEFINITION).","message":"Load the definition of (SETF CL:FDEFINITION).\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"c0c957454567fd04b4c2044c2067cdb48a0f3dd5","old_file":"birch.asd","new_file":"birch.asd","old_contents":"(asdf:defsystem #:birch\n :serial t\n :description \"A simple Common Lisp IRC client library\"\n :author \"Joram Schrijver \"\n :license \"LLGPL\"\n :depends-on (#:split-sequence #:usocket #:flexi-streams)\n :components ((:file \"package\")\n\t (:file \"replies\")\n\t (:file \"parse\")\n\t (:file \"ctcp\")\n\t (:file \"connection\")\n\t (:file \"commands\")\n\t (:file \"events\")\n\t (:file \"birch\")))\n\n","new_contents":"(asdf:defsystem #:birch\n :serial t\n :description \"A simple Common Lisp IRC client library\"\n :author \"Joram Schrijver \"\n :license \"MIT\"\n :depends-on (#:split-sequence #:usocket #:flexi-streams)\n :components ((:file \"package\")\n\t (:file \"replies\")\n\t (:file \"parse\")\n\t (:file \"ctcp\")\n\t (:file \"connection\")\n\t (:file \"commands\")\n\t (:file \"events\")\n\t (:file \"birch\")))\n\n","subject":"Fix license in system definition","message":"Fix license in system definition\n","lang":"Common Lisp","license":"mit","repos":"jorams\/birch,cromachina\/birch"} {"commit":"2e38230e141652cc6768010a314a5f80cdb92ec3","old_file":"Code\/Compiler\/Extrinsic-environment\/symbol-value.lisp","new_file":"Code\/Compiler\/Extrinsic-environment\/symbol-value.lisp","old_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun find-variable-entry (symbol env)\n (loop for entry in (dynamic-environment env)\n\tdo (when (and (typep entry 'variable-binding)\n\t\t (eq (symbol entry) symbol))\n\t (return entry))))\n\n(defun symbol-value (symbol env)\n (let ((entry (find-variable-entry symbol env))\n\t(unbound-value (sicl-global-environment:variable-unbound symbol env))\n\t(global-value-cell (sicl-global-environment:variable-cell symbol env)))\n (if (null entry)\n\t(if (eq (car global-value-cell) unbound-value)\n\t (error \"unbound variable ~s\" symbol)\n\t (car global-value-cell))\n\t(if (eq (value entry) unbound-value)\n\t (error \"unbound variable ~s\" symbol)\n\t (value entry)))))\n\n(defun (setf symbol-value) (new-value symbol env)\n (let ((entry (find-variable-entry symbol env))\n\t(global-value-cell (sicl-global-environment:variable-cell symbol env)))\n (if (null entry)\n\t(setf (car global-value-cell) new-value)\n\t(setf (value entry) new-value))))\n","new_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun find-variable-entry (symbol dynamic-environment)\n (loop for entry in dynamic-environment\n\tdo (when (and (typep entry 'variable-binding)\n\t\t (eq (symbol entry) symbol))\n\t (return entry))))\n\n(defun symbol-value (symbol env)\n (let* ((dynamic-environment *dynamic-environment*)\n\t (entry (find-variable-entry symbol dynamic-environment))\n\t (unbound-value (sicl-global-environment:variable-unbound symbol env))\n\t (global-value-cell (sicl-global-environment:variable-cell symbol env)))\n (if (null entry)\n\t(if (eq (car global-value-cell) unbound-value)\n\t (error \"unbound variable ~s\" symbol)\n\t (car global-value-cell))\n\t(if (eq (value entry) unbound-value)\n\t (error \"unbound variable ~s\" symbol)\n\t (value entry)))))\n\n(defun (setf symbol-value) (new-value symbol env)\n (let* ((dynamic-environment *dynamic-environment*)\n\t (entry (find-variable-entry symbol dynamic-environment))\n\t (global-value-cell (sicl-global-environment:variable-cell symbol env)))\n (if (null entry)\n\t(setf (car global-value-cell) new-value)\n\t(setf (value entry) new-value))))\n","subject":"Modify according to new way of transmitting the dynamic environment.","message":"Modify according to new way of transmitting the dynamic environment.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"6a3b5bdc446a4c9b2a61ac81eae6d269a0bc9126","old_file":"makefiles\/common-lisp.lisp","new_file":"makefiles\/common-lisp.lisp","old_contents":"; tré – Copyright (c) 2014 Sven Michael Klose \n\n(defun cl-packages ()\n `((defpackage :tre-core\n (:export :nil :t :setq :labels\n ,@(make-keywords (+ (carlist +cl-renamed-imports+)\n *cl-builtins*))))\n (defpackage :tre\n (:use :tre-core))))\n\n(defun cl-symbol (x)\n (make-symbol (symbol-name x) \"COMMON-LISP\"))\n\n(defun cl-wrapper (x)\n (format nil \"(cl:defun ~A (cl:&rest x) (cl:apply #'cl:~A x))~%\"\n (symbol-name x.) (symbol-name .x.)))\n\n(defun cl-wrappers ()\n (filter #'cl-wrapper\n (+ (filter [list _ _] +cl-direct-imports+)\n +cl-renamed-imports+)))\n\n(alet (copy-transpiler *cl-transpiler*)\n (= (transpiler-save-sources? !) nil)\n (with-output-file o \"tre.lisp\"\n (filter [late-print _ o]\n (let c (compile-sections (list (. 'core *cl-base*))\n :transpiler !)\n (+ (cl-packages)\n '((in-package :tre-core))\n c)))\n (adolist ((cl-wrappers))\n (princ ! o))))\n\n(quit)\n","new_contents":"; tré – Copyright (c) 2014 Sven Michael Klose \n\n(defun cl-packages ()\n `((defpackage :tre-core\n (:export :nil :t :setq :labels\n ,@(make-keywords (+ +cl-direct-imports+\n (carlist +cl-renamed-imports+)\n *cl-builtins*))))\n (defpackage :tre\n (:use :tre-core))))\n\n(defun cl-symbol (x)\n (make-symbol (symbol-name x) \"COMMON-LISP\"))\n\n(defun cl-wrapper (x)\n (format nil \"(cl:defun ~A (cl:&rest x) (cl:apply #'cl:~A x))~%\"\n (symbol-name x.) (symbol-name .x.)))\n\n(defun cl-wrappers ()\n (filter #'cl-wrapper\n (+ (filter [list _ _] +cl-direct-imports+)\n +cl-renamed-imports+)))\n\n(alet (copy-transpiler *cl-transpiler*)\n (= (transpiler-save-sources? !) nil)\n (with-output-file o \"tre.lisp\"\n (filter [late-print _ o]\n (let c (compile-sections (list (. 'core *cl-base*))\n :transpiler !)\n (+ (cl-packages)\n '((in-package :tre-core))\n (make-lambdas c))))\n (adolist ((cl-wrappers))\n (princ ! o))))\n\n(quit)\n","subject":"Convert lambda expressions. Fix DEFPACKAGE.","message":"Convert lambda expressions. Fix DEFPACKAGE.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"c836980226991f72f7cf3f9e522f0859b34a5416","old_file":"src\/main\/cltl\/condition-utils.lisp","new_file":"src\/main\/cltl\/condition-utils.lisp","old_contents":"\n\n(in-package #:utils)\n\n(define-condition simple-style-warning (style-warning simple-condition)\n ())\n\n(defmacro simple-style-warning (fmt-ctrl &rest args)\n `(warn 'simple-style-warning \n\t :format-control ,fmt-ctrl\n\t :format-arguments (list ,@args)))\n\n\n(define-condition simple-program-error (program-error simple-condition)\n ())\n\n(defmacro simple-program-error (fmt-ctrl &rest args)\n `(error 'simple-program-error\n\t :format-control ,fmt-ctrl\n\t :format-arguments (list ,@args)))\n\n\n(defgeneric format-condition (condition stream)\n (:method ((condition simple-condition) (stream stream))\n (format stream (simple-condition-format-control condition)\n (simple-condition-format-arguments condition))))\n","new_contents":"\n\n(in-package #:utils)\n\n(define-condition simple-style-warning (style-warning simple-condition)\n ())\n\n(defmacro simple-style-warning (fmt-ctrl &rest args)\n `(warn 'simple-style-warning \n\t :format-control ,fmt-ctrl\n\t :format-arguments (list ,@args)))\n\n\n(define-condition simple-program-error (program-error simple-condition)\n ())\n\n(defmacro simple-program-error (fmt-ctrl &rest args)\n `(error 'simple-program-error\n\t :format-control ,fmt-ctrl\n\t :format-arguments (list ,@args)))\n\n\n(defgeneric format-condition (condition stream)\n (:method ((condition condition) (stream symbol))\n (format-condition condition\n (ecase stream\n ((t) *terminal-io*)\n ((nil) *standard-output*))))\n (:method ((condition simple-condition) (stream stream))\n (format stream (simple-condition-format-control condition)\n (simple-condition-format-arguments condition))))\n","subject":"Define method CONDITION SYMBOL such as to interpret SYMBOL as an output stream designator","message":"FORMAT-CONDITION: Define method CONDITION SYMBOL such as to interpret SYMBOL as an output stream designator\n","lang":"Common Lisp","license":"epl-1.0","repos":"MetaCommunity\/mci-cltl-utils"} {"commit":"0e8cb3d8bc73bb8387ddff20e1f83c65e99c2e59","old_file":"net.sockets\/wrappers.lisp","new_file":"net.sockets\/wrappers.lisp","old_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Wrappers for socket-related C macros.\n;;;\n\n(in-package :net.sockets)\n\n(c \"#if defined(__linux__)\")\n(define \"_XOPEN_SOURCE\" 600)\n(define \"_LARGEFILE_SOURCE\")\n(define \"_LARGEFILE64_SOURCE\")\n(define \"_FILE_OFFSET_BITS\" 64)\n(c \"#endif\")\n\n(include \"sys\/socket.h\")\n\n(defwrapper* (\"cmsg_space\" %cmsg-space) :unsigned-int\n ((data-size :unsigned-int))\n \"return CMSG_SPACE(data_size);\")\n\n(defwrapper* (\"cmsg_len\" %cmsg-len) :unsigned-int\n ((data-size :unsigned-int))\n \"return CMSG_LEN(data_size);\")\n\n(defwrapper* (\"cmsg_firsthdr\" %cmsg-firsthdr) :pointer\n ((msg (\"struct msghdr*\" :pointer)))\n \"return CMSG_FIRSTHDR(msg);\")\n\n(defwrapper* (\"cmsg_data\" %cmsg-data) :pointer\n ((cmsg (\"struct cmsghdr*\" :pointer)))\n \"return CMSG_DATA(cmsg);\")\n","new_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Wrappers for socket-related C macros.\n;;;\n\n(in-package :net.sockets)\n\n(c \"#if defined(__linux__)\")\n(define \"_XOPEN_SOURCE\" 600)\n(define \"_LARGEFILE_SOURCE\")\n(define \"_LARGEFILE64_SOURCE\")\n(define \"_FILE_OFFSET_BITS\" 64)\n(c \"#endif\")\n\n(include \"stdlib.h\") ; needed on FreeBSD to define NULL\n(include \"sys\/socket.h\")\n\n(defwrapper* (\"cmsg_space\" %cmsg-space) :unsigned-int\n ((data-size :unsigned-int))\n \"return CMSG_SPACE(data_size);\")\n\n(defwrapper* (\"cmsg_len\" %cmsg-len) :unsigned-int\n ((data-size :unsigned-int))\n \"return CMSG_LEN(data_size);\")\n\n(defwrapper* (\"cmsg_firsthdr\" %cmsg-firsthdr) :pointer\n ((msg (\"struct msghdr*\" :pointer)))\n \"return CMSG_FIRSTHDR(msg);\")\n\n(defwrapper* (\"cmsg_data\" %cmsg-data) :pointer\n ((cmsg (\"struct cmsghdr*\" :pointer)))\n \"return CMSG_DATA(cmsg);\")\n","subject":"Add back (include \"stdlib.h\") to fix compilation on FreeBSD.","message":"Add back (include \"stdlib.h\") to fix compilation on FreeBSD.\n","lang":"Common Lisp","license":"mit","repos":"attila-lendvai\/iolib,lispnik\/iolib,attila-lendvai\/iolib,vsedach\/iolib-simple-mux,lispnik\/iolib,sionescu\/iolib,shamazmazum\/iolib,tiago4orion\/iolib,dkochmanski\/iolib,tiago4orion\/iolib,tiago4orion\/iolib,sionescu\/iolib,lispnik\/iolib,dkochmanski\/iolib,deadtrickster\/iolib,sionescu\/iolib,deadtrickster\/iolib,deadtrickster\/iolib,shamazmazum\/iolib,shamazmazum\/iolib,attila-lendvai\/iolib,vsedach\/iolib-simple-mux,dkochmanski\/iolib"} {"commit":"993c7564baee7dd0da0501488dfde86226a809c8","old_file":"lib\/prelude.lisp","new_file":"lib\/prelude.lisp","old_contents":"(import base (defun defmacro progn for while if when unless and or\n get-idx set-idx! format print! pretty error! empty-struct gensym\n == ~= < <= > >= + - * % ^ .. !))\n\n(import binders ())\n(import list ())\n(import types ())\n(import partial ())\n(import table ())\n\n(defun fail (msg) (error! msg 0))\n\n(defun between? (val min max) (and (>= val min) (<= val max)))\n\n(defun symbol->string (x) (if (symbol? x) (get-idx x \"contents\") nil))\n(defun bool->string (x) (if x \"true\" \"false\"))\n\n(define-native number->string)\n\n;; TODO: Fix up the resolver\n(defun \/= (x y) (~= x y))\n(defun = (x y) (== x y))\n\n(defmacro case (x &cases)\n (let* ((name (gensym))\n (transform-case (lambda (case)\n (if (list? case)\n `((,@(car case) ,name) ,@(cdr case))\n `(true)))))\n `((lambda (,name) (cond ,@(map transform-case cases))) ,x)))\n\n(defun succ (x) (+ 1 x))\n(defun pred (x) (- x 1))\n\n(defmacro inc! (x) `(set! ,x (+ ,x 1)))\n(defmacro dec! (x) `(set! ,x (- ,x 1)))\n","new_contents":"(import base (defun defmacro progn for while if when unless and or\n get-idx set-idx! format print! pretty error! empty-struct gensym\n == ~= < <= > >= + - * % ^ .. !))\n\n(import binders ())\n(import list ())\n(import types ())\n(import partial ())\n(import table ())\n\n(defun fail (msg) (error! msg 0))\n\n(defun between? (val min max) (and (>= val min) (<= val max)))\n\n(defun symbol->string (x) (if (symbol? x) (get-idx x \"contents\") nil))\n(defun bool->string (x) (if x \"true\" \"false\"))\n\n(define-native number->string)\n\n(defun \/= (x y) (~= x y))\n(defun = (x y) (== x y))\n\n(defmacro case (x &cases)\n (let* ((name (gensym))\n (transform-case (lambda (case)\n (if (list? case)\n (if (list? (car case))\n `((,@(car case) ,name) ,@(cdr case))\n `(,(car case) ,@(cdr case)))\n `(true)))))\n `((lambda (,name) (cond ,@(map transform-case cases))) ,x)))\n\n(defun succ (x) (+ 1 x))\n(defun pred (x) (- x 1))\n\n(defmacro inc! (x) `(set! ,x (+ ,x 1)))\n(defmacro dec! (x) `(set! ,x (- ,x 1)))\n","subject":"Add support for constant tests in `(case)`","message":"Add support for constant tests in `(case)`\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"SquidDev\/urn,SquidDev\/urn"} {"commit":"a463309a57197bedf8baf9f032e07ae65243956a","old_file":"Code\/Data-and-control-flow\/sicl-data-and-control-flow.asd","new_file":"Code\/Data-and-control-flow\/sicl-data-and-control-flow.asd","old_contents":"(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :sicl-data-and-control-flow\n :depends-on (:sicl-environment\n\t :cleavir-internationalization)\n :serial t\n :components\n ((:file \"packages\")\n (:file \"conditions\")\n (:file \"condition-reporters-english\")))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-data-and-control-flow\n :depends-on (:sicl-environment\n\t :cleavir-internationalization)\n :serial t\n :components\n ((:file \"packages\")\n (:file \"conditions\")\n (:file \"condition-reporters-english\")))\n","subject":"Define ASDF system in the package ASDF-USER.","message":"Define ASDF system in the package ASDF-USER.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"128991123072e517f0cc4d1ad9f85851a5125e54","old_file":"cl-stripe.asd","new_file":"cl-stripe.asd","old_contents":";;;; cl-stripe.asd\n\n(asdf:defsystem #:cl-stripe\n :serial t\n :depends-on (#:st-json\n #:drakma\n #:alexandria)\n :components ((:file \"package\")\n (:file \"variables\")\n (:file \"sstruct\")\n (:file \"cl-stripe\")))\n\n","new_contents":";;;; cl-stripe.asd\n\n(asdf:defsystem #:cl-stripe\n :serial t\n :description \"An interface to the stripe.com API\"\n :depends-on (#:st-json\n #:drakma\n #:alexandria)\n :components ((:file \"package\")\n (:file \"variables\")\n (:file \"sstruct\")\n (:file \"cl-stripe\")))\n\n","subject":"Add a :description to the .asd file.","message":"Add a :description to the .asd file.","lang":"Common Lisp","license":"mit","repos":"antifuchs\/cl-stripe,antifuchs\/cl-stripe"} {"commit":"64ad21c7329e2eb2662870cb59e9a4ef86c4508a","old_file":"2-3-tree\/insertion.lisp","new_file":"2-3-tree\/insertion.lisp","old_contents":"(cl:in-package #:clump-2-3-tree)\n\n;;; This generic function can be used only on an empty tree.\n(defgeneric insert (object tree))\n\n(defmethod insert :before (object (tree tree))\n (unless (null (contents tree))\n (error \"Do this error message better.\")))\n\n(defmethod insert (object (tree tree))\n (setf (contents tree)\n\t(make-instance (leaf-class tree)\n\t :contents object\n\t :parent tree\n\t :tree tree)))\n\n;;; In NODE, split child node OLD-CHILD into two child nodes,\n;;; NEW-CHILD-1 and NEW-CHILD-2.\n(defgeneric split (node old-child new-child-1 new-child-2))\n\n;; In NODE, replace child OLD-CHILD with the node NEW-CHILD.\n(defgeneric replace (node old-child new-child))\n\n(defmethod replace ((node 2-node) old-child new-child)\n (if (eq old-child (left node))\n (setf (left node) new-child)\n (setf (right node) new-child)))\n","new_contents":"(cl:in-package #:clump-2-3-tree)\n\n;;; This generic function can be used only on an empty tree.\n(defgeneric insert (object tree))\n\n(defmethod insert :before (object (tree tree))\n (unless (null (contents tree))\n (error \"Do this error message better.\")))\n\n(defmethod insert (object (tree tree))\n (setf (contents tree)\n\t(make-instance (leaf-class tree)\n\t :contents object\n\t :parent tree\n\t :tree tree)))\n\n;;; In NODE, split child node OLD-CHILD into two child nodes,\n;;; NEW-CHILD-1 and NEW-CHILD-2.\n(defgeneric split (node old-child new-child-1 new-child-2))\n\n;; In NODE, replace child OLD-CHILD with the node NEW-CHILD.\n(defgeneric replace (node old-child new-child))\n\n(defmethod replace ((node 2-node) old-child new-child)\n (if (eq old-child (left node))\n (setf (left node) new-child)\n (setf (right node) new-child)))\n\n(defmethod replace ((node 3-node) old-child new-child)\n (if (eq old-child (left node))\n (setf (left node) new-child)\n (if (eq old-child (middle node))\n\t (setf (middle node) new-child)\n\t (setf (right node) new-child))))\n","subject":"Define method on REPLACE specialized to 3-NODE.","message":"Define method on REPLACE specialized to 3-NODE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"aa1ea794bfd893a30ae12d543c752f8255ca9f28","old_file":"src\/ucw-standard\/application-mixins\/cookie-session-application.lisp","new_file":"src\/ucw-standard\/application-mixins\/cookie-session-application.lisp","old_contents":";; See the file LICENCE for licence information.\n(in-package :ucw-standard)\n\n;;;; *** Cookie session\n\n(defvar +ucw-session-cookie-name+ \"ucw-session-id\"\n \"Name of the cookie used when storing the session id.\")\n\n(defclass cookie-session-application-mixin ()\n ()\n (:documentation \"Class for applications which use cookies for sesion tracking.\n\nCookie session applications work exactly like\nstandard-applications except that when the session is not found\nusing the standard mechanisms the id is looked for in a cookie.\"))\n\n(defmethod request-context-class list ((app cookie-session-application-mixin))\n 'cookie-session-request-context-mixin)\n\n(defclass cookie-session-request-context-mixin ()\n ())\n\n(defmethod (setf context.session) :after ((session basic-session)\n (context cookie-session-request-context-mixin))\n ;; TODO not sure if this is the best place. why not add unconditionally to be more bullet-proof?\n\n\n (add-cookie (make-cookie +ucw-session-cookie-name+\n\t\t\t (session.id session)\n\t\t\t :path (application.url-prefix\n\t\t\t\t (context.application context)))))\n\n(defmethod find-session-id :around ((context cookie-session-request-context-mixin))\n (or (call-next-method)\n (cookie-value +ucw-session-cookie-name+)))\n","new_contents":";; See the file LICENCE for licence information.\n(in-package :ucw-standard)\n\n;;;; *** Cookie session\n\n(defvar +ucw-session-cookie-name+ \"ucw-session-id\"\n \"Name of the cookie used when storing the session id.\")\n\n(defclass cookie-session-application-mixin ()\n ((ucw-session-cookie-name :accessor ucw-session-cookie-name :initarg :ucw-session-cookie-name :initform +ucw-session-cookie-name+))\n (:documentation \"Class for applications which use cookies for sesion tracking.\n\nCookie session applications work exactly like\nstandard-applications except that when the session is not found\nusing the standard mechanisms the id is looked for in a cookie.\"))\n\n(defmethod request-context-class list ((app cookie-session-application-mixin))\n 'cookie-session-request-context-mixin)\n\n(defclass cookie-session-request-context-mixin ()\n ())\n\n(defmethod (setf context.session) :after ((session basic-session)\n (context cookie-session-request-context-mixin))\n ;; TODO not sure if this is the best place. why not add unconditionally to be more bullet-proof?\n\n\n (add-cookie (make-cookie (ucw-session-cookie-name (context.application context))\n\t\t\t (session.id session)\n\t\t\t :path (application.url-prefix\n\t\t\t\t (context.application context)))))\n\n(defmethod find-session-id :around ((context cookie-session-request-context-mixin))\n (or (call-next-method)\n (cookie-value (ucw-session-cookie-name (context.application context)))))\n","subject":"Allow applications to specify the name of the session id cookie. This allows multiple cookie session UCW applications on a single hostname without stomping the sessions.","message":"Allow applications to specify the name of the session id cookie. This allows multiple cookie session UCW applications on a single hostname without stomping the sessions.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"erikg\/ucw-core"} {"commit":"eddfeacbf086a9cdaf6edc9973f92ec6dd04677c","old_file":"environment\/stage1\/setf-function-p.lisp","new_file":"environment\/stage1\/setf-function-p.lisp","old_contents":";;;;; tré – Copyright (C) 2005-2009,2011–2012 Sven Michael Klose \n\n(defun %=-function? (x)\n (function? (eval `(function ,x))))\n","new_contents":";;;;; tré – Copyright (C) 2005-2009,2011–2012 Sven Michael Klose \n\n(defun %=-function? (x)\n (function? (symbol-function x)))\n","subject":"Use SYMBOL-FUNCTION instead of EVAL.","message":"Use SYMBOL-FUNCTION instead of EVAL.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"f4b0b89a1f3610ac0bb835a984a659724d65dee3","old_file":"Code\/Boot\/Phase1\/fill.lisp","new_file":"Code\/Boot\/Phase1\/fill.lisp","old_contents":"(cl:in-package #:sicl-boot-phase1)\n\n(defun fill-environment (linkage-environment)\n (declare (ignore linkage-environment))\n nil)\n","new_contents":"(cl:in-package #:sicl-boot-phase1)\n\n(defun ld (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (finish-output *trace-output*)\n (sicl-extrinsic-environment:load-source-with-environments\n filename (compilation-environment environment) environment))\n\n(defun fill-environment (environment)\n (ld \"..\/..\/CLOS\/ensure-generic-function-using-class-defgenerics.lisp\"\n environment))\n","subject":"Define function LD for loading files.","message":"Define function LD for loading files.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"b1c42bcc80de875ab78db5ab29551348fcd19042","old_file":"Code\/Boot\/Phase1\/fill.lisp","new_file":"Code\/Boot\/Phase1\/fill.lisp","old_contents":"(cl:in-package #:sicl-boot-phase1)\n\n(defun ld (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (finish-output *trace-output*)\n (sicl-extrinsic-environment:load-source-with-environments\n filename (compilation-environment environment) environment))\n\n(defun fill-environment (environment)\n (sicl-genv:fmakunbound 'sicl-clos:ensure-generic-function-using-class\n\t\t\t environment)\n (ld \"..\/..\/CLOS\/ensure-generic-function-using-class-defgenerics.lisp\"\n environment))\n","new_contents":"(cl:in-package #:sicl-boot-phase1)\n\n(defun ld (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (finish-output *trace-output*)\n (sicl-extrinsic-environment:load-source-with-environments\n filename (compilation-environment environment) environment))\n\n(defun fill-environment (environment)\n (sicl-genv:fmakunbound 'sicl-clos:ensure-generic-function-using-class\n\t\t\t environment)\n (ld \"..\/..\/CLOS\/ensure-generic-function-using-class-defgenerics.lisp\"\n environment)\n (ld \"..\/..\/CLOS\/ensure-generic-function-using-class-defmethods.lisp\"\n environment))\n","subject":"Load file containing definitions of methods on ENSURE-GENERIC-FUNCTION-USING-CLASS.","message":"Load file containing definitions of methods on ENSURE-GENERIC-FUNCTION-USING-CLASS.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"36e72225e45a9e8d5f4c79693e68cf086f8390a1","old_file":"Binary-tree\/binary-tree.lisp","new_file":"Binary-tree\/binary-tree.lisp","old_contents":"(cl:in-package #:clump-binary-tree)\n\n(defgeneric left (node))\n(defgeneric right (node))\n(defgeneric (setf left) (new-left node))\n(defgeneric (setf right) (new-right node))\n\n(defclass node ()\n ((%left :initarg :left :initform nil :accessor left)\n (%right :initarg :right :initform nil :accessor right)))\n\n(defgeneric node-p (tree)\n (:method (tree) nil)\n (:method ((tree node)) t))\n\n(defmethod initialize-instance :before ((object node) &key left right)\n (unless (or (null left) (node-p left))\n (error 'invalid-binary-tree :tree left))\n (unless (or (null right) (node-p right))\n (error 'invalid-binary-tree :tree right)))\n\n(defclass simple-node (node)\n ())\n\n(defclass node-with-parent (node)\n ((%parent :initarg :parent :initform nil :accessor parent)))\n","new_contents":"(cl:in-package #:clump-binary-tree)\n\n(defgeneric left (node))\n(defgeneric right (node))\n(defgeneric (setf left) (new-left node))\n(defgeneric (setf right) (new-right node))\n\n(defclass node ()\n ((%left :initarg :left :initform nil :accessor left)\n (%right :initarg :right :initform nil :accessor right)))\n\n(defgeneric node-p (tree)\n (:method (tree) nil)\n (:method ((tree node)) t))\n\n(defmethod initialize-instance :before ((object node) &key left right)\n (unless (or (null left) (node-p left))\n (error 'invalid-binary-tree :tree left))\n (unless (or (null right) (node-p right))\n (error 'invalid-binary-tree :tree right)))\n\n(defclass simple-node (node)\n ())\n\n(defclass node-with-parent (node)\n ((%parent :initarg :parent :initform nil :accessor parent)))\n\n(defmethod (setf left) :after\n ((new-left node-with-parent) (node node-with-parent))\n (setf (parent new-left) node))\n","subject":"Add an :AFTER method on (SETF LEFT) specialized to NODE-WITH-PARENT.","message":"Add an :AFTER method on (SETF LEFT) specialized to NODE-WITH-PARENT.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"ca1028676140df50bb85051b9c6b77279e74aca8","old_file":"Apps\/Inspector\/clouseau.asd","new_file":"Apps\/Inspector\/clouseau.asd","old_contents":";;; -*- Mode: Lisp; Package: INSPECTOR -*-\n\n;;; (c) copyright 2005 by\n;;; Robert Strandh (strandh@labri.fr)\n\n;;; This library is free software; you can redistribute it and\/or\n;;; modify it under the terms of the GNU Library General Public\n;;; License as published by the Free Software Foundation; either\n;;; version 2 of the License, or (at your option) any later version.\n;;;\n;;; This library is distributed in the hope that it will be useful,\n;;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n;;; Library General Public License for more details.\n;;;\n;;; You should have received a copy of the GNU Library General Public\n;;; License along with this library; if not, write to the\n;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n;;; Boston, MA 02111-1307 USA.\n\n;;; CLIM inspector application\n\n(asdf:defsystem clouseau\n :depends-on (:mcclim)\n :serial t\n :components\n ((:file \"package\")\n (:file \"disassembly\")\n (:file \"inspector\")))\n","new_contents":";;; -*- Mode: Lisp; Package: INSPECTOR -*-\n\n;;; (c) copyright 2005 by\n;;; Robert Strandh (strandh@labri.fr)\n\n;;; This library is free software; you can redistribute it and\/or\n;;; modify it under the terms of the GNU Library General Public\n;;; License as published by the Free Software Foundation; either\n;;; version 2 of the License, or (at your option) any later version.\n;;;\n;;; This library is distributed in the hope that it will be useful,\n;;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n;;; Library General Public License for more details.\n;;;\n;;; You should have received a copy of the GNU Library General Public\n;;; License along with this library; if not, write to the\n;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n;;; Boston, MA 02111-1307 USA.\n\n;;; CLIM inspector application\n\n(asdf:defsystem clouseau\n :depends-on (:mcclim)\n :serial t\n :components\n ((:file \"package\")\n (:file \"disassembly\" :depends-on (\"package\"))\n (:file \"inspector\" :depends-on (\"disassembly\"))))\n","subject":"Make Clouseau's system definition inter-file dependencies explicit, just for good measure.","message":"Make Clouseau's system definition inter-file dependencies explicit,\njust for good measure.\n","lang":"Common Lisp","license":"lgpl-2.1","repos":"informatimago\/mcclim,quek\/mcclim,informatimago\/mcclim,quek\/mcclim"} {"commit":"dbaec788ad90d57339bb605a2562cc6332288b52","old_file":"site\/util.lisp","new_file":"site\/util.lisp","old_contents":"(in-package #:roo-site)\n\n(defvar *day-names*\n '(\"Maandag\" \"Dinsdag\" \"Woensdag\" \"Donderdag\" \"Vrijdag\" \"Zaterdag\" \"Zondag\"))\n\n(defgeneric name-of-day (date))\n\n(defmethod name-of-day ((date local-time:timestamp))\n (nth (local-time:timestamp-day-of-week date)\n *day-names*))\n\n(defmethod name-of-day (date)\n (name-of-day (roo-parser:datestring->timestamp date)))\n\n(defgeneric pretty-date-string (date))\n\n(defmethod pretty-date-string ((date local-time:timestamp))\n (local-time:format-timestring NIL date\n :format '(:year \"-\" :month \"-\" :day)))\n\n(defmethod pretty-date-string ((date roo-parser:appointment))\n (pretty-date-string (roo-parser:date date)))\n\n(defmethod pretty-date-string (date)\n (pretty-date-string (roo-parser:datestring->timestamp date)))\n","new_contents":"(in-package #:roo-site)\n\n(defvar *day-names*\n '(\"Maandag\" \"Dinsdag\" \"Woensdag\" \"Donderdag\" \"Vrijdag\" \"Zaterdag\" \"Zondag\"))\n\n(defgeneric name-of-day (date))\n\n(defmethod name-of-day ((date local-time:timestamp))\n (nth (1- (local-time:timestamp-day-of-week date))\n *day-names*))\n\n(defmethod name-of-day (date)\n (name-of-day (roo-parser:datestring->timestamp date)))\n\n(defgeneric pretty-date-string (date))\n\n(defmethod pretty-date-string ((date local-time:timestamp))\n (local-time:format-timestring NIL date\n :format '(:year \"-\" :month \"-\" :day)))\n\n(defmethod pretty-date-string ((date roo-parser:appointment))\n (pretty-date-string (roo-parser:date date)))\n\n(defmethod pretty-date-string (date)\n (pretty-date-string (roo-parser:datestring->timestamp date)))\n","subject":"Fix names of days, broken because of timezone change","message":"Fix names of days, broken because of timezone change\n","lang":"Common Lisp","license":"mit","repos":"jorams\/roo"} {"commit":"900b2c7235e3443958ac992add58cab76827b06b","old_file":"environment\/stage2\/with.lisp","new_file":"environment\/stage2\/with.lisp","old_contents":";;;;; TRE environment\n;;;;; Copyright (c) 2005-2011 Sven Klose \n\n(defun copy-while (pred x)\n (when (and x (funcall pred (car x)))\n\t(cons (car x)\n\t\t (copy-while pred (cdr x)))))\n\n(define-test \"COPY-WHILE\"\n ((copy-while #'number? '(1 2 3 a)))\n '(1 2 3))\n\n(defun collect (pred x)\n (values (copy-while pred x)\n\t\t (remove-if pred x)))\n\n(defmacro with (alst &rest body)\n (unless body\n\t(error \"body expected\"))\n ; Make new WITH for rest of assignment list.\n (labels ((sub (x)\n (? (cddr x)\n `((with ,(cddr x)\n\t\t\t\t\t,@body))\n body)))\n\n\t; Get first pair.\n (let* ((plc (car alst))\n (val (cadr alst)))\n (?\n\t ; MULTIPLE-VALUE-BIND if place is a cons.\n\t (cons? plc)\n `(multiple-value-bind ,plc ,val\n\t\t ,@(sub alst))\n\n\t ; Place function is set of value is a function.\n\t\t(lambda? val)\n\t\t (multiple-value-bind (funs followers) (collect (fn lambda? (cadr _)) (group alst 2))\n\t\t `(labels ,(mapcar (fn `(,(car _) ,@(past-lambda (cadr _)))) funs)\n\t\t\t ,@(sub (apply #'append followers))))\n\n\t\t; Value assignment to variable.\n `(let ,plc ,val\n\t\t ,@(sub alst))))))\n\n; XXX tests missing\n","new_contents":";;;;; tré - Copyright (c) 2005-2011 Sven Klose \n\n(defun copy-while (pred x)\n (when (and x (funcall pred (car x)))\n\t(cons (car x)\n\t\t (copy-while pred (cdr x)))))\n\n(define-test \"COPY-WHILE\"\n ((copy-while #'number? '(1 2 3 a)))\n '(1 2 3))\n\n(defun separate (pred x)\n (values (copy-while pred x)\n\t\t (remove-if pred x)))\n\n(defmacro with (alst &rest body)\n (unless body\n\t(error \"body expected\"))\n (labels ((sub (x)\n (? x\n `((with ,x\n\t\t\t\t\t,@body))\n body)))\n (let* ((plc (car alst))\n (val (cadr alst)))\n (?\n\t (cons? plc) `(multiple-value-bind ,plc ,val\n\t\t ,@(sub (cddr alst)))\n\n\t ; Accumulate this and all following functions into a LABEL,\n ; so they can call each other.\n\t\t(lambda? val) (multiple-value-bind (funs others) (separate (fn lambda? (cadr _)) (group alst 2))\n\t\t `(labels ,(mapcar (fn `(,(car _) ,@(past-lambda (cadr _)))) funs)\n\t\t\t ,@(sub (apply #'append others))))\n\n `(let ,plc ,val\n\t\t ,@(sub (cddr alst)))))))\n\n; XXX tests missing\n","subject":"Fix horrible bug that skipped the first assignment after accumulating functions.","message":"Fix horrible bug that skipped the first assignment after accumulating functions.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"2993ffd71970c57f1040eeee33ae23b3de577a24","old_file":"Code\/Cleavir\/HIR-transformations\/hir-transformations.lisp","new_file":"Code\/Cleavir\/HIR-transformations\/hir-transformations.lisp","old_contents":"(cl:in-package #:cleavir-hir-transformations)\n\n(defun hir-transformations (initial-instruction implementation processor os)\n (type-inference initial-instruction)\n (eliminate-typeq initial-instruction)\n (introduce-immediates initial-instruction implementation processor os)\n (segregate-lexicals initial-instruction))\n","new_contents":"(cl:in-package #:cleavir-hir-transformations)\n\n(defun hir-transformations (initial-instruction implementation processor os)\n (type-inference initial-instruction)\n (eliminate-typeq initial-instruction)\n (introduce-immediates initial-instruction implementation processor os)\n (process-captured-variables initial-instruction))\n","subject":"Replace segregation only by complete processing of captured variables.","message":"Replace segregation only by complete processing of captured variables.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"1102f824ec9f126968878e2f473bbd07bc815210","old_file":"core\/laap.lisp","new_file":"core\/laap.lisp","old_contents":"(in-package #:laap)\n\n(defvar *thread-pool* nil)\n(defvar *loop* nil)\n\n(defmacro with-event-loop (&body body)\n `(let* ((*thread-pool* (make-instance 'thread-pool))\n\t (*loop* (make-instance 'event-loop))\n\t (bt:*default-special-bindings* `((*thread-pool* . ,*thread-pool*)\n\t\t\t\t\t (*loop* . ,*loop*))))\n (add-reporter (lambda (err)\n\t\t (format t \"A thread died with error: ~a~%\" err)))\n (unwind-protect\n\t (progn ,@body)\n (let ((thread-pool-thread (start-thread-pool)))\n\t (start-event-loops)\n\t (bt:join-thread thread-pool-thread)\n\t (maphash (lambda (thread props)\n\t\t (declare (ignore props))\n\t\t (bt:join-thread thread))\n\t\t (threads *thread-pool*))))))\n\n(defun noop (err res)\n (declare (ignore err res)))\n","new_contents":"(in-package #:laap)\n\n(defvar *thread-pool* nil)\n(defvar *loop* nil)\n\n(defmacro with-event-loop (&body body)\n (let ((err (gensym))\n\t(res (gensym)))\n `(let* ((*thread-pool* (make-instance 'thread-pool))\n\t (*loop* (make-instance 'event-loop))\n\t (bt:*default-special-bindings* `((*thread-pool* . ,*thread-pool*)\n\t\t\t\t\t (*loop* . ,*loop*))))\n (add-reporter (lambda (err)\n\t\t (format t \"A thread died with error: ~a~%\" err)))\n (unwind-protect\n\t ;; We're immediately adding to the event loop,\n\t ;; so that if it starts with a blocking thread,\n\t ;; it will first go through the event loop, making\n\t ;; sure both the thread pool and the event loop\n\t ;; threads are started.\n\t (spawn (lambda (,err ,res)\n\t\t (declare (ignore ,err ,res))\n\t\t ,@body))\n\t (let ((thread-pool-thread (start-thread-pool)))\n\t (start-event-loops)\n\t (bt:join-thread thread-pool-thread)\n\t (maphash (lambda (thread props)\n\t\t (declare (ignore props))\n\t\t (bt:join-thread thread))\n\t\t (threads *thread-pool*)))))))\n\n(defun noop (err res)\n (declare (ignore err res)))\n","subject":"Fix startup by blocking threads.","message":"Fix startup by blocking threads.\n","lang":"Common Lisp","license":"mit","repos":"ralt\/laap,ralt\/laap,ralt\/laap"} {"commit":"1434b511c45ea0795ba3ea82b5b5d65637b76348","old_file":"Code\/Cons-high\/sicl-cons-high-test.asd","new_file":"Code\/Cons-high\/sicl-cons-high-test.asd","old_contents":"(in-package #:cl-user)\n\n;;;; Copyright (c) 2008 - 2013\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; all rights reserved. \n;;;;\n;;;; Permission is hereby granted to use this software for any \n;;;; purpose, including using, modifying, and redistributing it.\n;;;;\n;;;; The software is provided \"as-is\" with no warranty. The user of\n;;;; this software assumes any responsibility of the consequences. \n\n;;;; This file is part of the cons-high module of the SICL project.\n;;;; See the file SICL.text for a description of the project. \n;;;; See the file cons-high.text for a description of the module.\n\n(asdf:defsystem :sicl-cons-high-test\n :depends-on (:sicl-cons-high)\n :components\n ((:file \"test\" :depends-on ())))\n","new_contents":"(in-package #:asdf-user)\n\n;;;; Copyright (c) 2008 - 2013\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; all rights reserved. \n;;;;\n;;;; Permission is hereby granted to use this software for any \n;;;; purpose, including using, modifying, and redistributing it.\n;;;;\n;;;; The software is provided \"as-is\" with no warranty. The user of\n;;;; this software assumes any responsibility of the consequences. \n\n;;;; This file is part of the cons-high module of the SICL project.\n;;;; See the file SICL.text for a description of the project. \n;;;; See the file cons-high.text for a description of the module.\n\n(defsystem :sicl-cons-high-test\n :depends-on (:sicl-cons-high)\n :components\n ((:file \"test\" :depends-on ())))\n","subject":"Define ASDF system in package ASDF-USER.","message":"Define ASDF system in package ASDF-USER.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"6fa34fc867596be5c28020e5620c4665d632635c","old_file":"nim.lisp","new_file":"nim.lisp","old_contents":"; find the minimax analysis of a game of nim\n; nim is a game where players take turns dividing a pile of discrete size\n; where the player that makes an even division loses\n; assume that min starts\n; hence an odd number of piles mean it is min's turn\n\n(defun play (piles)\n (when (lostp piles) ; is losing state\n (if (oddp (length piles)) ; is min's move\n 1\n 0)) ; is max's move\n )\n\n; a losing state is a pile containing one or more 2's and some number of 1's\n(defun lostp (piles)\n (remove-if #'(lambda (pile) (or (= 1 pile) (= 2 pile))) piles))\n","new_contents":"; find the minimax analysis of a game of nim\n; nim is a game where players take turns dividing a pile of discrete size\n; where the player that makes an even division loses\n; assume that min starts\n; hence an odd number of piles mean it is min's turn\n\n(defun play (piles)\n (when (lostp piles) ; is losing state\n (if (oddp (length piles)) ; is min's move\n 1\n 0)) ; is max's move\n )\n\n; a losing state is a pile containing one or more 2's and some number of 1's\n(defun lostp (piles)\n (not (remove-if #'(lambda (pile) (or (= 1 pile) (= 2 pile))) piles)))\n","subject":"Check for losing state not undecided state","message":"Check for losing state not undecided state\n","lang":"Common Lisp","license":"mit","repos":"richardmillson\/Lisp"} {"commit":"f9bb2f4c6403e027260d83950420d4eb83334274","old_file":"src\/assembler\/write.lisp","new_file":"src\/assembler\/write.lisp","old_contents":"; bender – Copyright (c) 2014–2016 Sven Michael Klose \n\n(def-instruction write-instruction-operand (instruction out)\n (alet operand\n (dotimes (i (instruction-operand-size instruction))\n (write-byte (mod ! 256) out)\n (= ! (>> ! 8)))))\n\n(defun write-instruction (instruction out)\n (= *pc* (instruction-address instruction))\n (= *cycles* (instruction-cycles instruction))\n (write-byte (instruction-opcode instruction) out)\n (write-instruction-operand instruction out))\n\n(defun write-assembled-expression (x out)\n (?\n (string? x) (princ x out)\n (number? x) (write-byte x out)\n (& (cons? x)\n (number? x.)) (adolist x (write-byte ! out))\n (instruction? x) (write-instruction x out)\n (| (not x)\n (label? x)\n (assignment? x)\n (directive? x)) nil\n (write-assembled-expressions x out)))\n\n(defun write-assembled-expressions (x out)\n (adolist x\n (with-temporary *assembler-current-line* !\n (adolist (.!)\n (let bytes (with-string-stream sout\n (write-assembled-expression ! sout))\n (princ bytes out)\n (assemble-dump-line *pc* bytes))))))\n","new_contents":"; bender – Copyright (c) 2014–2016 Sven Michael Klose \n\n(def-instruction write-instruction-operand (instruction out)\n (alet operand\n (dotimes (i (instruction-operand-size instruction))\n (write-byte (mod ! 256) out)\n (= ! (>> ! 8)))))\n\n(defun write-instruction (instruction out)\n (= *pc* (instruction-address instruction))\n (= *cycles* (instruction-cycles instruction))\n (write-byte (instruction-opcode instruction) out)\n (write-instruction-operand instruction out))\n\n(defun write-assembled-expression (x out)\n (?\n (string? x) (prog1 (princ x out)\n (+! *pc* (length x)))\n (number? x) (prog1 (write-byte x out)\n (++! *pc*))\n (& (cons? x)\n (number? x.)) (prog1 (adolist x (write-byte ! out))\n (+! *pc* (length x)))\n (instruction? x) (write-instruction x out)\n (| (not x)\n (label? x)\n (assignment? x)\n (directive? x)) nil\n (write-assembled-expressions x out)))\n\n(defun write-assembled-expressions (x out)\n (adolist x\n (with-temporary *assembler-current-line* !\n (adolist (.!)\n (let bytes (with-string-stream sout\n (write-assembled-expression ! sout))\n (princ bytes out)\n (assemble-dump-line *pc* bytes))))))\n","subject":"Update program counter for data.","message":"Update program counter for data.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"SvenMichaelKlose\/bender,SvenMichaelKlose\/bender,SvenMichaelKlose\/bender"} {"commit":"07a96b2ee6e03ed5b2acd6ed7ebbbd2f87ff4aa5","old_file":"src\/bitwise.lisp","new_file":"src\/bitwise.lisp","old_contents":"(in-package :toolbox)\n(annot:enable-annot-syntax)\n\n\n@export\n(defun map-positive-byte-regions (value)\n (declare (type integer value))\n (iterate\n (for i from 0 below (integer-length value))\n (for current-bit = (ldb (byte 1 i) value))\n (for prev-bit previous current-bit initially 0)\n (with start = 0)\n (cond ((and (= current-bit 0)\n (= prev-bit 1))\n (collect (list* start (- i start)) into result))\n ((= current-bit 1)\n (setf start i)))\n (finally (return result))))\n\n\n@export\n(defun move-byte-regions (byte-specifers moved-value)\n (declare (type (unsigned-byte 32) moved-value)\n (type byte-specifer-list byte-specifers))\n (reduce (lambda (prev next)\n (let ((starting-region (byte (- 32 (car next)) 0))\n (shift (- (cdr next) (car next))))\n (+ (ldb starting-region prev)\n (dpb 0 starting-region (ash prev shift)))))\n byte-specifers\n :initial-value moved-value))\n\n\n@export\n(defun print-as-binary (data &optional (stream t))\n (declare (type integer data))\n (format stream \"~b\" data)\n (terpri)\n data)\n","new_contents":"(in-package :toolbox)\n(annot:enable-annot-syntax)\n\n\n@export\n(defun map-positive-byte-regions (value)\n (declare (type integer value))\n (iterate\n (for i from 0 below (integer-length value))\n (for current-bit = (ldb (byte 1 i) value))\n (for prev-bit previous current-bit initially 0)\n (with start = 0)\n (cond ((and (= current-bit 0)\n (= prev-bit 1))\n (collect (list* start (- i start)) into result))\n ((= current-bit 1)\n (setf start i)))\n (finally (return result))))\n\n\n@export\n(defun move-byte-regions (byte-specifers moved-value)\n (declare (type integer moved-value)\n (type byte-specifer-list byte-specifers))\n (let ((length (integer-length moved-value)))\n (reduce (lambda (prev next)\n (let ((starting-region (byte (- length (car next)) 0))\n (shift (- (cdr next) (car next))))\n (+ (ldb starting-region prev)\n (dpb 0 starting-region (ash prev shift)))))\n byte-specifers\n :initial-value moved-value)))\n\n\n@export\n(defun print-as-binary (data &optional (stream t))\n (declare (type integer data))\n (format stream \"~b\" data)\n (terpri)\n data)\n","subject":"Move byte regions accepts integer.","message":"Move byte regions accepts integer.\n","lang":"Common Lisp","license":"mit","repos":"sirherrbatka\/toolbox"} {"commit":"169c30264cb622d8134c776cace0f099692928c6","old_file":"rsn-mtg.lisp","new_file":"rsn-mtg.lisp","old_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: RSN-MTG; Base: 10 -*- file: rsn-mtg.lisp\n\n;;;; Copyright (c) 2013 \"the Phoeron\" Colin J.E. Lupton <\/\/thephoeron.com>\n;;;; See LICENSE for additional information.\n\n(in-package :rsn-mtg)\n\n;; EOF\n","new_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: RSN-MTG; Base: 10 -*- file: rsn-mtg.lisp\n\n;;;; Copyright (c) 2013 \"the Phoeron\" Colin J.E. Lupton <\/\/thephoeron.com>\n;;;; See LICENSE for additional information.\n\n(in-package :rsn-mtg)\n\n(defun initial-setup (&key (db *default-database-connection*) (verbose nil))\n \"Perform the initial set-up operations to configure your web app's environment for the RSN-MTG library.\"\n (format t \"~%;; SETTING UP YOUR ENVIRONMENT FOR RSN-MTG LIBRARY\")\n (postmodern:with-connection db\n (postmodern:create-package-tables 'rsn-mtg)\n (sync-db-from-gatherer :db db :verbose verbose))\n (format t \"~%;; Done. Please restart your REDSHIFTNET-powered Web App now.\"))\n\n;; EOF\n","subject":"Add initial-setup wrapper function to simplify configuration and syncing","message":"Add initial-setup wrapper function to simplify configuration and syncing\n","lang":"Common Lisp","license":"mit","repos":"thephoeron\/rsn-mtg"} {"commit":"ae96ce825934efb09859d4346a33927820dd7494","old_file":"Code\/CLOS\/class-defclass.lisp","new_file":"Code\/CLOS\/class-defclass.lisp","old_contents":"(cl:in-package #:sicl-clos)\n\n(defclass class (specializer)\n ((%unique-number \n ;; FIXME: the unique numbers should be assigned during class\n ;; finalization, and not here.\n :initform (prog1 *class-unique-number* (incf *class-unique-number*))\n :reader unique-number)\n (%name \n :initform nil\n :initarg :name \n ;; There is a specified function named (SETF CLASS-NAME), but it\n ;; is not an accessor. Instead it works by calling\n ;; REINITIALIZE-INSTANCE with the new name.\n :reader class-name)\n (%direct-subclasses \n :initform '() \n :initarg :direct-subclasses\n :reader class-direct-subclasses\n :writer (setf c-direct-subclasses))))\n","new_contents":"(cl:in-package #:sicl-clos)\n\n(defclass class (specializer)\n ((%unique-number \n ;; FIXME: the unique numbers should be assigned during class\n ;; finalization, and not here.\n :initform (prog1 *class-unique-number* (incf *class-unique-number*))\n :reader unique-number)\n (%name \n :initform nil\n :initarg :name \n ;; There is a specified function named (SETF CLASS-NAME), but it\n ;; is not an accessor. Instead it works by calling\n ;; REINITIALIZE-INSTANCE with the new name.\n :reader class-name)\n (%direct-subclasses \n :initform '() \n :initarg :direct-subclasses\n :accessor class-direct-subclasses)))\n","subject":"Use accessor rather than separate reader and writer.","message":"Use accessor rather than separate reader and writer.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"f182701c5d6f3343c7b187991771728766e790e1","old_file":"Code\/Boot\/create-bridge-classes.lisp","new_file":"Code\/Boot\/create-bridge-classes.lisp","old_contents":"(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"..\/CLOS\/t-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-object-defclass.lisp\" c r)\n (ld \"..\/CLOS\/metaobject-defclass.lisp\" c r)\n (ld \"..\/CLOS\/method-combination-defclass.lisp\" c r)\n (ld \"..\/CLOS\/slot-definition-defclass.lisp\" c r)\n (ld \"..\/CLOS\/specializer-defclass.lisp\" c r)\n (ld \"..\/CLOS\/class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/forward-referenced-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/real-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/regular-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/built-in-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/funcallable-standard-class-defclass.lisp\" c r)))\n","new_contents":"(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"..\/CLOS\/t-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-object-defclass.lisp\" c r)\n (ld \"..\/CLOS\/metaobject-defclass.lisp\" c r)\n (ld \"..\/CLOS\/method-combination-defclass.lisp\" c r)\n (ld \"..\/CLOS\/slot-definition-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-slot-definition-defclass.lisp\" c r)\n (ld \"..\/CLOS\/specializer-defclass.lisp\" c r)\n (ld \"..\/CLOS\/class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/forward-referenced-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/real-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/regular-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/built-in-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-class-defclass.lisp\" c r)\n (ld \"..\/CLOS\/funcallable-standard-class-defclass.lisp\" c r)))\n","subject":"Load a file containing the definition of STANDARD-SLOT-DEFINITION.","message":"Load a file containing the definition of STANDARD-SLOT-DEFINITION.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"5445f498f0381c6a70e2d7269ce33b9482c08cd6","old_file":"clump.asd","new_file":"clump.asd","old_contents":"(cl:in-package #:asdf-user)\n\n(defsystem clump\n :description \"Library for operations on different kinds of trees\"\n :author \"Robert Strandh \"\n :license \"FreeBSD, see file LICENSE.text\"\n :depends-on (:clump-binary-tree))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem clump\n :description \"Library for operations on different kinds of trees\"\n :author \"Robert Strandh \"\n :license \"FreeBSD, see file LICENSE.text\"\n :depends-on (:clump-binary-tree :clump-2-3-tree))\n","subject":"Add CLUMP-2-3-TREE as a dependency for system CLUMP.","message":"Add CLUMP-2-3-TREE as a dependency for system CLUMP.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"147f786c0639d6ce809625117bb6ac3bf2628054","old_file":"Code\/Boot\/customize-c1.lisp","new_file":"Code\/Boot\/customize-c1.lisp","old_contents":"(cl:in-package #:sicl-boot)\n\n(defun customize-c1 (boot)\n (message \"Customizing compilation environment C1~%\")\n (message \"Finished customizing compilation environment C1~%\"))\n","new_contents":"(cl:in-package #:sicl-boot)\n\n(defun define-defgeneric-c1 (boot)\n (setf (sicl-genv:macro-function 'defgeneric (c1 boot))\n\t(lambda (form environment)\n\t (declare (ignore environment))\n\t `(progn (sicl-genv:fmakunbound ',(car form) ,(r1 boot))\n\t\t (ensure-generic-function\n\t\t ',(car form)\n\t\t :name ',(car form)\n\t\t :lambda-list ',(cadr form))\n\t\t (setf (sicl-genv:fdefinition ',(car form) ,(c1 boot))\n\t\t\t(sicl-genv:fdefinition ',(car form) ,(r1 boot)))))))\n\n(defun customize-c1 (boot)\n (message \"Customizing compilation environment C1~%\")\n (define-defgeneric-c1 boot)\n (message \"Finished customizing compilation environment C1~%\"))\n","subject":"Define a custom version of DEFGENERIC in compilation environment C1.","message":"Define a custom version of DEFGENERIC in compilation environment C1.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"7cc9c9ffeb9818160cd16a42b0f27ef7c03b7406","old_file":"zcdb.asd","new_file":"zcdb.asd","old_contents":";;;; zcdb.asd\n\n(asdf:defsystem #:zcdb\n :serial t\n :version \"1.0.3\"\n :description \"Read and write cdb files, as specified in\n http:\/\/cr.yp.to\/cdb.html\"\n :author \"Zach Beane \"\n :components ((:file \"package\")\n (:file \"cdb\")\n (:file \"reading\")\n (:file \"writing\")))\n","new_contents":";;;; zcdb.asd\n\n(asdf:defsystem #:zcdb\n :serial t\n :version \"1.0.3\"\n :description \"Read and write cdb files, as specified in\n http:\/\/cr.yp.to\/cdb.html\"\n :author \"Zach Beane \"\n :license \"MIT\"\n :components ((:file \"package\")\n (:file \"cdb\")\n (:file \"reading\")\n (:file \"writing\")))\n","subject":"Add :license to system file","message":"Add :license to system file\n","lang":"Common Lisp","license":"mit","repos":"xach\/zcdb"} {"commit":"cb8b58f2a841f6b02f4ef656939a890077d219b3","old_file":"Binary-tree\/link-unlink.lisp","new_file":"Binary-tree\/link-unlink.lisp","old_contents":"(cl:in-package #:clump-binary-tree)\n\n;;; Make CHILD the left child of NODE.\n(defgeneric link-left (node child))\n\n;;; Make CHILD the right child of NODE.\n(defgeneric link-right (node child))\n\n;;; Remove CHILD as the left child of NODE.\n(defgeneric unlink-left (node child))\n\n;;; Remove CHILD as the right child of NODE.\n(defgeneric unlink-right (node child))\n","new_contents":"(cl:in-package #:clump-binary-tree)\n\n;;; Make CHILD the left child of NODE.\n(defgeneric link-left (parent child))\n\n;;; Make CHILD the right child of PARENT.\n(defgeneric link-right (parent child))\n\n;;; Remove CHILD as the left child of PARENT.\n(defgeneric unlink-left (parent child))\n\n;;; Remove CHILD as the right child of PARENT.\n(defgeneric unlink-right (parent child))\n\n","subject":"Rename parent parameter for improved readability.","message":"Rename parent parameter for improved readability.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"b563b3a55736e0a38fb6c70f9cf9f7e60f776fed","old_file":"iolib.termios.asd","new_file":"iolib.termios.asd","old_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (asdf:oos 'asdf:load-op :cffi-grovel))\n\n;;; Fix ecl long-long support\n#+(and ecl (or cffi-features:no-long-long cffi-sys::no-long-long))\n(defmethod perform :after ((o load-op) (c (eql (find-system :cffi))))\n (let* ((s (find-system :iolib.termios))\n (f (find-component s \"ecl-long-long-fix\")))\n (oos 'load-op f)))\n\n(defsystem :iolib.termios\n :description \"Termios (3p) api wrappers\"\n :maintainer \"Razbegaev N.V. \"\n :licence \"MIT\"\n :depends-on (:iolib.base :iolib.syscalls :iolib.streams :cffi :cffi-grovel :trivial-garbage)\n :components\n #+unix\n (#+ecl\n (:file \"ecl-long-long-fix\")\n (:file \"pkgdcl\")\n (cffi-grovel:grovel-file \"ffi-termios-types-unix\")\n (cffi-grovel:grovel-file \"ffi-termios-constants-unix\")\n (:file \"ffi-termios-functions-unix\")\n (:file \"conditions\")\n (:file \"wrappers\")\n (:file \"streams\")))\n;;;; EOF\n","new_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (asdf:oos 'asdf:load-op :cffi-grovel))\n\n;;; Fix ecl long-long support\n#+(and ecl (or cffi-features:no-long-long cffi-sys::no-long-long))\n(defmethod perform :after ((o load-op) (c (eql (find-system :cffi))))\n (let* ((s (find-system :iolib.termios))\n (f (find-component s \"ecl-long-long-fix\")))\n (oos 'load-op f)))\n\n(defsystem :iolib.termios\n :description \"Termios (3p) api wrappers\"\n :maintainer \"Razbegaev N.V. \"\n :licence \"MIT\"\n :depends-on (:iolib\/base :iolib\/syscalls :iolib\/streams :cffi :cffi-grovel :trivial-garbage)\n :components\n #+unix\n (#+ecl\n (:file \"ecl-long-long-fix\")\n (:file \"pkgdcl\")\n (cffi-grovel:grovel-file \"ffi-termios-types-unix\")\n (cffi-grovel:grovel-file \"ffi-termios-constants-unix\")\n (:file \"ffi-termios-functions-unix\")\n (:file \"conditions\")\n (:file \"wrappers\")\n (:file \"streams\")))\n;;;; EOF\n","subject":"Fix system names (slash instead of dot)","message":"Fix system names (slash instead of dot)\n\nThe latest commit (0fef8c1) of IOLIB (https:\/\/github.com\/sionescu\/iolib) uses slashes instead of dots in system names.\r\n\r\nChanging this fixes the compilation process of IOLIB.TERMIO.","lang":"Common Lisp","license":"mit","repos":"marsijanin\/iolib.termios"} {"commit":"00b9598b8826d17515d65bd2793c75b9423f5e20","old_file":"src\/sockets\/dns\/conditions.lisp","new_file":"src\/sockets\/dns\/conditions.lisp","old_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Resolver conditions.\n;;;\n\n(in-package :iolib.sockets)\n\n(define-condition resolver-error ()\n ((datum :initarg :data :reader resolver-error-datum))\n (:documentation\n \"Signaled when an error occurs while trying to resolve an address.\"))\n(setf (documentation 'resolver-error-datum 'function)\n \"Return the datum that caused the signalling of a RESOLVER-ERROR condition.\")\n\n(defmacro define-resolver-error (name format-string &optional documentation)\n `(define-condition ,name (resolver-error) ()\n (:report (lambda (condition stream)\n (format stream ,format-string (resolver-error-datum condition))))\n (:documentation ,documentation)))\n\n(define-resolver-error resolver-again-error\n \"Temporary failure occurred while resolving: ~S\"\n \"Condition signaled when a temporary failure occurred.\")\n\n(define-resolver-error resolver-fail-error\n \"Non recoverable error occurred while resolving: ~S\"\n \"Condition signaled when a non-recoverable error occurred.\")\n\n(define-resolver-error resolver-no-name-error\n \"Host or service not found: ~S\"\n \"Condition signaled when a host or service was not found.\")\n\n(define-resolver-error resolver-unknown-error\n \"Unknown error while resolving: ~S\"\n \"Condition signaled when an unknown error is signaled while resolving\nan address.\")\n","new_contents":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-\n;;;\n;;; --- Resolver conditions.\n;;;\n\n(in-package :iolib.sockets)\n\n(define-condition resolver-error (error)\n ((datum :initarg :data :reader resolver-error-datum))\n (:documentation\n \"Signaled when an error occurs while trying to resolve an address.\"))\n(setf (documentation 'resolver-error-datum 'function)\n \"Return the datum that caused the signalling of a RESOLVER-ERROR condition.\")\n\n(defmacro define-resolver-error (name format-string &optional documentation)\n `(define-condition ,name (resolver-error) ()\n (:report (lambda (condition stream)\n (format stream ,format-string (resolver-error-datum condition))))\n (:documentation ,documentation)))\n\n(define-resolver-error resolver-again-error\n \"Temporary failure occurred while resolving: ~S\"\n \"Condition signaled when a temporary failure occurred.\")\n\n(define-resolver-error resolver-fail-error\n \"Non recoverable error occurred while resolving: ~S\"\n \"Condition signaled when a non-recoverable error occurred.\")\n\n(define-resolver-error resolver-no-name-error\n \"Host or service not found: ~S\"\n \"Condition signaled when a host or service was not found.\")\n\n(define-resolver-error resolver-unknown-error\n \"Unknown error while resolving: ~S\"\n \"Condition signaled when an unknown error is signaled while resolving\nan address.\")\n","subject":"Make RESOLVER-ERROR a subtype of ERROR.","message":"Make RESOLVER-ERROR a subtype of ERROR.\n","lang":"Common Lisp","license":"mit","repos":"lispnik\/iolib,dkochmanski\/iolib,shamazmazum\/iolib,deadtrickster\/iolib,lispnik\/iolib,attila-lendvai\/iolib,shamazmazum\/iolib,deadtrickster\/iolib,tiago4orion\/iolib,attila-lendvai\/iolib,vsedach\/iolib-simple-mux,lispnik\/iolib,dkochmanski\/iolib,attila-lendvai\/iolib,shamazmazum\/iolib,sionescu\/iolib,tiago4orion\/iolib,vsedach\/iolib-simple-mux,sionescu\/iolib,sionescu\/iolib,dkochmanski\/iolib,tiago4orion\/iolib,deadtrickster\/iolib"} {"commit":"fe4a8f0c3d1ebe5cdff1338f0d2a324556aa694a","old_file":"Code\/Boot\/Phase1\/bridge-generic-function.lisp","new_file":"Code\/Boot\/Phase1\/bridge-generic-function.lisp","old_contents":"(cl:in-package #:sicl-boot-phase2)\n\n(cl:defclass bridge-generic-function\n (#+sbcl sb-pcl:funcallable-standard-object\n sicl-boot-phase1:standard-generic-function)\n ()\n (:metaclass #+sbcl sb-pcl:funcallable-standard-class))\n\n(cl:defmethod cl:print-object ((object bridge-generic-function) stream)\n (print-unreadable-object (object stream :type t)\n (format stream \"~s\" (cl:slot-value object '%name))))\n","new_contents":"(cl:in-package #:sicl-boot-phase1)\n\n(cl:defclass bridge-generic-function\n (#+sbcl sb-pcl:funcallable-standard-object\n sicl-boot-phase1:standard-generic-function)\n ()\n (:metaclass #+sbcl sb-pcl:funcallable-standard-class))\n\n(cl:defmethod cl:print-object ((object bridge-generic-function) stream)\n (print-unreadable-object (object stream :type t)\n (format stream \"~s\" (cl:slot-value object '%name))))\n","subject":"Update package name to reflect move from phase 2 to phase 1.","message":"Update package name to reflect move from phase 2 to phase 1.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"ea0ca6aa3d49dcbde30b0f04dc4f148c8e105d85","old_file":"src\/middleware\/static-file.lisp","new_file":"src\/middleware\/static-file.lisp","old_contents":"(in-package #:eloquent.mvc.middleware)\n\n(defun make-static-file (path-info prefix root)\n (let ((path (remove-prefix prefix path-info)))\n (merge-pathnames path\n (merge-pathnames \"static\/\" root))))\n\n(defun get-prefix (config)\n (eloquent.mvc.config:get config \"static-file\" \"prefix\"))\n\n(defun remove-prefix (prefix s)\n (subseq s (length prefix)))\n\n(defun static-file (request next\n &key config)\n \"When the path-info of REQUEST matches the prefix specified in CONFIG's [static-file] section, feed the client a static file.\"\n (let ((path-info (eloquent.mvc.request:request-path-info request))\n (prefix (get-prefix config))\n (root (eloquent.mvc.config:get-application-root config)))\n (if (alexandria:starts-with-subseq prefix path-info)\n (let ((filespec (make-static-file path-info prefix root)))\n (if (probe-file filespec)\n (eloquent.mvc.response:respond filespec)\n (eloquent.mvc.router:not-found request)))\n (funcall next request))))\n","new_contents":"(in-package #:eloquent.mvc.middleware)\n\n(defun make-static-file (path-info prefix root)\n (let ((path (remove-prefix prefix path-info)))\n (merge-pathnames path\n (merge-pathnames \"static\/\" root))))\n\n(defun get-prefix (config)\n (eloquent.mvc.config:get config \"static-file\" \"prefix\"))\n\n(defun remove-prefix (prefix s)\n (subseq s (length prefix)))\n\n(defun static-file (request next\n &key config)\n \"When the path-info of REQUEST matches the prefix specified in CONFIG's [static-file] section, feed the client a static file.\"\n (let ((path-info (eloquent.mvc.request:request-path-info request))\n (prefix (get-prefix config))\n (root (eloquent.mvc.config:get-application-root config)))\n (if (alexandria:starts-with-subseq prefix path-info)\n (let ((filespec (make-static-file path-info prefix root)))\n (eloquent.mvc.response:respond filespec))\n (funcall next request))))\n","subject":"Remove the call of NOT-FOUND function from router","message":"Remove the call of NOT-FOUND function from router\n","lang":"Common Lisp","license":"mit","repos":"Liutos\/eloquent-mvc,Liutos\/eloquent-mvc"} {"commit":"78be3c369887c444016c8e25fbd91434ca7a39fa","old_file":"agent\/as-singleton-agent.lisp","new_file":"agent\/as-singleton-agent.lisp","old_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-\r\n;;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;;; See LICENSE for details.\r\n\r\n;;;; Preventing more than one agent to run in parallel.\r\n;;;; This is important, becuase the agents will\r\n;;;; interfere via working directory file system,\r\n;;;; at least via persistence.lisp.\r\n;;;;\r\n;;;; Implemented by opening a socket on a constant port.\r\n;;;; If it is successful - we are the only running agent,\r\n;;;; otherwise another agent instance is running.\r\n\r\n(in-package #:test-grid-agent)\r\n\r\n(defparameter +singleton-agent-lock-port+ 7658)\r\n\r\n(define-condition another-agent-is-running (simple-error) ())\r\n\r\n(defun execute-as-singleton-agent (body-func)\r\n (handler-case\r\n (let ((s (usocket:socket-listen \"localhost\" +singleton-agent-lock-port+)))\r\n (unwind-protect (funcall body-func)\r\n (usocket:socket-close s)))\r\n (usocket:address-in-use-error ()\r\n (error 'another-agent-is-running\r\n :format-control \"Another agent seems to be already running - our \\\"lock\\\" TCP port ~A is already in use.\"\r\n :format-arguments (list +singleton-agent-lock-port+)))))\r\n\r\n(defmacro as-singleton-agent (&body body)\r\n `(execute-as-singleton-agent (lambda () ,@body)))\r\n","new_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-\r\n;;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;;; See LICENSE for details.\r\n\r\n;;;; Preventing more than one agent to run in parallel.\r\n;;;; This is important, becuase the agents will\r\n;;;; interfere via working directory file system,\r\n;;;; at least via persistence.lisp.\r\n;;;;\r\n;;;; Implemented by opening a socket on a constant port.\r\n;;;; If it is successful - we are the only running agent,\r\n;;;; otherwise another agent instance is running.\r\n\r\n(in-package #:test-grid-agent)\r\n\r\n(defparameter +singleton-agent-lock-port+ 7685)\r\n\r\n(define-condition another-agent-is-running (simple-error) ())\r\n\r\n(defun execute-as-singleton-agent (body-func)\r\n (handler-case\r\n (let ((s (usocket:socket-listen \"localhost\" +singleton-agent-lock-port+)))\r\n (unwind-protect (funcall body-func)\r\n (usocket:socket-close s)))\r\n (usocket:address-in-use-error ()\r\n (error 'another-agent-is-running\r\n :format-control \"Another agent seems to be already running - our \\\"lock\\\" TCP port ~A is already in use.\"\r\n :format-arguments (list +singleton-agent-lock-port+)))))\r\n\r\n(defmacro as-singleton-agent (&body body)\r\n `(execute-as-singleton-agent (lambda () ,@body)))","subject":"Change singleton agent \"lock\" port number to avoid conflict with some Windows service.","message":"Change singleton agent \"lock\" port number to avoid conflict with some Windows service.\n","lang":"Common Lisp","license":"mit","repos":"cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid"} {"commit":"2bfca7a5e111bec735c071a0894bf9485f62bcbb","old_file":"Code\/CLOS\/generic-function-defclass.lisp","new_file":"Code\/CLOS\/generic-function-defclass.lisp","old_contents":"(cl:in-package #:sicl-clos)\n\n;;; FIXME: I can not remember why I decided not to use initargs for\n;;; the slots here, and instead calling explicit writers in :AFTER\n;;; methods on INITIALIZE-INSTANCE and REINITIALIZE-INSTANCE.\n\n(defclass generic-function (metaobject funcallable-standard-object)\n (;; While there is a function named (SETF GENERIC-FUNCTION-NAME), it\n ;; is not a writer function in that it works by calling\n ;; REINITIALIZE-INSTANCE.\n (%name \n :initform nil\n :initarg :name\n :reader generic-function-name)\n (%lambda-list \n :initarg :lambda-list\n :reader generic-function-lambda-list)\n (%documentation \n :initarg :documentation\n :initform nil\n :accessor documentation)\n (%dependents\n :initform '()\n :accessor dependents))\n (:metaclass funcallable-standard-class))\n","new_contents":";;;; Copyright (c) 2013 - 2015\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; All rights reserved.\n;;;;\n;;;; Redistribution and use in source and binary forms, with or\n;;;; without modification, are permitted provided that the following\n;;;; conditions are met:\n;;;;\n;;;; 1. Redistributions of source code must retain the above copyright\n;;;; notice, this list of conditions and the following disclaimer.\n;;;; 2. Redistributions in binary form must reproduce the above\n;;;; copyright notice, this list of conditions and the following\n;;;; disclaimer in the documentation and\/or other materials\n;;;; provided with the distribution.\n;;;;\n;;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\n;;;; CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n;;;; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n;;;; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n;;;; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS\n;;;; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n;;;; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n;;;; TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n;;;; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n;;;; ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n;;;; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n;;;; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n;;;; POSSIBILITY OF SUCH DAMAGE.\n\n(cl:in-package #:sicl-clos)\n\n;;; FIXME: I can not remember why I decided not to use initargs for\n;;; the slots here, and instead calling explicit writers in :AFTER\n;;; methods on INITIALIZE-INSTANCE and REINITIALIZE-INSTANCE.\n\n(defclass generic-function (metaobject funcallable-standard-object)\n (;; While there is a function named (SETF GENERIC-FUNCTION-NAME), it\n ;; is not a writer function in that it works by calling\n ;; REINITIALIZE-INSTANCE.\n (%name \n :initform nil\n :initarg :name\n :reader generic-function-name)\n (%lambda-list \n :initarg :lambda-list\n :reader generic-function-lambda-list)\n (%documentation \n :initarg :documentation\n :initform nil\n :accessor documentation)\n (%dependents\n :initform '()\n :accessor dependents))\n (:metaclass funcallable-standard-class))\n","subject":"Add copyright dates and license statement.","message":"Add copyright dates and license statement.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"15be11fa274e43be43bacd4818e6a6f0f5743e1e","old_file":"dynamic-classes.asd","new_file":"dynamic-classes.asd","old_contents":"(defpackage #:dynamic-classes-system (:use #:common-lisp #:asdf))\n(in-package #:dynamic-classes-system)\n\n(defsystem dynamic-classes\n :author \"Gary Warren King \"\n :version \"1.0.1\"\n :maintainer \"Gary Warren King \"\n :licence \"MIT Style license\"\n :components ((:module \n\t\t\"dev\"\n\t\t:serial t\n\t\t:components ((:file \"package\")\n\t\t\t (:file \"utilities\")\n\t\t\t (:file \"define-class\")\n\t\t\t (:file \"dynamic-class\"))))\n :depends-on (:metatilities-base))\n\n","new_contents":"(defpackage #:dynamic-classes-system (:use #:common-lisp #:asdf))\n(in-package #:dynamic-classes-system)\n\n(defsystem dynamic-classes\n :author \"Gary Warren King \"\n :version \"1.0.1\"\n :maintainer \"Gary Warren King \"\n :licence \"MIT Style license\"\n :components ((:module \n\t\t\"dev\"\n\t\t:serial t\n\t\t:components ((:file \"package\")\n\t\t\t (:file \"utilities\")\n\t\t\t (:file \"define-class\")\n\t\t\t (:file \"dynamic-class\"))))\n :in-order-to ((test-op (load-op dynamic-classes-test)))\n :perform (test-op :after (op c)\n\t\t (funcall (intern (symbol-name '#:run-tests) :lift) \n\t\t\t :config :generic))\n :depends-on (:metatilities-base))\n\n(defmethod operation-done-p \n ((o test-op) (c (eql (find-system 'dynamic-classes))))\n (values nil))\n\n\n","subject":"Add the usual test boilerplate to the system file","message":"Add the usual test boilerplate to the system file\n\ndarcs-hash:20080727223559-3cc5d-13f2c1a24208f39b43c1a1dbd4c20378d1b31d5b.gz\n","lang":"Common Lisp","license":"mit","repos":"gwkkwg\/dynamic-classes"} {"commit":"0f366946d702e1a4c4a6a4b899f34344a4111b0b","old_file":"Code\/Arithmetic\/arithmetic.lisp","new_file":"Code\/Arithmetic\/arithmetic.lisp","old_contents":"(in-package :sicl-arithmetic)\n\n(defun + (&rest args)\n (cond ((null args) 0)\n\t;; FIXME: check that we have a number\n\t((null (cdr args)) (car args))\n\t(t (apply #'+ (binary-+ (car args) (cadr args)) (cddr args)))))\n \n(defun - (x &rest args)\n (cond ((null args) (negate x))\n\t((null (cdr args)) (binary-- x (car args)))\n\t(t (apply #'- (binary-- x (car args)) (cdr args)))))\n\n(defun * (&rest args)\n (cond ((null args) 1)\n\t;; FIXME: check that we have a number\n\t((null (cdr args)) (car args))\n\t(t (apply #'* (binary-* (car args) (cadr args)) (cddr args)))))\n\n(defun \/ (x &rest args)\n (cond ((null args) (invert x))\n\t((null (cdr args)) (binary-\/ x (car args)))\n\t(t (apply #'\/ (binary-\/ x (car args)) (cdr args)))))\n \n\n","new_contents":"(cl:in-package :sicl-arithmetic)\n\n(defun + (&rest args)\n (cond ((null args) 0)\n\t;; FIXME: check that we have a number\n\t((null (cdr args)) (car args))\n\t(t (apply #'+ (binary-+ (car args) (cadr args)) (cddr args)))))\n \n(defun - (x &rest args)\n (cond ((null args) (negate x))\n\t((null (cdr args)) (binary-- x (car args)))\n\t(t (apply #'- (binary-- x (car args)) (cdr args)))))\n\n(defun * (&rest args)\n (cond ((null args) 1)\n\t;; FIXME: check that we have a number\n\t((null (cdr args)) (car args))\n\t(t (apply #'* (binary-* (car args) (cadr args)) (cddr args)))))\n\n(defun \/ (x &rest args)\n (cond ((null args) (invert x))\n\t((null (cdr args)) (binary-\/ x (car args)))\n\t(t (apply #'\/ (binary-\/ x (car args)) (cdr args)))))\n \n\n","subject":"Use explicit package prefix for IN-PACKAGE.","message":"Use explicit package prefix for IN-PACKAGE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"73244105a7b052a9ad2d4dd56b5e5bbc2e7ebb39","old_file":"Code\/Data-and-control-flow\/condition-reporters-english.lisp","new_file":"Code\/Data-and-control-flow\/condition-reporters-english.lisp","old_contents":"(cl:in-package #:sicl-data-and-control-flow)\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-setf)\n stream\n (langauge cleavir-i18n:english))\n (format stream \n\t \"An odd number of arguments was given to SETF~@\n in the following form:~@\n ~s\"\n (form condition)))\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-psetf)\n stream\n (langauge cleavir-i18n:english))\n (format stream \n\t \"An odd number of arguments was given to PSETF~@\n in the following form:~@\n ~s\"\n (form condition)))\n","new_contents":"(cl:in-package #:sicl-data-and-control-flow)\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-setf)\n stream\n (langauge cleavir-i18n:english))\n (format stream \n\t \"An odd number of arguments was given to SETF~@\n in the following form:~@\n ~s\"\n (form condition)))\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-psetf)\n stream\n (langauge cleavir-i18n:english))\n (format stream \n\t \"An odd number of arguments was given to PSETF~@\n in the following form:~@\n ~s\"\n (form condition)))\n\n(defmethod cleavir-i18n:report-condition\n ((condition odd-number-of-arguments-to-psetq)\n stream\n (langauge cleavir-i18n:english))\n (format stream \n\t \"An odd number of arguments was given to PSETQ~@\n in the following form:~@\n ~s\"\n (form condition)))\n","subject":"Add condition reporter for new condition.","message":"Add condition reporter for new condition.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"c4e308cc9612a8e979b2f0b55b064e16f02131a7","old_file":"config\/resources\/repository.lisp","new_file":"config\/resources\/repository.lisp","old_contents":"(in-package :mu-cl-resources)\n\n(add-prefix \"nie\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/01\/19\/nie\/#\")\n(add-prefix \"nco\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nco#\")\n(add-prefix \"nfo\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nfo#\")\n(add-prefix \"dcterms\" \"http:\/\/purl.org\/dc\/terms\/\")\n(add-prefix \"vcard\" \"http:\/\/www.w3.org\/2006\/vcard\/ns#\")\n(add-prefix \"locn\" \"http:\/\/www.w3.org\/ns\/locn#\")\n(add-prefix \"music\" \"http:\/\/mu.semte.ch\/vocabularies\/music\/\")\n(add-prefix \"bravoer\" \"http:\/\/mu.semte.ch\/vocabularies\/bravoer\/\")\n\n;; Required namespaces for authorization\n(add-prefix \"auth\" \"http:\/\/mu.semte.ch\/vocabularies\/authorization\/\")\n(add-prefix \"session\" \"http:\/\/mu.semte.ch\/vocabularies\/session\/\")\n(add-prefix \"authToken\" \"http:\/\/mu.semte.ch\/services\/authorization-service\/access-tokens\/\")\n\n\n","new_contents":"(in-package :mu-cl-resources)\n\n(add-prefix \"nie\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/01\/19\/nie\/#\")\n(add-prefix \"nco\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nco#\")\n(add-prefix \"nfo\" \"http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nfo#\")\n(add-prefix \"dcterms\" \"http:\/\/purl.org\/dc\/terms\/\")\n(add-prefix \"vcard\" \"http:\/\/www.w3.org\/2006\/vcard\/ns#\")\n(add-prefix \"locn\" \"http:\/\/www.w3.org\/ns\/locn#\")\n(add-prefix \"music\" \"http:\/\/mu.semte.ch\/vocabularies\/ext\/music\/\")\n(add-prefix \"bravoer\" \"http:\/\/mu.semte.ch\/vocabularies\/ext\/bravoer\/\")\n\n;; Required namespaces for authorization\n(add-prefix \"auth\" \"http:\/\/mu.semte.ch\/vocabularies\/authorization\/\")\n(add-prefix \"session\" \"http:\/\/mu.semte.ch\/vocabularies\/session\/\")\n(add-prefix \"authToken\" \"http:\/\/mu.semte.ch\/services\/authorization-service\/access-tokens\/\")\n\n\n","subject":"Change namespace of custom vocabularies music and bravoer","message":"Change namespace of custom vocabularies music and bravoer\n\nUse the mu.semte.ch ext namespace for vocabularies which don't have a\npermanent URI yet\n","lang":"Common Lisp","license":"mit","repos":"bravoer\/music-crm,bravoer\/music-crm,bravoer\/music-crm"} {"commit":"349cbc3e7cec796335b89b0b69d5a7ad729301d4","old_file":"Binary-tree\/iterative-traversal.lisp","new_file":"Binary-tree\/iterative-traversal.lisp","old_contents":"(cl:in-package #:clump-binary-tree)\n\n(defgeneric iterative-traversal (tree enter leave))\n\n(defmethod iterative-traversal ((tree node-with-parent) enter leave)\n (let ((current-node tree))\n (loop do (if (or (not (funcall enter current-node))\n\t\t (and (null (left current-node))\n\t\t\t (null (right current-node))))\n\t\t (loop for parent = (parent current-node)\n\t\t until (or (null parent)\n\t\t\t\t (and (eq current-node (left parent))\n\t\t\t\t (not (null (right parent)))))\n\t\t do (funcall leave current-node)\n\t\t\t (setf current-node parent)\n\t\t finally (if (null parent)\n\t\t\t\t (return-from iterative-traversal)\n\t\t\t\t (setf current-node (right parent))))\n\t\t (setf current-node\n\t\t (or (left current-node)\n\t\t\t (right current-node)))))))\n\t\t \n\t\t \n \n","new_contents":"(cl:in-package #:clump-binary-tree)\n\n(defgeneric iterative-traversal (tree enter leave))\n\n(defmethod iterative-traversal ((tree node-with-parent) enter leave)\n (let ((current-node tree))\n (loop do (if (or (not (funcall enter current-node))\n\t\t (and (null (left current-node))\n\t\t\t (null (right current-node))))\n\t\t (loop for parent = (parent current-node)\n\t\t until (or (null parent)\n\t\t\t\t (and (eq current-node (left parent))\n\t\t\t\t (not (null (right parent)))))\n\t\t do (funcall leave current-node)\n\t\t\t (setf current-node parent)\n\t\t finally (funcall leave current-node)\n\t\t\t (if (null parent)\n\t\t\t\t (return-from iterative-traversal)\n\t\t\t\t (setf current-node (right parent))))\n\t\t (setf current-node\n\t\t (or (left current-node)\n\t\t\t (right current-node)))))))\n\t\t \n\t\t \n \n","subject":"Call function LEAVE before returning or entering right subtree.","message":"Call function LEAVE before returning or entering right subtree.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"a094f71f244a0662274708d777caa483b3316b54","old_file":"bytecurry.asdf-ext.asd","new_file":"bytecurry.asdf-ext.asd","old_contents":"(in-package :asdf-user)\n\n(defsystem \"bytecurry.asdf-ext\"\n :class :package-inferred-system\n :author \"Thayne McCombs\"\n :maintainer \"Thayne McCombs\"\n :mailto \"bytecurry.software@gmail.com\"\n :defsystem-depends-on (:asdf-package-system)\n :depends-on (:bytecurry.asdf-ext\/doc-op :bytecurry.asdf-ext\/atdoc))\n","new_contents":"(in-package :asdf-user)\n\n(defsystem \"bytecurry.asdf-ext\"\n :class :package-inferred-system\n :author \"Thayne McCombs\"\n :maintainer \"Thayne McCombs\"\n :mailto \"bytecurry.software@gmail.com\"\n :license \"MIT\"\n :defsystem-depends-on (:asdf-package-system)\n :depends-on (:bytecurry.asdf-ext\/doc-op :bytecurry.asdf-ext\/atdoc))\n","subject":"Add license attribute to asdf file.","message":"Add license attribute to asdf file.\n","lang":"Common Lisp","license":"mit","repos":"bytecurry\/bytecurry.asdf-ext"} {"commit":"e47dac655fbad9fb5b5131abdae9e83d7872be0a","old_file":"environment\/transpiler\/targets\/javascript\/core\/late-macro.lisp","new_file":"environment\/transpiler\/targets\/javascript\/core\/late-macro.lisp","old_contents":"; tré – Copyright (c) 2011–2013,2015 Sven Michael Klose \n\n(define-expander 'standard-macros)\n(set-expander-macros 'standard-macros *macros*)\n(= *standard-macro-expander* (expander-get 'standard-macros))\n\n(defun %%macro? (x)\n (expander-has-macro? 'standard-macros x.))\n\n(defun %%macrocall (x)\n (funcall (expander-call *standard-macro-expander*) x))\n\n(defvar *environment-macros* (copy-alist *macros*))\n(define-expander 'environment-macros)\n(set-expander-macros 'environment-macros *environment-macros*)\n(defvar *environment-macro-expander* (expander-get 'environment-macros))\n\n(defun %%env-macro? (x)\n (expander-has-macro? 'environment-macros x.))\n\n(defun %%env-macrocall (x)\n (funcall (expander-call *environment-macro-expander*) x))\n\n(= *macroexpand-backquote* #'%macroexpand-backquote)\n","new_contents":"; tré – Copyright (c) 2011–2013,2015 Sven Michael Klose \n\n(define-expander 'standard-macros)\n(set-expander-macros 'standard-macros *macros*)\n(= *standard-macro-expander* (expander-get 'standard-macros))\n\n(defun %%macro? (x)\n (expander-has-macro? 'standard-macros x.))\n\n(defun %%macrocall (x)\n (funcall (expander-call *standard-macro-expander*) x))\n\n; XXX I assume this is some work-around for some fixed xhost\n; macroexpansion issue and can be removed safely. (pixel)\n\n(defvar *environment-macros* (copy-alist *macros*))\n(define-expander 'environment-macros)\n(set-expander-macros 'environment-macros *environment-macros*)\n(defvar *environment-macro-expander* (expander-get 'environment-macros))\n\n(defun %%env-macro? (x)\n (expander-has-macro? 'environment-macros x.))\n\n(defun %%env-macrocall (x)\n (funcall (expander-call *environment-macro-expander*) x))\n\n(= *macroexpand-backquote* #'%macroexpand-backquote)\n","subject":"Add comment about possibly useless *ENVIRONMENT-MACROS*.","message":"Add comment about possibly useless *ENVIRONMENT-MACROS*.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"7ce7b354b0586c4f3c7b8463c377f8e3e3b2738a","old_file":"med.asd","new_file":"med.asd","old_contents":"(in-package :cl-user)\n\n(defpackage :med-asd\n (:use :cl :asdf))\n\n(in-package :med-asd)\n\n(defsystem :med\n :version \"0.1\"\n :description \"med - Mezzano EDitor\"\n :serial t\n :components ((:file \"package\")\n (:file \"line\")\n (:file \"mark\")\n (:file \"editor\")\n (:file \"buffer\")\n (:file \"point\")\n (:file \"minibuffer\")\n (:file \"redisplay\")\n (:file \"commands\")\n (:file \"keybindings\")\n (:file \"main\")))\n","new_contents":"(in-package :cl-user)\n\n(defpackage :med-asd\n (:use :cl :asdf))\n\n(in-package :med-asd)\n\n(defsystem :med\n :version \"0.1\"\n :description \"med - Mezzano EDitor\"\n :serial t\n :components ((:file \"package\")\n (:file \"line\")\n (:file \"mark\")\n (:file \"editor\")\n (:file \"buffer\")\n (:file \"point\")\n (:file \"redisplay\")\n (:file \"commands\")\n (:file \"keybindings\")\n (:file \"minibuffer\")\n (:file \"repl\")\n (:file \"main\")))\n","subject":"Add grep to asd file.'","message":"Add grep to asd file.'\n","lang":"Common Lisp","license":"mit","repos":"burtonsamograd\/med"} {"commit":"4be7744d1f41ef789db5c48deb2cb10368fa1661","old_file":"Code\/Cleavir\/Concrete-syntax-tree\/lambda-list.lisp","new_file":"Code\/Cleavir\/Concrete-syntax-tree\/lambda-list.lisp","old_contents":"(cl:in-package #:cleavir-cst)\n\n(defclass optional-or-keyword--parameter ()\n (;; This slot contains the CST for the obligatory variable of the\n ;; parameter.\n (%variable-cst :initarg :variable-cst :reader variable-cst)\n ;; This slot contains a CST for the INIT-FORM of the parameter. If\n ;; no INIT-FORM was supplied, then this slot contains a CST for\n ;; which both EXPRESSION and LOCATION return NIL.\n (%init-form-cst :initarg :init-form-cst :reader init-form-cst)\n ;; This slot contains a CST for the SUPPLIED-P-PARAMETER of the\n ;; parameter. If no SUPPLIED-P-PARAMETER was given, then this slot\n ;; contains NIL.\n (%supplied-p-parameter-cst :initarg :supplied-p-parameter-cst\n\t\t\t :reader supplied-p-parameter-cst)))\n\n(defclass optional-parameters ()\n (;; This slot contains a CST for the lambda-list keyword.\n ;; Typically, this keyword will be &OPTIONAL, but client code may\n ;; define other lambda-list keywords that work the same way as\n ;; &OPTIONAL.\n (%keyword-cst :initarg :keyword-cst :reader keyword-cst)\n ;; This slot contains a list of instances of the class\n ;; OPTIONAL-PARAMETER.\n (%parameters :initarg :parameters :reader parameters)))\n","new_contents":"(cl:in-package #:cleavir-cst)\n\n(defclass optional-or-keyword--parameter ()\n (;; This slot contains the CST for the obligatory variable of the\n ;; parameter.\n (%variable-cst :initarg :variable-cst :reader variable-cst)\n ;; This slot contains a CST for the INIT-FORM of the parameter. If\n ;; no INIT-FORM was supplied, then this slot contains a CST for\n ;; which both EXPRESSION and LOCATION return NIL.\n (%init-form-cst :initarg :init-form-cst :reader init-form-cst)\n ;; This slot contains a CST for the SUPPLIED-P-PARAMETER of the\n ;; parameter. If no SUPPLIED-P-PARAMETER was given, then this slot\n ;; contains NIL.\n (%supplied-p-parameter-cst :initarg :supplied-p-parameter-cst\n\t\t\t :reader supplied-p-parameter-cst)))\n\n(defclass optional-parameter (optional-or-keyword-parameter)\n ())\n\n(defclass optional-parameters ()\n (;; This slot contains a CST for the lambda-list keyword.\n ;; Typically, this keyword will be &OPTIONAL, but client code may\n ;; define other lambda-list keywords that work the same way as\n ;; &OPTIONAL.\n (%keyword-cst :initarg :keyword-cst :reader keyword-cst)\n ;; This slot contains a list of instances of the class\n ;; OPTIONAL-PARAMETER.\n (%parameters :initarg :parameters :reader parameters)))\n","subject":"Define new class OPTIONAL-PARAMETER using generalized class as superclass.","message":"Define new class OPTIONAL-PARAMETER using generalized class as superclass.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"937bc2c7c45eaffa3a6d8ac0aa7b24f9463644b4","old_file":"Code\/Sequences\/Small\/sicl-sequences-small-test.asd","new_file":"Code\/Sequences\/Small\/sicl-sequences-small-test.asd","old_contents":"(in-package #:cl-user)\n\n(asdf:defsystem :sicl-sequences-small-test\n :depends-on (:lisp-unit :sicl-sequences-small)\n :components\n ((:file \"test\" :depends-on ())))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-sequences-small-test\n :depends-on (:lisp-unit :sicl-sequences-small)\n :components\n ((:file \"test\" :depends-on ())))\n","subject":"Define ASDF system in package ASDF-USER.","message":"Define ASDF system in package ASDF-USER.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"891f25f56afe4cf2ec60f8c30fca10dca1a8a59b","old_file":"Code\/CLOS\/sicl-clos-support.asd","new_file":"Code\/CLOS\/sicl-clos-support.asd","old_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-clos-support\n :depends-on (:sicl-clos-package\n\t :sicl-global-environment)\n :serial t\n :components\n ((:file \"ensure-generic-function-using-class-support\")\n (:file \"make-method-lambda-support\")\n (:file \"make-method-lambda-defgenerics\")\n (:file \"make-method-lambda-defmethods\")\n (:file \"defmethod-support\")\n (:file \"ensure-method\")))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-clos-support\n :depends-on (:sicl-clos-package\n\t :sicl-global-environment)\n :serial t\n :components\n ((:file \"ensure-generic-function-using-class-support\")\n (:file \"make-method-lambda-support\")\n (:file \"make-method-lambda-defgenerics\")\n (:file \"make-method-lambda-defmethods\")\n (:file \"defmethod-support\")\n (:file \"ensure-method\")\n (:file \"ensure-class-using-class-support\")))\n","subject":"Include support code for ENSURE-CLASS-USING-CLASS.","message":"Include support code for ENSURE-CLASS-USING-CLASS.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"c2939a8dac5d57a9724f3a336687b35663b30e15","old_file":"clump.asd","new_file":"clump.asd","old_contents":"(cl:in-package #:asdf-user)\n\n(defsystem clump\n :depends-on (:clump-binary-tree))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem clump\n :description \"Library for operations on different kinds of trees\"\n :author \"Robert Strandh \"\n :license \"FreeBSD, see file LICENSE.text\"\n :depends-on (:clump-binary-tree))\n","subject":"Add initargs for :DESCRIPTION, :AUTHOR, and :LICENSE.","message":"Add initargs for :DESCRIPTION, :AUTHOR, and :LICENSE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"9a4069cff863b20fb3482420b1d258b02e5fbb2e","old_file":"umpns.asd","new_file":"umpns.asd","old_contents":"(defpackage #:info.isoraqathedh.umpns.asdf\n (:use #:cl #:asdf))\n(in-package #:info.isoraqathedh.umpns.asdf)\n\n(defsystem umpns\n :name \"UMPNS-based Minor Planet Namer\"\n :version \"0.1\"\n :license \"MIT\"\n :components ((:file \"unified-minor-planet-naming-system\"))\n :depends-on (:cl-ppcre :sqlite :iterate))\n","new_contents":"(defpackage #:info.isoraqathedh.umpns.asdf\n (:use #:cl #:asdf))\n(in-package #:info.isoraqathedh.umpns.asdf)\n\n(defsystem umpns\n :name \"UMPNS-based Minor Planet Namer\"\n :version \"0.1\"\n :license \"MIT\"\n :components ((:file \"unified-minor-planet-naming-system\"))\n :depends-on (:cl-ppcre :sqlite :iterate :local-time))\n","subject":"Add local-time to the list of deps","message":"Add local-time to the list of deps\n","lang":"Common Lisp","license":"mit","repos":"isoraqathedh\/umpns"} {"commit":"d8eb2a33fd008c74e379bb6ddd19fd506819c47b","old_file":"TestSuite\/Bugs\/Bug_0099\/Tests.lisp","new_file":"TestSuite\/Bugs\/Bug_0099\/Tests.lisp","old_contents":"(test-directories \".\")\n\n(test \n\n (\"Bug 0099 : Extra 'let' in generated proof obligation\"\n :show \"MinusOb#MinusProof\" \n :output \";;; Elaborating proof-term at $TESTDIR\/MinusOb#MinusProof\n;;; Elaborating obligator at $TESTDIR\/MinusOb#ONat\n;; ensure-directories-exist: creating $TESTDIR\/Snark\/MinusOb\/MinusProof.log\n;; Directory $TESTDIR\/Snark\/ does not exist, will create.\n;; Directory $TESTDIR\/Snark\/MinusOb\/ does not exist, will create.\nMinusProof: Conjecture minus_def2_Obligation in ONat is Proved! using Snark.\n Snark Log file: $TESTDIR\/Snark\/MinusOb\/MinusProof.log\n\n\n\")\n\n )\n","new_contents":"(test-directories \".\")\n\n(test \n\n (\"Bug 0099 : Extra 'let' in generated proof obligation\"\n :show \"MinusOb#MinusProof\" \n :output '(\n\t \";;; Elaborating proof-term at $TESTDIR\/MinusOb#MinusProof\"\n\t \";;; Elaborating obligator at $TESTDIR\/MinusOb#ONat\"\n\t \" Expanded spec file: $TESTDIR\/Snark\/MinusOb\/MinusProof.sw\"\n\t \" Snark Log file: $TESTDIR\/Snark\/MinusOb\/MinusProof.log\"\n\t \"MinusProof: Conjecture minus_def2_Obligation in ONat is Proved! using Snark.\"\n\t \"\"\n\t \"\"\n\t \"\"))\n\n )\n","subject":"Adjust output of test case to new behavior.","message":"Adjust output of test case to new behavior.\n\n\ngit-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@2745 7b97033b-253e-4a5c-9b07-e25f9089a9fd\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"KestrelInstitute\/Specware,KestrelInstitute\/Specware,KestrelInstitute\/Specware,KestrelInstitute\/Specware,KestrelInstitute\/Specware"} {"commit":"bbb6d847472988c6bafe024258b37e6bb8d9dd51","old_file":"Code\/Data-and-control-flow\/fdefinition.lisp","new_file":"Code\/Data-and-control-flow\/fdefinition.lisp","old_contents":"(cl:in-package #:sicl-data-and-control-flow)\n\n(defun fdefinition (function-name)\n (sicl-global-environment:fdefinition\n function-name\n sicl-global-environment:*global-environment*))\n","new_contents":"(cl:in-package #:sicl-data-and-control-flow)\n\n(defun fdefinition (function-name)\n (sicl-global-environment:fdefinition\n function-name\n (load-time-value\n (sicl-global-environment:global-environment))))\n","subject":"Use function GLOBAL-ENVIRONMENT rather than obsolete special variable.","message":"Use function GLOBAL-ENVIRONMENT rather than obsolete special variable.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"d325005310d4bc44537a07c932869f65cc5255ea","old_file":"tests\/reduce_test.lsp","new_file":"tests\/reduce_test.lsp","old_contents":"(describe reduce-with-lambda\n (== (reduce (lambda (acc item) 0 (+ acc item)) 0 '(1 2 3)) 6))\n \n(describe reduce-with-primitive\n (== (reduce + 0 '(1 2 3)) 6))\n \n(describe reduce-building-a-list\n (== (reduce (lambda (l i) (cons i l)) '() '(1 2 3 4)) '(4 3 2 1)))","new_contents":"(describe reduce-with-lambda\n (== (reduce (lambda (acc item) 0 (+ acc item)) 0 '(1 2 3)) 6))\n \n(describe reduce-with-primitive\n (== (reduce + 0 '(1 2 3)) 6))\n \n(describe reduce-building-a-list\n (== (reduce (lambda (l i) (cons i l)) '() '(1 2 3 4)) '(4 3 2 . 1))\n (== (reduce list '() '(1 2 3 4)) '(((1 2) 3) 4)))\n","subject":"Fix test to reflect change to scheme style reduce.","message":"Fix test to reflect change to scheme style reduce.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"ToadKing\/golisp"} {"commit":"d738fbffb0e1a5267d257b4b2c3184466310b774","old_file":"Code\/CLOS\/Boot\/Phase3\/generic-function-database.lisp","new_file":"Code\/CLOS\/Boot\/Phase3\/generic-function-database.lisp","old_contents":"(cl:in-package #:sicl-clos)\n\n(defparameter *target-generic-functions* '())\n","new_contents":"(cl:in-package #:sicl-clos)\n\n(defparameter *target-generic-functions* '())\n\n(defun add-target-generic-function (name function)\n (pushnew (cons name function) *target-generic-functions*\n\t :key #'car :test #'equal))\n\n(defun find-target-generic-function (name)\n (let ((entry (assoc name *target-generic-functions* :test #'equal)))\n (when (null entry)\n (error \"There is no target generic function named ~s.\" name))\n (cdr entry)))\n\n(defun delete-target-generic-function (name)\n (setf *target-generic-functions*\n\t(remove name *target-generic-functions* :key #'car :test #'equal)))\n","subject":"Define abstractions for access to target GF database.","message":"Define abstractions for access to target GF database.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"98fb97713dda834a2299f486e2a1b0b1f2c9b56b","old_file":"Code\/Cleavir\/Dataflow-analysis\/dataflow-analysis.lisp","new_file":"Code\/Cleavir\/Dataflow-analysis\/dataflow-analysis.lisp","old_contents":"(cl:in-package #:cleavir-dataflow-analysis)\n\n(defclass port ()\n ((%operation :initarg :operation :reader operation)\n (%datum :initarg :datum :reader datum)))\n\n(defclass input (port)\n ((%outputs :initform '() :initarg outputs :accessor outputs)))\n\n(defclass output (port)\n ((%inputs :initform '() :initarg inputs :accessor inputs)))\n\n(defclass operation ()\n ((%instruction :initarg :instruction :reader instruction)\n (%inputs :initform '() :initarg inputs :accessor inputs)\n (%outputs :initform '() :initarg outputs :accessor outputs)))\n\n(defclass dataflow ()\n (;; This hash table maps each instruction to its corresponding\n ;; operation\n (%operations :initform (make-hash-table :test #'eq)\n\t\t:initarg :operations\n\t\t:accessor operations)))\n\n(defun dataflow-analysis (initial-instruction)\n (let ((result (make-instance 'dataflow)))\n (cleavir-ir:map-instructions-arbitrary-order\n (lambda (instruction)\n (setf (gethash instruction (operations result))\n\t (make-instance 'operation\n\t :instruction instruction)))\n initial-instruction)\n result))\n","new_contents":"(cl:in-package #:cleavir-dataflow-analysis)\n\n(defclass port ()\n (;; The operation to which this port belongs.\n (%operation :initarg :operation :reader operation)\n (%datum :initarg :datum :reader datum)))\n\n(defclass input (port)\n ((%outputs :initform '() :initarg outputs :accessor outputs)))\n\n(defclass output (port)\n ((%inputs :initform '() :initarg inputs :accessor inputs)))\n\n(defclass operation ()\n ((%instruction :initarg :instruction :reader instruction)\n (%inputs :initform '() :initarg inputs :accessor inputs)\n (%outputs :initform '() :initarg outputs :accessor outputs)))\n\n(defclass dataflow ()\n (;; This hash table maps each instruction to its corresponding\n ;; operation\n (%operations :initform (make-hash-table :test #'eq)\n\t\t:initarg :operations\n\t\t:accessor operations)))\n\n(defun dataflow-analysis (initial-instruction)\n (let ((result (make-instance 'dataflow)))\n (cleavir-ir:map-instructions-arbitrary-order\n (lambda (instruction)\n (setf (gethash instruction (operations result))\n\t (make-instance 'operation\n\t :instruction instruction)))\n initial-instruction)\n result))\n","subject":"Add comment explaining the purpose of the slot OPERATION in class PORT.","message":"Add comment explaining the purpose of the slot OPERATION in class PORT.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"a2751cc37934329f7a7bb88b10f12ccfe6326e3f","old_file":"src\/lexenv.lisp","new_file":"src\/lexenv.lisp","old_contents":";;;; -*- lisp -*-\n\n(in-package :it.bese.arnesi)\n\n;;;; * Portable lexical environment access\n\n;;;; ** OpenMCL\n\n#+openmcl\n(defun environment-p (environment)\n (subtypep (class-of environment) 'ccl::lexical-environment))\n\n#+openmcl\n(defun lexical-variables (environment)\n (loop\n for env = environment then (ccl::lexenv.parent-env env)\n while env\n for vars = (ccl::lexenv.variables env)\n when (listp vars)\n append (mapcar (lambda (var)\n ;; ccl::var-name is a macro, se we can't do #'ccl::var-name directly\n (ccl::var-name var))\n vars))) \n \n\n;;;; ** SBCL\n \n#+sbcl\n(defun environment-p (environment)\n (subtypep (class-of environment) (find-class 'sb-kernel:lexenv)))\n\n#+sbcl\n(defun lexical-variables (environment)\n (mapcar #'first (sb-c::lexenv-vars environment)))\n\n;;;; ** CMUCL\n\n#+cmu\n(defun environment-p (environment)\n (subtypep (class-of environment) (find-class 'c::lexenv)))\n\n#+cmu\n(defun lexical-variables (environment)\n (mapcar #'first (c::lexenv-variables environment)))\n\n","new_contents":";;;; -*- lisp -*-\n\n(in-package :it.bese.arnesi)\n\n;;;; * Portable lexical environment access\n\n;;;; ** OpenMCL\n\n#+openmcl\n(defun environment-p (environment)\n (subtypep (class-of environment) 'ccl::lexical-environment))\n\n#+openmcl\n(defun lexical-variables (environment)\n (loop\n for env = environment\n then (ccl::lexenv.parent-env env)\n while (and env\n (not (ccl::istruct-typep env 'ccl::definition-environment)))\n for vars = (ccl::lexenv.variables env)\n when (listp vars)\n append (mapcar (lambda (var)\n ;; ccl::var-name is a macro, se we can't do #'ccl::var-name directly\n (ccl::var-name var))\n vars))) \n\n;;;; ** SBCL\n \n#+sbcl\n(defun environment-p (environment)\n (subtypep (class-of environment) (find-class 'sb-kernel:lexenv)))\n\n#+sbcl\n(defun lexical-variables (environment)\n (mapcar #'first (sb-c::lexenv-vars environment)))\n\n;;;; ** CMUCL\n\n#+cmu\n(defun environment-p (environment)\n (subtypep (class-of environment) (find-class 'c::lexenv)))\n\n#+cmu\n(defun lexical-variables (environment)\n (mapcar #'first (c::lexenv-variables environment)))\n\n","subject":"Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment","message":"Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment\n\ndarcs-hash:20050719152230-dd2a1-020627dbba3080ad3dd9b8086e892978f81028d3.gz\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"evrim\/arnesi"} {"commit":"93f199a1cc21c3c1e44ff23c5f53f860962dc641","old_file":"cl-postgres+local-time.asd","new_file":"cl-postgres+local-time.asd","old_contents":"(defsystem :cl-postgres+local-time\n :depends-on (:cl-postgres :local-time)\n :components ((:module \"src\"\n :components ((:module \"integration\"\n :components ((:file \"cl-postgres\")))))))\n","new_contents":"(defsystem #:cl-postgres+local-time\n :name \"cl-postgres+local-time\"\n :version \"1.0.5\"\n :author \"Daniel Lowe \"\n :description \"Integration between cl-postgres and local-time\"\n :depends-on (:cl-postgres :local-time)\n :components ((:module \"src\"\n :components ((:module \"integration\"\n :components ((:file \"cl-postgres\")))))))\n","subject":"Update cl-postgres integration system file","message":"Update cl-postgres integration system file\n\nFixes issue #39.\n","lang":"Common Lisp","license":"mit","repos":"deadtrickster\/local-time,orivej\/local-time"} {"commit":"2ea2d2f1ecfeae6832a0db576828d3e0dd20424d","old_file":"Code\/Boot\/create-bridge-classes.lisp","new_file":"Code\/Boot\/create-bridge-classes.lisp","old_contents":"(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"..\/CLOS\/t-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-object-defclass.lisp\" c r)\n (ld \"..\/CLOS\/metaobject-defclass.lisp\" c r)\n (ld \"..\/CLOS\/specializer-defclass.lisp\" c r)))\n","new_contents":"(cl:in-package #:sicl-boot)\n\n(defun create-bridge-classes (boot)\n (let ((c (c1 boot))\n\t(r (r2 boot)))\n (ld \"..\/CLOS\/t-defclass.lisp\" c r)\n (ld \"..\/CLOS\/standard-object-defclass.lisp\" c r)\n (ld \"..\/CLOS\/metaobject-defclass.lisp\" c r)\n (ld \"..\/CLOS\/specializer-defclass.lisp\" c r)\n (ld \"..\/CLOS\/class-defclass.lisp\" c r)))\n","subject":"Load a file containing the definition of the class CLASS.","message":"Load a file containing the definition of the class CLASS.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"84139fae57cf760f85ae16df95cae06ba012b9c4","old_file":"Code\/CLOS\/Boot\/Phase2\/initialize-instance.lisp","new_file":"Code\/CLOS\/Boot\/Phase2\/initialize-instance.lisp","old_contents":"(cl:in-package #:sicl-clos)\n\n(defmethod initialize-instance (object &rest keys &key)\n (declare (ignore object keys))\n nil)\n\n(cl:defmethod cl:initialize-instance :after\n ((metaobject metaobject) &rest keys &key &allow-other-keys)\n (apply #'initialize-instance metaobject keys))\n","new_contents":"(cl:in-package #:sicl-clos)\n\n(setf (fdefinition 'initialize-instance)\n (fdefinition 'cl:initialize-instance))\n\n","subject":"Set fdefinition of SICL-CLOS:INITIALIZE-INSTANCE to CL:INITIALIZE-INTANCE.","message":"Set fdefinition of SICL-CLOS:INITIALIZE-INSTANCE to CL:INITIALIZE-INTANCE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"fd459d09e3070834d53c20b4e5683837046f0009","old_file":"Code\/Compiler\/Extrinsic-environment\/load-file-defun.lisp","new_file":"Code\/Compiler\/Extrinsic-environment\/load-file-defun.lisp","old_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun load-file (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (load-source-with-environments\n (asdf:system-relative-pathname :sicl-extrinsic-environment filename)\n environment\n environment))\n","new_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun load-file (filename environment)\n (format *trace-output* \"Loading file ~a~%\" filename)\n (finish-output *trace-output*)\n (load-source-with-environments\n (asdf:system-relative-pathname :sicl-extrinsic-environment filename)\n environment\n environment))\n","subject":"Call FINISH-OUTPUT after writing trace message.","message":"Call FINISH-OUTPUT after writing trace message.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"1aefd3e52075f28af9bc90e50126f9810b159846","old_file":"plugins\/gh-pages.lisp","new_file":"plugins\/gh-pages.lisp","old_contents":"(eval-when (:compile-toplevel :load-toplevel)\n (ql:quickload 'puri))\n\n(defpackage :coleslaw-gh-pages\n (:use :cl)\n (:import-from :puri #:parse-uri #:uri-host)\n (:import-from :coleslaw #:*config*\n #:deploy\n #:deploy-dir\n #:domain\n #:rel-path)\n (:export #:enable))\n\n(in-package :coleslaw-gh-pages)\n\n(defvar *cname* nil\n \"The domain CNAME for github to serve pages from.\")\n\n(defmethod deploy :after (staging)\n (let ((blog (truename (rel-path (deploy-dir *config*) \".curr\"))))\n (delete-file (rel-path blog \"index.html\"))\n (cl-fad:copy-file (rel-path blog \"1.html\") (rel-path blog \"index.html\"))\n (with-open-file (out (rel-path blog \"CNAME\")\n :direction :output\n :if-exists :supersede\n :if-does-not-exist :create)\n (format out \"~A~%\" *cname*))))\n\n(defun enable (&key cname)\n (typecase cname\n (string (setf *cname* cname))\n (t (setf *cname* (uri-host (parse-uri (domain *config*)))))\n (otherwise (error \"Not a valid CNAME: ~A\" cname))))\n","new_contents":"(eval-when (:compile-toplevel :load-toplevel)\n (ql:quickload 'puri))\n\n(defpackage :coleslaw-gh-pages\n (:use :cl)\n (:import-from :puri #:parse-uri #:uri-host)\n (:import-from :coleslaw #:*config*\n #:deploy\n #:deploy-dir\n #:domain\n #:rel-path)\n (:export #:enable))\n\n(in-package :coleslaw-gh-pages)\n\n(defvar *cname* nil\n \"The domain CNAME for github to serve pages from.\")\n\n(defmethod deploy :after (staging)\n (let ((blog (rel-path (deploy-dir *config*) \".curr\")))\n (delete-file (rel-path blog \"index.html\"))\n (cl-fad:copy-file (rel-path blog \"1.html\") (rel-path blog \"index.html\"))\n (with-open-file (out (rel-path blog \"CNAME\")\n :direction :output\n :if-exists :supersede\n :if-does-not-exist :create)\n (format out \"~A~%\" *cname*))))\n\n(defun enable (&key cname)\n (typecase cname\n (string (setf *cname* cname))\n (t (setf *cname* (uri-host (parse-uri (domain *config*)))))\n (otherwise (error \"Not a valid CNAME: ~A\" cname))))\n","subject":"Remove call to truename to fix CNAME generation.","message":"Remove call to truename to fix CNAME generation.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"redline6561\/coleslaw,kingcons\/coleslaw"} {"commit":"13d10ccbfa8f602103eaa7344e5082fb005f40e0","old_file":"test-grid-reporting.asd","new_file":"test-grid-reporting.asd","old_contents":";;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; -*-\r\n;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;; See LICENSE for details.\r\n\r\n(asdf:defsystem #:test-grid-reporting\r\n :version \"0.1.0\"\r\n :serial t\r\n :depends-on (#:test-grid-data #:test-grid-utils #:test-grid-agent #:html-template)\r\n :components\r\n ((:module \"reporting\"\r\n :serial t\r\n :components\r\n ((:file \"package\")\r\n (:file \"my-time\")\r\n (:file \"cl-ex\")\r\n (:file \"do-results\")\r\n (:file \"distinct\")\r\n (:file \"html-printers\")\r\n (:file \"list-failures\")\r\n (:file \"list-results\")\r\n (:file \"templating\")\r\n (:file \"reporting\")\r\n (:file \"test-runs\")\r\n (:file \"csv\")\r\n (:file \"pivot\")\r\n (:file \"pivot2\")\r\n (:file \"quicklisp-diff\")\r\n (:file \"library-report\")\r\n (:file \"regressions\")\r\n (:file \"meta-info-from-quicklisp\")\r\n (:file \"dependencies-and-blockers\")\r\n (:file \"load-failures\")\r\n (:file \"compiler-diff\")\r\n (:file \"demo-reports\")\r\n (:file \"durations\")\r\n (:file \"contributors\")))))\r\n","new_contents":";;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; -*-\r\n;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;; See LICENSE for details.\r\n\r\n(asdf:defsystem #:test-grid-reporting\r\n :version \"0.1.0\"\r\n :serial t\r\n :depends-on (#:test-grid-data #:test-grid-utils #:test-grid-agent #:html-template)\r\n :components\r\n ((:module \"reporting\"\r\n :serial t\r\n :components\r\n ((:file \"package\")\r\n (:file \"my-time\")\r\n (:file \"cl-ex\")\r\n (:file \"do-results\")\r\n (:file \"distinct\")\r\n (:file \"html-printers\")\r\n (:file \"list-results\")\r\n (:file \"templating\")\r\n (:file \"reporting\")\r\n (:file \"test-runs\")\r\n (:file \"csv\")\r\n (:file \"pivot\")\r\n (:file \"pivot2\")\r\n (:file \"quicklisp-diff\")\r\n (:file \"library-report\")\r\n (:file \"regressions\")\r\n (:file \"meta-info-from-quicklisp\")\r\n (:file \"dependencies-and-blockers\")\r\n (:file \"load-failures\")\r\n (:file \"compiler-diff\")\r\n (:file \"demo-reports\")\r\n (:file \"durations\")\r\n (:file \"contributors\")))))\r\n","subject":"Remove old unused function test-gird-reporting::list-failures","message":"Remove old unused function test-gird-reporting::list-failures\n","lang":"Common Lisp","license":"mit","repos":"cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid"} {"commit":"26bdc4533250bf2e251dc2b540089ddd4d52ef78","old_file":"src\/main\/cltl\/math-system-utils.lisp","new_file":"src\/main\/cltl\/math-system-utils.lisp","old_contents":";; math-system-utils.lisp - misc. utility forms\n\n(in-package #:math)\n\n(define-condition entity-condition ()\n ((name\n :initarg :name\n :reader entity-condition-name)))\n\n\n(define-condition entity-not-found (error entity-condition)\n ())\n\n(define-condition redefinition-condition (style-warning)\n ((previous-object\n :initarg :previous\n :accessor redefinition-condition-previous-object)\n (new-object\n :initarg :new\n :accessor redefinition-condition-new-object)))\n\n\n(define-condition container-condition ()\n ((container\n :intarg :container\n :reader container-condition-container)))\n","new_contents":";; math-system-utils.lisp - misc. utility forms\n\n(in-package #:math)\n\n(define-condition entity-condition ()\n ((name\n :initarg :name\n :reader entity-condition-name)))\n\n\n(define-condition entity-not-found (error entity-condition)\n ())\n\n(define-condition redefinition-condition (style-warning)\n ((previous-object\n :initarg :previous\n :accessor redefinition-condition-previous-object)\n (new-object\n :initarg :new\n :accessor redefinition-condition-new-object)))\n\n\n(define-condition container-condition ()\n ((container\n :initarg :container\n :reader container-condition-container)))\n","subject":"Correct typo in class defn","message":"CONTAINER-CONDITION: Correct typo in class defn\n","lang":"Common Lisp","license":"epl-1.0","repos":"MetaCommunity\/igneous-math"} {"commit":"5e058b7b08e48b7950053584afe76652be36bd5b","old_file":"init.lisp","new_file":"init.lisp","old_contents":";; Declaration of package\n;; Liam Healy 2009-02-22 09:55:45EST pkgdcl.lisp\n;; Time-stamp: <2009-05-12 15:27:21EDT init.lisp>\n\n(in-package :common-lisp-user)\n\n(defpackage :foreign-structures-by-value\n (:nicknames #:fsbv)\n (:use #:common-lisp))\n\n(cffi:load-foreign-library\n #+darwin \"libffi.dylib\"\n #+(and (not darwin) unix) \"libffi.so\")\n\n(pushnew :fsbv *features*)\n","new_contents":";; Declaration of package\n;; Liam Healy 2009-02-22 09:55:45EST pkgdcl.lisp\n;; Time-stamp: <2009-08-22 16:20:00EDT init.lisp>\n\n(in-package :common-lisp-user)\n\n(defpackage :foreign-structures-by-value\n (:nicknames #:fsbv)\n (:use #:common-lisp))\n\n(cffi:load-foreign-library\n #+darwin \"libffi.dylib\"\n #+(and (not darwin) unix) \"libffi.so\")\n\n;;; When installed through Mac Ports, GSL .h files will be found\n;;; in \/opt\/local\/include.\n#+darwin\n(setf cffi-grovel::*cc-flags*\n (append '(\"-I\" \"\/opt\/local\/include\/\") cffi-grovel::*cc-flags*))\n\n(pushnew :fsbv *features*)\n","subject":"Add include path for OSX","message":"Add include path for OSX\n\nDarwin ports installs .h files under \/opt\/local\/include\/, so put -I\noption onto cffi-grovel::*cc-flags*.\n","lang":"Common Lisp","license":"mit","repos":"mcna\/cffi,3b\/cffi,3b\/cffi,attila-lendvai\/cffi,stassats\/cffi,cffi\/cffi,cffi\/cffi,attila-lendvai\/cffi,stassats\/cffi,dkochmanski\/cffi,dkochmanski\/cffi,stassats\/cffi,dkochmanski\/cffi,mcna\/cffi,cffi\/cffi,3b\/cffi"} {"commit":"86a814ccf383359a458ec1e6fe78f0daf4b9238a","old_file":"2-3-tree\/2-3-tree.lisp","new_file":"2-3-tree\/2-3-tree.lisp","old_contents":"(cl:in-package #:clump-2-3-tree)\n\n(defclass tree ()\n ((%contents :initform nil :accessor contents)\n (%leaf-class :initarg :leaf-class :reader leaf-class)\n (%2-node-class :initarg :2-node-class :reader 2-node-class)\n (%3-node-class :initarg :3-node-class :reader 3-node-class)))\n\n(defclass node ()\n ((%parent :initarg :parent :accessor parent)\n (%tree :initarg :tree :reader tree)))\n\n(defclass leaf (node)\n ((%contents :initarg :contents :accessor contents)))\n\n(defclass 2-node (node)\n ((%left :initarg :left :accessor left)\n (%right :initarg :right :accessor right)))\n\n(defgeneric 2-node-p (object)\n (:method (object) nil)\n (:method ((node 2-node)) t))\n\n(defclass 3-node (node)\n ((%left :initarg :left :accessor left)\n (%middle :initarg :middle :accessor middle)\n (%right :initarg :right :accessor right)))\n","new_contents":"(cl:in-package #:clump-2-3-tree)\n\n(defclass tree ()\n ((%contents :initform nil :accessor contents)\n (%leaf-class :initarg :leaf-class :reader leaf-class)\n (%2-node-class :initarg :2-node-class :reader 2-node-class)\n (%3-node-class :initarg :3-node-class :reader 3-node-class)))\n\n(defclass node ()\n ((%parent :initarg :parent :accessor parent)\n (%tree :initarg :tree :reader tree)))\n\n(defclass leaf (node)\n ((%contents :initarg :contents :accessor contents)))\n\n(defclass 2-node (node)\n ((%left :initarg :left :accessor left)\n (%right :initarg :right :accessor right)))\n\n(defgeneric 2-node-p (object)\n (:method (object) nil)\n (:method ((node 2-node)) t))\n\n(defclass 3-node (node)\n ((%left :initarg :left :accessor left)\n (%middle :initarg :middle :accessor middle)\n (%right :initarg :right :accessor right)))\n\n(defgeneric 3-node-p (object)\n (:method (object) nil)\n (:method ((node 3-node)) t))\n","subject":"Define generic function 3-NODE-P with two methods.","message":"Define generic function 3-NODE-P with two methods.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"a7fa25a46a63efb9cd1e19403ee88c0f4dc59398","old_file":"apis-of-test-frameworks\/eos-api.lisp","new_file":"apis-of-test-frameworks\/eos-api.lisp","old_contents":"(defpackage #:eos-api\r\n (:use :cl #:api-dsl)\r\n (:export #:run-test-suites\r\n #:failed-tests))\r\n\r\n(in-package #:eos-api)\r\n\r\n(proclfun run-test-suites (&rest (test-suite-spec symbol)) t\r\n \"Runs one or more Eos test suites specified by arguments and returns \r\nan opaque result object combining all the results. The result object may \r\nbe passed to the FAILED-TESTS function to retreive the list of tests\r\nfailed in all the test sutes.\")\r\n\r\n(proclfun failed-tests ((test-suite-result t)) list\r\n \"List of failed test names. Test names are downcased strings.\r\nThe TEST-SUITE-RESULT parameter must be a result of the RUN-TEST-SUITE\r\nfunction.\")\r\n","new_contents":"(defpackage #:eos-api\r\n (:use :cl #:api-dsl)\r\n (:export #:run-test-suites\r\n #:failed-tests))\r\n\r\n(in-package #:eos-api)\r\n\r\n(proclfun run-test-suites (&rest (test-suite-spec symbol)) t\r\n \"Runs one or more Eos test suites specified by arguments and returns \r\nan opaque result object combining all the results. The result object may \r\nbe passed to the FAILED-TESTS function to retreive the list of tests\r\nfailed in all the test sutes.\")\r\n\r\n(proclfun failed-tests ((test-suite-result t)) list\r\n \"List of failed test names. Test names are downcased strings.\r\nThe TEST-SUITE-RESULT parameter must be a result of the RUN-TEST-SUITES\r\nfunction.\")\r\n","subject":"Fix typo in a docstring.","message":"Fix typo in a docstring.\n","lang":"Common Lisp","license":"mit","repos":"cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,cl-test-grid\/cl-test-grid,d35h\/cl-test-grid,cl-test-grid\/cl-test-grid,d35h\/cl-test-grid,cl-test-grid\/cl-test-grid"} {"commit":"fe6080418f101aa9fc88e7396f0370748c79ccff","old_file":"Binary-tree\/iterative-traversal.lisp","new_file":"Binary-tree\/iterative-traversal.lisp","old_contents":"(cl:in-package #:clump-binary-tree)\n\n(defgeneric iterative-traversal (tree pre in post))\n\n(defmethod iterative-traversal ((tree node-with-parent) pre in post)\n (let ((current-node tree))\n (tagbody\n pre\n (if (funcall pre current-node)\n\t (let ((left (left current-node)))\n\t (if (null left)\n\t\t (go in)\n\t\t (progn (setf current-node left)\n\t\t\t(go pre))))\n\t (go in))\n in\n (if (funcall in current-node)\n\t (let ((right (right current-node)))\n\t (if (null right)\n\t\t (go post)\n\t\t (progn (setf current-node right)\n\t\t\t(go pre))))\n\t (go post))\n post\n (funcall post current-node)\n (let ((parent (parent current-node)))\n\t (if (null parent)\n\t (return-from iterative-traversal)\n\t (if (eq current-node (left parent))\n\t\t (progn (setf current-node parent)\n\t\t\t(go in))\n\t\t (progn (setf current-node parent)\n\t\t\t(go post))))))))\n\n","new_contents":"(cl:in-package #:clump-binary-tree)\n\n;;;; Depth-first iterative traversal.\n;;;;\n;;;; PRE, IN, and POST are functions of a single variable. Each of\n;;;; these functions is called with a NODE as its argument.\n;;;;\n;;;; Before a node is visited, PRE is called with that node as an\n;;;; argument. If PRE returns true, this is an indication that the\n;;;; left sub-tree of that node should be visited. Otherwise, the\n;;;; current node is treated as if its left sub-tree were NIL.\n;;;;\n;;;; After the left sub-tree of some node has been visited, IN is\n;;;; called with that node as an argument. If IN returns true, this\n;;;; is an indication that the right sub-tree of that node should be\n;;;; visited. Otherwise, the current node is treated as if its right\n;;;; sub-tree were NIL.\n;;;;\n;;;; After the right sub-tree of some node has been visited, POST is\n;;;; called with that node as an argument. The return value of POST\n;;;; is ignored.\n\n(defgeneric iterative-traversal (tree pre in post))\n\n(defmethod iterative-traversal ((tree node-with-parent) pre in post)\n (let ((current-node tree))\n (tagbody\n pre\n (if (funcall pre current-node)\n\t (let ((left (left current-node)))\n\t (if (null left)\n\t\t (go in)\n\t\t (progn (setf current-node left)\n\t\t\t(go pre))))\n\t (go in))\n in\n (if (funcall in current-node)\n\t (let ((right (right current-node)))\n\t (if (null right)\n\t\t (go post)\n\t\t (progn (setf current-node right)\n\t\t\t(go pre))))\n\t (go post))\n post\n (funcall post current-node)\n (let ((parent (parent current-node)))\n\t (if (null parent)\n\t (return-from iterative-traversal)\n\t (if (eq current-node (left parent))\n\t\t (progn (setf current-node parent)\n\t\t\t(go in))\n\t\t (progn (setf current-node parent)\n\t\t\t(go post))))))))\n\n","subject":"Add comment explaining what ITERATIVE-TRAVERSAL does.","message":"Add comment explaining what ITERATIVE-TRAVERSAL does.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"11e88c737d7d4235a11c2184b4826fb2dc9909ff","old_file":"Binary-tree\/docstrings-english.lisp","new_file":"Binary-tree\/docstrings-english.lisp","old_contents":"(cl:in-package #:clump-binary-tree)\n\n(setf (documentation 'left 'function)\n (format nil \"Given a binary tree, return the left child of that tree.~@\n If an object other than a binary tree is given,~@\n then an error of type INVALID-BINARY-TREE is signaled.\"))\n\n(setf (documentation 'right 'function)\n (format nil \"Given a binary tree, return the right child of that tree.~@\n If an object other than a binary tree is given,~@\n then an error of type INVALID-BINARY-TREE is signaled.\"))\n\n(setf (documentation '(setf left) 'function)\n (format nil \"Given two binary trees, NEW and TREE,~@\n make NEW the new left child of TREE.~@\n NEW may be a node or NIL.~@\n If TREE is NIL an error of type,~@\n INVALID-BINARY-TREE is signaled.\"))\n","new_contents":"(cl:in-package #:clump-binary-tree)\n\n(setf (documentation 'left 'function)\n (format nil \"Given a binary tree, return the left child of that tree.~@\n If an object other than a binary tree is given,~@\n then an error of type INVALID-BINARY-TREE is signaled.\"))\n\n(setf (documentation 'right 'function)\n (format nil \"Given a binary tree, return the right child of that tree.~@\n If an object other than a binary tree is given,~@\n then an error of type INVALID-BINARY-TREE is signaled.\"))\n\n(setf (documentation '(setf left) 'function)\n (format nil \"Given two binary trees, NEW and TREE,~@\n make NEW the new left child of TREE.~@\n NEW may be a node or NIL.~@\n If TREE is NIL an error of type,~@\n INVALID-BINARY-TREE is signaled.\"))\n\n(setf (documentation '(setf right) 'function)\n (format nil \"Given two binary trees, NEW and TREE,~@\n make NEW the new right child of TREE.~@\n NEW may be a node or NIL.~@\n If TREE is NIL an error of type,~@\n INVALID-BINARY-TREE is signaled.\"))\n","subject":"Add English documentation for function (SETF RIGHT).","message":"Add English documentation for function (SETF RIGHT).\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"8e1fa16831688e20705b1d142e2de9a250c118bd","old_file":"environment\/stage1\/conditional.lisp","new_file":"environment\/stage1\/conditional.lisp","old_contents":";;;; TRE environment\n;;;; Copyright (c) 2005-2008 Sven Klose \n\n(defmacro when (predicate &rest expr)\n `(and ,predicate\n ,(if (cdr expr)\n\t `(progn ,@expr)\n\t (car expr))))\n\n(defmacro unless (predicate &rest expr)\n `(when (not ,predicate) ,@expr))\n\n(defun group2 (x)\n (if x\n (cons (if (cdr x)\n\t \t\t (list (car x) (cadr x))\n\t \t\t (list (car x)))\n\t (group2 (cddr x)))))\n\n(defmacro case (val &rest cases)\n (let g (gensym)\n `(let ,g ,val\n (if \n ,@(apply #'append (%simple-mapcar\n\t\t\t\t\t\t #'((x)\n \t\t\t\t (if (cdr x)\n \t\t\t\t `((equal ,g ,(car x)) ,(cadr x))\n\t \t \t\t\t\t (list (car x))))\n \t\t\t\t (group2 cases)))))))\n","new_contents":";;;; TRE environment\n;;;; Copyright (c) 2005-2008,2011 Sven Klose \n\n(defmacro when (predicate &rest expr)\n `(and ,predicate\n ,(if (cdr expr)\n\t `(progn ,@expr)\n\t (car expr))))\n\n(defmacro unless (predicate &rest expr)\n `(when (not ,predicate) ,@expr))\n\n(defun group2 (x)\n (if x\n (cons (if (cdr x)\n\t \t\t (list (car x) (cadr x))\n\t \t\t (list (car x)))\n\t (group2 (cddr x)))))\n\n(defmacro case (&rest cases)\n (let g (gensym)\n (let op (if (eq :test (car cases))\n (cadr cases)\n 'equal)\n (let v (if (eq :test (car cases))\n (caddr cases)\n (car cases))\n `(let ,g ,v\n (if \n ,@(apply #'append (%simple-mapcar\n\t\t\t\t\t\t #'((x)\n \t\t\t\t (if (cdr x)\n \t\t\t\t `((,op ,g ,(car x)) ,(cadr x))\n\t \t \t\t\t\t (list (car x))))\n \t\t\t\t (group2 (if (eq :test (car cases))\n (cdddr cases)\n (cdr cases)))))))))))\n","subject":"TEST keyword accepted as first argument.","message":"CASE: TEST keyword accepted as first argument.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"3285d6642e9f3bce92f522d0e677ef6dacc6eb24","old_file":"Code\/Cleavir\/Intermediate-representation\/HIR\/cleavir-hir.asd","new_file":"Code\/Cleavir\/Intermediate-representation\/HIR\/cleavir-hir.asd","old_contents":"(cl:in-package #:common-lisp-user)\n\n(asdf:defsystem :cleavir-hir\n :depends-on (:cleavir-ir)\n :serial t\n :components\n ((:file \"data\")\n (:file \"box-unbox-mixins\")\n (:file \"side-effect-mixins\")\n (:file \"general-purpose-instructions\")\n (:file \"fixnum-related-instructions\")\n (:file \"integer-related-instructions\")\n (:file \"float-related-instructions\")\n (:file \"cons-related-instructions\")\n (:file \"standard-object-related-instructions\")\n (:file \"array-related-instructions\")\n (:file \"multiple-value-related-instructions\")\n (:file \"environment-related-instructions\")\n (:file \"graphviz-drawing\")))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :cleavir-hir\n :depends-on (:cleavir-ir)\n :serial t\n :components\n ((:file \"data\")\n (:file \"box-unbox-mixins\")\n (:file \"side-effect-mixins\")\n (:file \"general-purpose-instructions\")\n (:file \"fixnum-related-instructions\")\n (:file \"integer-related-instructions\")\n (:file \"float-related-instructions\")\n (:file \"cons-related-instructions\")\n (:file \"standard-object-related-instructions\")\n (:file \"array-related-instructions\")\n (:file \"multiple-value-related-instructions\")\n (:file \"environment-related-instructions\")\n (:file \"graphviz-drawing\")))\n","subject":"Use package ASDF-USER to define system.","message":"Use package ASDF-USER to define system.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"c655c22333497861d90b1fdccf923aa78ce024af","old_file":"Code\/Compiler\/Extrinsic-compiler\/File-compiler\/compile-file.lisp","new_file":"Code\/Compiler\/Extrinsic-compiler\/File-compiler\/compile-file.lisp","old_contents":"(cl:in-package #:sicl-extrinsic-file-compiler)\n\n(defparameter *sicl* (make-instance 'sicl-target-sicl:sicl))\n\n(defparameter *gnu-linux* (make-instance 'sicl-os-gnu-linux:gnu-linux))\n\n(defparameter *x86-64* (make-instance 'sicl-x86-64:x86-64))\n\n(defun ast-from-stream (stream environment)\n (cleavir-ast:make-progn-ast\n (loop with eof = (list nil)\n\t for form = (sicl-reader:read stream nil eof)\n\t until (eq form eof)\n\t collect (cleavir-generate-ast:generate-ast form environment))))\n\n(defun compile-stream (stream environment)\n (let* ((cleavir-generate-ast:*compiler* 'cl:compile-file)\n\t (ast (ast-from-stream stream environment))\n\t (hir (cleavir-ast-to-hir:compile-toplevel ast)))\n (cleavir-hir-transformations:hir-transformations\n hir\n *sicl*\n *x86-64*\n *gnu-linux*)\n hir))\n\n(defun compile-file (filename environment)\n (with-open-file (stream filename :direction :input)\n (compile-stream stream environment)))\n","new_contents":"(cl:in-package #:sicl-extrinsic-file-compiler)\n\n(defparameter *sicl* (make-instance 'sicl-target-sicl:sicl))\n\n(defparameter *gnu-linux* (make-instance 'sicl-os-gnu-linux:gnu-linux))\n\n(defparameter *x86-64* (make-instance 'cleavir-processor-x86-64:x86-64))\n\n(defun ast-from-stream (stream environment)\n (cleavir-ast:make-progn-ast\n (loop with eof = (list nil)\n\t for form = (sicl-reader:read stream nil eof)\n\t until (eq form eof)\n\t collect (cleavir-generate-ast:generate-ast form environment))))\n\n(defun compile-stream (stream environment)\n (let* ((cleavir-generate-ast:*compiler* 'cl:compile-file)\n\t (ast (ast-from-stream stream environment))\n\t (hir (cleavir-ast-to-hir:compile-toplevel ast)))\n (cleavir-hir-transformations:hir-transformations\n hir\n *sicl*\n *x86-64*\n *gnu-linux*)\n (cleavir-ir:hir-to-mir hir *sicl* *x86-64* *gnu-linux*)))\n\n(defun compile-file (filename environment)\n (with-open-file (stream filename :direction :input)\n (compile-stream stream environment)))\n","subject":"Use Cleavir def of x86-64.","message":"Use Cleavir def of x86-64.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL"} {"commit":"51b40529386561f46e57748a178b24e164a0703e","old_file":"Problem001\/CommonLisp\/solution_1.lisp","new_file":"Problem001\/CommonLisp\/solution_1.lisp","old_contents":";; Common Lisp version\n;; Manoel Vilela\n\n\n(defun div (x d)\n (= (mod x d) 0))\n\n(defun special-sum (n)\n (reduce '+ (loop for x from 1 to n when (or (div x 5) (div x 3)) collect x)))\n\n(format t \"~d\" (special-sum 1000))\n","new_contents":";; Common Lisp version\n;; Manoel Vilela\n\n\n(defun div (x d)\n (= (mod x d) 0))\n\n(defun special-sum (n)\n (reduce '+ (loop for x from 1 to n when (or (div x 5) (div x 3)) collect x)))\n\n(format t \"~d\" (special-sum 999))\n","subject":"Fix a little error on CommonLisp solution at P001","message":"Fix a little error on CommonLisp solution at P001\n\nThe loop-for macro using ~from-to~ had a interval closed [a, b]\ndiffers common range functions like Python and Clojure, whose\nthe range is [a, b).\n","lang":"Common Lisp","license":"mit","repos":"DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler"} {"commit":"4327b4ba273f0b79310cb488e495c2a5e49884b4","old_file":"com.gigamonkeys.parser.asd","new_file":"com.gigamonkeys.parser.asd","old_contents":";;\n;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.\n;;\n\n(defsystem com.gigamonkeys.parser\n :author \"Peter Seibel \"\n :components\n ((:file \"packages\")\n (:file \"parser\" :depends-on (\"packages\")))\n :depends-on (:com.gigamonkeys.macro-utilities \n\t :com.gigamonkeys.utilities))\n\n","new_contents":";;\n;; Copyright (c) 2005-2011, Peter Seibel. All rights reserved.\n;;\n\n(defsystem com.gigamonkeys.parser\n :author \"Peter Seibel \"\n :description \"Parser generator, loosely based on Henry Baker's META paper.\"\n :components\n ((:file \"packages\")\n (:file \"parser\" :depends-on (\"packages\")))\n :depends-on (:com.gigamonkeys.macro-utilities\n :com.gigamonkeys.utilities))\n","subject":"Add description to .asd file.","message":"Add description to .asd file.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"gigamonkey\/monkeylib-parser"} {"commit":"0513418641eae7387f81585015ea6ddd031564c1","old_file":"Code\/Data-and-control-flow\/setf.lisp","new_file":"Code\/Data-and-control-flow\/setf.lisp","old_contents":"(in-package #:sicl-data-and-control-flow)\n\n(defmacro setf (&whole form &environment env place new-value-form &rest more-pairs)\n (cond ((null more-pairs)\n\t (multiple-value-bind (variables\n\t\t\t values\n\t\t\t store-variables\n\t\t\t writer-form\n\t\t\t reader-form)\n\t (sicl-env:get-setf-expansion place env)\n\t (declare (ignore reader-form))\n\t `(let* ,(mapcar #'list variables values)\n\t ;; Optimize a bit when there is only one store variable.\n\t ,(if (= 1 (length store-variables))\n\t\t `(let ((,(first store-variables) ,new-value-form))\n\t\t ,writer-form)\n\t\t `(multiple-value-bind ,store-variables\n\t\t\t,new-value-form\n\t\t ,writer-form)))))\n\t((not (null (cdr more-pairs)))\n\t `(progn (setf ,place ,new-value-form)\n\t\t (setf ,@more-pairs)))\n\t(t\n\t (error 'odd-number-of-arguments-to-setf :form form))))\n\t\t\n","new_contents":"(cl:in-package #:sicl-data-and-control-flow)\n\n(defmacro setf (&whole form &environment env place new-value-form &rest more-pairs)\n (cond ((null more-pairs)\n\t (multiple-value-bind (variables\n\t\t\t values\n\t\t\t store-variables\n\t\t\t writer-form\n\t\t\t reader-form)\n\t (sicl-env:get-setf-expansion place env)\n\t (declare (ignore reader-form))\n\t `(let* ,(mapcar #'list variables values)\n\t ;; Optimize a bit when there is only one store variable.\n\t ,(if (= 1 (length store-variables))\n\t\t `(let ((,(first store-variables) ,new-value-form))\n\t\t ,writer-form)\n\t\t `(multiple-value-bind ,store-variables\n\t\t\t,new-value-form\n\t\t ,writer-form)))))\n\t((not (null (cdr more-pairs)))\n\t `(progn (setf ,place ,new-value-form)\n\t\t (setf ,@more-pairs)))\n\t(t\n\t (error 'odd-number-of-arguments-to-setf :form form))))\n","subject":"Use explicit package prefix for IN-PACKAGE.","message":"Use explicit package prefix for IN-PACKAGE.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL"} {"commit":"8273efe00e7cda437557277c9313632f145bff91","old_file":"plugins\/static-pages.lisp","new_file":"plugins\/static-pages.lisp","old_contents":"(defpackage :coleslaw-static-pages\n (:use :cl)\n (:export #:enable)\n (:import-from :coleslaw #:*config*\n #:content\n #:content-text\n #:page-url\n #:find-all\n #:render\n #:publish\n #:theme-fn\n #:render-text\n #:write-document))\n\n(in-package :coleslaw-static-pages)\n\n(defclass page (content)\n ((title :initarg :title :reader title-of)\n (url :initarg :url :reader page-url)))\n\n(defmethod initialize-instance :after ((object page) &key)\n ;; Expect all static-pages to be written in Markdown for now.\n (with-slots (url coleslaw::text) object\n (setf url (make-pathname :defaults url)\n coleslaw::text (render-text coleslaw::text :md))))\n\n(defmethod render ((object page) &key next prev)\n ;; For the time being, we'll re-use the normal post theme.\n (declare (ignore next prev))\n (funcall (theme-fn 'post) (list :config *config*\n :post object)))\n\n(defmethod publish ((doc-type (eql (find-class 'page))))\n (dolist (page (find-all 'page))\n (write-document page)))\n\n(defun enable ())\n","new_contents":"(defpackage :coleslaw-static-pages\n (:use :cl)\n (:export #:enable)\n (:import-from :coleslaw #:*config*\n #:content\n #:find-all\n #:render\n #:publish\n #:theme-fn\n #:render-text\n #:write-document))\n\n(in-package :coleslaw-static-pages)\n\n(defclass page (content)\n ((title :initarg :title :reader coleslaw::title-of)))\n\n(defmethod initialize-instance :after ((object page) &key)\n ;; Expect all static-pages to be written in Markdown for now.\n (with-slots (coleslaw::url coleslaw::text) object\n (setf coleslaw::url (make-pathname :defaults coleslaw::url)\n coleslaw::text (render-text coleslaw::text :md))))\n\n(defmethod render ((object page) &key next prev)\n ;; For the time being, we'll re-use the normal post theme.\n (declare (ignore next prev))\n (funcall (theme-fn 'post) (list :config *config*\n :post object)))\n\n(defmethod publish ((doc-type (eql (find-class 'page))))\n (dolist (page (find-all 'page))\n (write-document page)))\n\n(defun enable ())\n","subject":"Fix symbols in static pages plugin some more.","message":"Fix symbols in static pages plugin some more.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"Ferada\/coleslaw,kingcons\/coleslaw,superjudge\/coleslaw,redline6561\/coleslaw,6x13\/coleslaw"} {"commit":"7c63e12acd220be08fc369c298a55f0272de971e","old_file":"src\/error-reporter.lisp","new_file":"src\/error-reporter.lisp","old_contents":"(in-package :clox)\n\n(let ((had-error nil))\n\n (-> had-error () boolean)\n (defun had-error ()\n had-error)\n\n (-> raise-error (integer string) null)\n (defun raise-error (line message)\n (report line \"\" message))\n\n (-> report (integer string string) null)\n (defun report (line location message)\n (format *error-output* \"[line ~D] Error ~A: ~A~%\" line location message)\n (setf had-error t)\n nil))\n\n;; TODO: Show actual place of problem instead of line\n","new_contents":"(in-package :clox)\n\n(let ((had-error nil))\n\n (-> had-error () boolean)\n (defun had-error ()\n had-error)\n\n (-> reset-error-flag () null)\n (defun reset-error-flag ()\n (setf had-error nil)\n nil)\n\n (-> raise-error (integer string) null)\n (defun raise-error (line message)\n (report line \"\" message))\n\n (-> report (integer string string) null)\n (defun report (line location message)\n (format *error-output* \"[line ~D] Error ~A: ~A~%\" line location message)\n (setf had-error t)\n nil))\n\n;; TODO: Show actual place of problem instead of line\n","subject":"Add option to reset error flag","message":"Add option to reset error flag\n","lang":"Common Lisp","license":"mit","repos":"MatthewRock\/clox,MatthewRock\/clox"} {"commit":"4b1dcda68c94a3242aae44507191e8405e4a9344","old_file":"package.lisp","new_file":"package.lisp","old_contents":";;;; package.lisp\n\n(defpackage #:gpxtools\n (:use #:cl)\n (:export #:read-gpx\n #:distance\n #:elevation-gain\n #:elevation-loss\n #:distance-between\n #:elevation-diff\n #:meters-to-feet\n #:meters-to-miles\n #:get-summary\n #:summarize\n #:collect-points\n #:elevation-plot\n #:find-loop\n #:simplify\n #:write-gpx\n #:gpx-file-tracks\n #:gpx-track-segments\n #:gpx-segment-points\n #:gpx-segment-point-count\n\n #:gpx-pt-lat\n #:gpx-pt-lon\n #:gpx-pt-ele\n #:gpx-pt-time\n\n #:gpx-file-from-track\n ))\n\n","new_contents":";;;; package.lisp\n\n(defpackage #:gpxtools\n (:use #:cl)\n (:export #:read-gpx\n #:distance\n #:elevation-gain\n #:elevation-loss\n #:distance-between\n #:elevation-diff\n #:meters-to-feet\n #:meters-to-miles\n #:get-summary\n #:summarize\n #:collect-points\n #:elevation-plot\n #:find-loop\n #:simplify\n #:write-gpx\n #:gpx-file-tracks\n #:gpx-track-segments\n #:gpx-segment-points\n #:gpx-segment-point-count\n\n #:gpx-pt-lat\n #:gpx-pt-lon\n #:gpx-pt-ele\n #:gpx-pt-time\n\n #:lat\n #:lon\n #:ele\n #:gpx-file-from-track\n ))\n\n","subject":"Add lat, lon, and ele exports.","message":"Add lat, lon, and ele exports.\n","lang":"Common Lisp","license":"isc","repos":"jl2\/gpxtools"} {"commit":"e8bd4e7ff690b9feef71d6238f56ba89e7b40a15","old_file":"code\/test-suite\/petalisp.utilities.lisp","new_file":"code\/test-suite\/petalisp.utilities.lisp","old_contents":";;;; © 2016-2020 Marco Heisig - license: GNU AGPLv3 -*- coding: utf-8 -*-\n\n(in-package #:petalisp.test-suite)\n\n(check-package '#:petalisp.utilities)\n\n(define-test wsdeque-test\n (loop repeat 100 do\n (let* ((n-threads (petalisp.utilities:number-of-cpus))\n (iterations (random 50000))\n (wsdeque (petalisp.utilities:make-wsdeque))\n (threads\n (loop for index below n-threads\n collect\n (bordeaux-threads:make-thread\n (lambda ()\n (loop repeat iterations\n with item = nil\n when (zerop (random n-threads))\n do (setf item (petalisp.utilities:wsdeque-steal wsdeque))\n and when item collect it)))))\n (v1\n (loop for value below iterations\n with item = nil\n do (petalisp.utilities:wsdeque-push wsdeque value)\n when (zerop (mod value n-threads))\n do (setf item (petalisp.utilities:wsdeque-pop wsdeque))\n and when item collect it))\n (v3\n (loop for item = (petalisp.utilities:wsdeque-pop wsdeque)\n while item collect item))\n (v2\n (mapcan #'bordeaux-threads:join-thread threads)))\n (is (= (+ (length v1) (length v2) (length v3)) iterations))\n (loop for expected below iterations\n for value in (sort (append v1 v2 v3) #'<)\n do (is (= value expected))))))\n","new_contents":";;;; © 2016-2020 Marco Heisig - license: GNU AGPLv3 -*- coding: utf-8 -*-\n\n(in-package #:petalisp.test-suite)\n\n(check-package '#:petalisp.utilities)\n\n(define-test wsdeque-test\n (loop repeat 50 do\n (let* ((n-threads (petalisp.utilities:number-of-cpus))\n (iterations (random 20000))\n (wsdeque (petalisp.utilities:make-wsdeque))\n (threads\n (loop for index below n-threads\n collect\n (bordeaux-threads:make-thread\n (lambda ()\n (loop repeat iterations\n with item = nil\n when (zerop (random n-threads))\n do (setf item (petalisp.utilities:wsdeque-steal wsdeque))\n and when item collect it)))))\n (v1\n (loop for value below iterations\n with item = nil\n do (petalisp.utilities:wsdeque-push wsdeque value)\n when (zerop (mod value n-threads))\n do (setf item (petalisp.utilities:wsdeque-pop wsdeque))\n and when item collect it))\n (v3\n (loop for item = (petalisp.utilities:wsdeque-pop wsdeque)\n while item collect item))\n (v2\n (mapcan #'bordeaux-threads:join-thread threads)))\n (is (= (+ (length v1) (length v2) (length v3)) iterations))\n (loop for expected below iterations\n for value in (sort (append v1 v2 v3) #'<)\n do (is (= value expected))))))\n","subject":"Make the wsdeque test less expensive.","message":"Make the wsdeque test less expensive.\n","lang":"Common Lisp","license":"agpl-3.0","repos":"marcoheisig\/Petalisp,marcoheisig\/Petalisp"} {"commit":"59e49d7decd3daf4cf30de8426bdac97845ff224","old_file":"environment\/stage0\/simple-defines.lisp","new_file":"environment\/stage0\/simple-defines.lisp","old_contents":"(%defmacro defvar (name &optional (init '%%%no-init))\n (print-definition `(var ,name))\n (? (not (symbol? name))\n (%error \"Symbol expected as variable name.\"))\n `(%defvar ,name ,(? (eq '%%%no-init init)\n `',init\n init)))\n\n(%defmacro var (name &optional (init nil))\n `(defvar ,name ,init))\n\n(var *constants* nil)\n\n(%defmacro defconstant (name &optional (init nil))\n (print-definition `(defconstant ,name))\n `(progn\n (var ,name ,init)\n (setq *constants* (. (. ',name ',init) *constants*))))\n\n(%defmacro const (name &optional (init nil))\n `(var ,name ,init))\n","new_contents":"(%defmacro defvar (name &optional (init '%%%no-init))\n (print-definition `(var ,name))\n (? (not (symbol? name))\n (%error \"Symbol expected as variable name.\"))\n `(%defvar ,name ,(? (eq '%%%no-init init)\n `',init\n init)))\n\n(%defmacro var (name &optional (init nil))\n `(defvar ,name ,init))\n\n(var *constants* nil)\n\n(%defmacro defconstant (name &optional (init nil))\n (print-definition `(defconstant ,name))\n `(progn\n (var ,name ,init)\n (setq *constants* (. (. ',name ',init) *constants*))))\n\n(%defmacro const (name &optional (init nil))\n `(defconstant ,name ,init))\n","subject":"Convert CONST to DEFCONSTANT, not to DEFVAR.","message":"Convert CONST to DEFCONSTANT, not to DEFVAR.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"2957eac7485333074bc3bf213376933a036deef8","old_file":"Code\/Sequences\/sicl-sequence-support.asd","new_file":"Code\/Sequences\/sicl-sequence-support.asd","old_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-sequence-support\n :serial t\n :components\n ((:file \"packages\")\n (:file \"utilities\")\n (:file \"find\")\n (:file \"position\")))\n","new_contents":"(cl:in-package #:asdf-user)\n\n(defsystem :sicl-sequence-support\n :serial t\n :components\n ((:file \"packages\")\n (:file \"utilities\")\n (:file \"conditions\")\n (:file \"find\")\n (:file \"position\")))\n","subject":"Include component conditions.lisp in system definition.","message":"Include component conditions.lisp in system definition.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"1b28b841c357c212137fcb7d92c67c1033aeef28","old_file":"Code\/Cleavir\/AST-transformations\/hoist-load-time-value.lisp","new_file":"Code\/Cleavir\/AST-transformations\/hoist-load-time-value.lisp","old_contents":"(cl:in-package #:cleavir-ast-transformations)\n\n(defun find-load-time-value-asts (ast)\n (if (typep ast 'cleavir-ast:load-time-value-ast)\n (list ast)\n (let ((children (cleavir-ast:children ast)))\n\t(reduce #'append (mapcar #'find-load-time-value-asts children)\n\t\t:from-end t))))\n\n(defun hoist-load-time-value (ast)\n (let* ((load-time-value-asts (find-load-time-value-asts ast))\n\t (forms (mapcar #'cleavir-ast:form load-time-value-asts)))\n (loop for ast in load-time-value-asts\n\t do (change-class ast 'cleavir-ast:lexical-ast :name (gensym)))\n (cleavir-ast:make-top-level-function-ast\n ast load-time-value-asts forms)))\n","new_contents":"(cl:in-package #:cleavir-ast-transformations)\n\n(defun find-load-time-value-asts (ast)\n (let ((table (make-hash-table :test #'eq)))\n (labels ((traverse (ast)\n\t (unless (gethash ast table)\n\t\t (setf (gethash ast table) t)\n\t\t (if (typep ast 'cleavir-ast:load-time-value-ast)\n\t\t (list ast)\n\t\t (let ((children (cleavir-ast:children ast)))\n\t\t (reduce #'append\n\t\t\t (mapcar #'traverse children)\n\t\t\t :from-end t))))))\n (traverse ast))))\n\n(defun hoist-load-time-value (ast)\n (let* ((load-time-value-asts (find-load-time-value-asts ast))\n\t (forms (mapcar #'cleavir-ast:form load-time-value-asts)))\n (loop for ast in load-time-value-asts\n\t do (change-class ast 'cleavir-ast:lexical-ast :name (gensym)))\n (cleavir-ast:make-top-level-function-ast\n ast load-time-value-asts forms)))\n","subject":"Make sure the computation terminates even though the AST has cycles.","message":"Make sure the computation terminates even though the AST has cycles.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"a4121b237b70af8aa9c872f91cf3153e31ea8f6f","old_file":"wolfcoin.asd","new_file":"wolfcoin.asd","old_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: WOLFCOIN; Base: 10 -*- file: wolfcoin.asd\n\n;;;; Copyright (c) 2014 \"the Phoeron\" Colin J.E. Lupton <\/\/thephoeron.com>\n;;;; See LICENSE for additional information.\n\n(in-package :cl-user)\n\n(defpackage wolfcoin-asd\n (:use :cl :asdf)\n (:export #:*wolfcoin-version*))\n\n(in-package :wolfcoin-asd)\n\n(defparameter *wolfcoin-version* \"0.0.1\")\n\n(defsystem wolfcoin\n :version #.*wolfcoin-version*\n :author \"\\\"the Phoeron\\\" Colin J.E. Lupton \"\n :license \"MIT\"\n :description \"Crypto-currency client, protocol, and wallet written in Common Lisp.\"\n :serial t\n :depends-on (:local-time\n :ironclad\n :cl-isaac\n :cl-json\n :babel\n :cl-store)\n :components ((:file \"packages\")\n (:file \"coin\")\n (:file \"transaction\")\n (:file \"p2p\")\n (:file \"blockchain\")\n (:module \"wallet\"\n :serial t\n :components ((:file \"db\")\n (:file \"wallet\")))\n (:module \"rpc\"\n :serial t\n :components ((:file \"interface\")\n (:file \"rpc\")))\n (:module \"client\"\n :serial t\n :components ((:file \"client\")))\n (:file \"wolfcoin\")))\n\n;; EOF\n","new_contents":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: WOLFCOIN; Base: 10 -*- file: wolfcoin.asd\n\n;;;; Copyright (c) 2014 \"the Phoeron\" Colin J.E. Lupton <\/\/thephoeron.com>\n;;;; See LICENSE for additional information.\n\n(in-package :cl-user)\n\n(defpackage wolfcoin-asd\n (:use :cl :asdf)\n (:export #:*wolfcoin-version*))\n\n(in-package :wolfcoin-asd)\n\n(defparameter *wolfcoin-version* \"0.0.1\")\n\n(defsystem wolfcoin\n :version #.*wolfcoin-version*\n :author \"\\\"the Phoeron\\\" Colin J.E. Lupton \"\n :license \"MIT\"\n :description \"Crypto-currency client, protocol, and wallet written in Common Lisp.\"\n :serial t\n :depends-on (:local-time\n :ironclad\n :cl-isaac\n :cl-json\n :babel\n :cl-store\n :ltk)\n :components ((:file \"packages\")\n (:file \"coin\")\n (:file \"transaction\")\n (:file \"p2p\")\n (:file \"blockchain\")\n (:module \"wallet\"\n :serial t\n :components ((:file \"db\")\n (:file \"wallet\")))\n (:module \"rpc\"\n :serial t\n :components ((:file \"interface\")\n (:file \"rpc\")))\n (:module \"client\"\n :serial t\n :components ((:file \"client\")))\n (:file \"wolfcoin\")))\n\n;; EOF\n","subject":"Add LTK as system dependency","message":"Add LTK as system dependency\n","lang":"Common Lisp","license":"mit","repos":"thephoeron\/wolfcoin"} {"commit":"cfea27906dea9ad79ca906137883e415b96667f2","old_file":"lispkit.lisp","new_file":"lispkit.lisp","old_contents":"(in-package :lispkit)\n\n\n(defun load-ui-from-file (path)\n (if (probe-file path)\n (let ((builder (gtk:gtk-builder-new)))\n (gtk:gtk-builder-add-from-file builder (namestring path))\n builder)\n (error (format nil \"non existent path: ~s\" path))))\n\n(defun main (&rest args)\n (declare (ignore args))\n (within-main-loop\n (let* ((ui (load-ui-from-file\n (asdf:system-relative-pathname :lispkit \"main.ui\")))\n (window (gtk:gtk-builder-get-object ui \"mainwindow\"))\n (frame (gtk:gtk-builder-get-object ui \"scrolledwindow\"))\n (entry (gtk:gtk-builder-get-object ui \"entry_box\"))\n (view (webkit.foreign:webkit-web-view-new))\n (browser (new-browser ui view)))\n (gtk-container-add frame view)\n (g-signal-connect window \"key_press_event\"\n (new-key-dispatcher browser))\n (load-url \"http:\/\/www.github.com\/AeroNotix\/lispkit\" browser)\n (gtk-widget-hide entry)\n (dolist (widget (list window frame view))\n (gtk-widget-show widget)))))\n","new_contents":"(in-package :lispkit)\n\n\n(defparameter *default-page*\n \"http:\/\/www.github.com\/AeroNotix\/lispkit\")\n\n(defun load-ui-from-file (path)\n (if (probe-file path)\n (let ((builder (gtk:gtk-builder-new)))\n (gtk:gtk-builder-add-from-file builder (namestring path))\n builder)\n (error (format nil \"non existent path: ~s\" path))))\n\n(defun main (&rest args)\n (declare (ignore args))\n (within-main-loop\n (let* ((ui (load-ui-from-file\n (asdf:system-relative-pathname :lispkit \"main.ui\")))\n (window (gtk:gtk-builder-get-object ui \"mainwindow\"))\n (frame (gtk:gtk-builder-get-object ui \"scrolledwindow\"))\n (entry (gtk:gtk-builder-get-object ui \"entry_box\"))\n (view (webkit.foreign:webkit-web-view-new))\n (browser (new-browser ui view)))\n (gtk-container-add frame view)\n (g-signal-connect window \"key_press_event\"\n (new-key-dispatcher browser))\n (load-url *default-page* browser)\n (gtk-widget-hide entry)\n (dolist (widget (list window frame view))\n (gtk-widget-show widget)))))\n","subject":"Put the first URL into a named parameter","message":"Put the first URL into a named parameter\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"AeroNotix\/lispkit,AeroNotix\/lispkit"} {"commit":"cb7a34257c8396e0b46b91eb7b800f6f68881c1e","old_file":"environment\/stage0\/config-defaults-cl.lisp","new_file":"environment\/stage0\/config-defaults-cl.lisp","old_contents":"(%defvar *development?* nil)\n(%defvar *assert?* t)\n(%defvar *print-definitions?* t)\n\n;; Optional environment sections.\n\n(%defvar *tre-has-math* t) ; Mathematical functions.\n(%defvar *tre-has-class* t) ; STRUCT CLASS.\n\n;; Transpiler\n\n;;; Targets to include in environment:\n;;; :cl Common Lisp (sbcl)\n;;; :js JavaScript\/ECMAScript (browser + node.js)\n;;; :php PHP\n(%defvar *targets* '(:cl :js :php))\n\n(%defvar *print-notes?* t)\n(%defvar *print-status?* t)\n(%defvar *have-environment-tests* nil)\n(%defvar *have-compiler?* nil)\n","new_contents":"(%defvar *development?* t)\n(%defvar *assert?* t)\n(%defvar *print-definitions?* t)\n\n;; Optional environment sections.\n\n(%defvar *tre-has-math* t) ; Mathematical functions.\n(%defvar *tre-has-class* t) ; STRUCT CLASS.\n\n;; Transpiler\n\n;;; Targets to include in environment:\n;;; :cl Common Lisp (sbcl)\n;;; :js JavaScript\/ECMAScript (browser + node.js)\n;;; :php PHP\n(%defvar *targets* '(:cl :js :php))\n\n(%defvar *print-notes?* t)\n(%defvar *print-status?* t)\n(%defvar *have-environment-tests* nil)\n(%defvar *have-compiler?* nil)\n","subject":"Switch development mode back on.","message":"Switch development mode back on.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"c9670275b6a6b592507b147125a36a45142f9ad5","old_file":"environment\/stage4\/define-getset-alias.lisp","new_file":"environment\/stage4\/define-getset-alias.lisp","old_contents":"(defmacro define-get-alias (alias real &key (class nil))\n `(defmethod ,class ,($ 'get- alias) ()\n ,real))\n\n(defmacro define-set-alias (alias real &key (class nil))\n `(defmethod ,class ,($ 'set- alias) ()\n (= ,real x)))\n\n(defmacro define-getset-alias (alias real &key (class nil))\n `{(define-get-alias ,alias ,real :class ,class)\n (define-set-alias ,alias ,real :class ,class)})\n","new_contents":"(defmacro define-get-alias (alias real &key (class nil))\n `(defmethod ,class ,($ 'get- alias) ()\n ,real))\n\n(defmacro define-set-alias (alias real &key (class nil))\n `(defmethod ,class ,($ 'set- alias) (x)\n (= ,real x)))\n\n(defmacro define-getset-alias (alias real &key (class nil))\n `{(define-get-alias ,alias ,real :class ,class)\n (define-set-alias ,alias ,real :class ,class)})\n","subject":"Add missing argument for setter.","message":"Add missing argument for setter.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"76cbfe743b65f219c9fedcb411607344ba38d589","old_file":"environment\/transpiler\/targets\/javascript\/environment\/string.lisp","new_file":"environment\/transpiler\/targets\/javascript\/environment\/string.lisp","old_contents":";;;;; tré – Copyright (c) 2008–2014 Sven Michael Klose \n\n(declare-cps-exception string %string? string? string== string-concat string-upcase string-downcase string-subseq)\n(dont-obfuscate push join char-code-at to-string to-upper-case to-lower-case substr length)\n\n(js-type-predicate %string? \"string\")\n\n(defun string? (x)\n (| (%string? x)\n (instanceof x (%%native \"String\"))))\n\n(defun string-concat (&rest x)\n (alet (make-array)\n (dolist (i x (!.join \"\"))\n (& i (!.push i)))))\n\n(defun %elt-string (seq idx)\n (& (%%%< idx seq.length)\n (code-char (seq.char-code-at idx))))\n\n(defun string== (x y)\n (%%%== x y))\n\n(defun string-upcase (x)\n (& x (x.to-upper-case)))\n\n(defun string-downcase (x)\n (& x (x.to-lower-case)))\n\n(defun string-subseq (seq start &optional (end 99999))\n (unless (< (%%%- (length seq) 1) start end)\n (? (integer== start end)\n\t \"\"\n (seq.substr start (- end start)))))\n\n(defun number-string (x)\n (format nil \"~A\" x))\n","new_contents":";;;;; tré – Copyright (c) 2008–2014 Sven Michael Klose \n\n(declare-cps-exception string %string? string? string== string-concat string-upcase string-downcase string-subseq)\n(dont-obfuscate push join char-code-at to-string to-upper-case to-lower-case substr length)\n\n(js-type-predicate %string? \"string\")\n\n(defun string? (x)\n (| (%string? x)\n (instanceof x (%%native \"String\"))))\n\n(defun string-concat (&rest x)\n (alet (make-array)\n (dolist (i x (!.join \"\"))\n (& i (!.push i)))))\n\n(defun %elt-string (seq idx)\n (& (%%%< idx seq.length)\n (code-char (seq.char-code-at idx))))\n\n(defun string== (x y)\n (%%%== x y))\n\n(defun string-upcase (x)\n (& x (x.to-upper-case)))\n\n(defun string-downcase (x)\n (& x (x.to-lower-case)))\n\n(defun string-subseq (seq start &optional (end 99999))\n (unless (< (%%%- (length seq) 1) start end)\n (? (integer== start end)\n\t \"\"\n (seq.substr start (- end start)))))\n\n(defun number-string (x)\n (*String x))\n","subject":"Use native String instead of FORMAT.","message":"NUMBER-STRING: Use native String instead of FORMAT.\n","lang":"Common Lisp","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"} {"commit":"ba6d6758118c97f7176f13c06afedbb5dca01fd0","old_file":"Splay-tree\/splay-tree.lisp","new_file":"Splay-tree\/splay-tree.lisp","old_contents":"(cl:in-package #:clump-splay-tree)\n\n(defclass node (clump-binary-tree:node)\n ((%parent :initarg :parent :initform nil :accessor parent)))\n\n(defgeneric splay-step (node))\n\n(defgeneric splay (node))\n","new_contents":"(cl:in-package #:clump-splay-tree)\n\n(defgeneric splay-step (node))\n\n(defgeneric splay (node))\n","subject":"Remove class definition. Now, Binary-tree contains definition of node with parent.","message":"Remove class definition. Now, Binary-tree contains definition of node with parent.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"robert-strandh\/Clump"} {"commit":"1c7ae0d6450de3ed5252a3b17f3d9d70ad1605a0","old_file":"libraries\/download-manager\/tests\/tests.lisp","new_file":"libraries\/download-manager\/tests\/tests.lisp","old_contents":";;;; SPDX-FileCopyrightText: Atlas Engineer LLC\n;;;; SPDX-License-Identifier: BSD-3-Clause\n\n(in-package :cl-user)\n\n(prove:plan nil)\n\n(prove:subtest \"Simple HTTP\/HTTPS downloads\"\n (let ((uris '(\"https:\/\/abcl.org\"\n \"http:\/\/slack.net\"\n \"https:\/\/duckduckgo.com\"\n \"https:\/\/atlas.engineer\")))\n (dolist (uri uris)\n (prove:ok\n (download-manager:resolve (quri:uri uri))\n (format nil \"Able to download <~a>~%\" uri)))))\n\n(prove:finalize)\n","new_contents":";;;; SPDX-FileCopyrightText: Atlas Engineer LLC\n;;;; SPDX-License-Identifier: BSD-3-Clause\n\n(in-package :cl-user)\n\n(prove:plan nil)\n\n(prove:subtest \"Simple HTTP\/HTTPS downloads\"\n (let ((uris '(\"https:\/\/abcl.org\"\n \"http:\/\/en.wikipedia.org\/wiki\/Main_Page\"\n \"https:\/\/duckduckgo.com\"\n \"https:\/\/atlas.engineer\")))\n (dolist (uri uris)\n (prove:ok\n (download-manager:resolve (quri:uri uri))\n (format nil \"Able to download <~a>~%\" uri)))))\n\n(prove:finalize)\n","subject":"Replace offline slack.net with Wikipedia.","message":"libraries\/download-manager: Replace offline slack.net with Wikipedia.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"jmercouris\/NeXT,jmercouris\/NeXT"} {"commit":"80d0c71ac091446aa46aa4d728e412e8e44eadb5","old_file":"Code\/Compiler\/Extrinsic-environment\/fill.lisp","new_file":"Code\/Compiler\/Extrinsic-environment\/fill.lisp","old_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun fill-environment (environment)\n (import-from-host-common-lisp environment)\n (import-from-sicl-global-environment environment)\n (import-loop-support environment)\n (define-backquote-macros environment)\n (define-defmacro environment)\n (define-in-package environment)\n (define-default-setf-expander environment)\n ;; Load a file containing a definition of the macro LAMBDA. This\n ;; macro is particularly simple, so it doesn't really matter how it\n ;; is expanded. This is fortunate, because that the time this file\n ;; is loaded, the definition of DEFMACRO is still one we created\n ;; \"manually\" and which uses the host compiler to compile the macro\n ;; function in the null lexical environment. We define the macro\n ;; LAMBDA before we redefine DEFMACRO as a target macro because\n ;; PARSE-MACRO returns a LAMBDA form, so we need this macro in order\n ;; to redefine DEFMACRO.\n (load-file \"..\/..\/Evaluation-and-compilation\/lambda.lisp\" environment))\n","new_contents":"(cl:in-package #:sicl-extrinsic-environment)\n\n(defun fill-environment (environment)\n (import-from-host-common-lisp environment)\n (import-from-sicl-global-environment environment)\n (import-loop-support environment)\n (define-backquote-macros environment)\n (define-defmacro environment)\n (define-in-package environment)\n (define-default-setf-expander environment)\n ;; Load a file containing a definition of the macro LAMBDA. This\n ;; macro is particularly simple, so it doesn't really matter how it\n ;; is expanded. This is fortunate, because that the time this file\n ;; is loaded, the definition of DEFMACRO is still one we created\n ;; \"manually\" and which uses the host compiler to compile the macro\n ;; function in the null lexical environment. We define the macro\n ;; LAMBDA before we redefine DEFMACRO as a target macro because\n ;; PARSE-MACRO returns a LAMBDA form, so we need this macro in order\n ;; to redefine DEFMACRO.\n (load-file \"..\/..\/Evaluation-and-compilation\/lambda.lisp\" environment)\n ;; Load a file containing the definition of the macro\n ;; MULTIPLE-VALUE-BIND. We need it early because it is used in the\n ;; expansion of SETF, which we also need early for reasons explained\n ;; below.\n (load-file \"..\/..\/Environment\/multiple-value-bind.lisp\" environment))\n","subject":"Load file containing definition of MULTIPLE-VALUE-BIND.","message":"Load file containing definition of MULTIPLE-VALUE-BIND.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"f47f3080dd4363ada9c82b85d18202b260366572","old_file":"Bindings\/Lisp\/apitest.lisp","new_file":"Bindings\/Lisp\/apitest.lisp","old_contents":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; libbrlapi - A library providing access to braille terminals for applications.\n;\n; Copyright (C) 2006-2018 by Mario Lang \n;\n; libbrlapi comes with ABSOLUTELY NO WARRANTY.\n;\n; This is free software, placed under the terms of the\n; GNU Lesser General Public License, as published by the Free Software\n; Foundation; either version 2.1 of the License, or (at your option) any\n; later version. Please see the file LICENSE-LGPL for details.\n;\n; Web Page: http:\/\/brltty.com\/\n;\n; This software is maintained by Dave Mielke .\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(require 'asdf)\n(require 'sb-posix)\n\n(setf asdf:*central-registry*\n (list*\n (concatenate 'string (sb-posix:getcwd) \"\/\")\n asdf:*central-registry*\n )\n)\n\n(asdf:operate 'asdf:load-op 'brlapi)\n(require 'brlapi)\n\n(defun brlapi-test (&optional)\n \"Perform a test of various BrlAPI functiins.\"\n\n (let (\n (display (brlapi:open-connection))\n )\n\n (brlapi:print-object display *standard-output*)\n (brlapi:close-connection display)\n )\n)\n\n(brlapi-test)\n","new_contents":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; libbrlapi - A library providing access to braille terminals for applications.\n;\n; Copyright (C) 2006-2018 by Mario Lang \n;\n; libbrlapi comes with ABSOLUTELY NO WARRANTY.\n;\n; This is free software, placed under the terms of the\n; GNU Lesser General Public License, as published by the Free Software\n; Foundation; either version 2.1 of the License, or (at your option) any\n; later version. Please see the file LICENSE-LGPL for details.\n;\n; Web Page: http:\/\/brltty.com\/\n;\n; This software is maintained by Dave Mielke .\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(require 'asdf)\n(require 'sb-posix)\n\n(pushnew\n (concatenate 'string (sb-posix:getcwd) \"\/\")\n asdf:*central-registry*\n :test #'equal\n)\n\n(asdf:operate 'asdf:load-op 'brlapi)\n(require 'brlapi)\n\n(defun brlapi-test (&optional)\n \"Perform a test of various BrlAPI functiins.\"\n\n (let (\n (display (brlapi:open-connection))\n )\n\n (brlapi:print-object display *standard-output*)\n (brlapi:close-connection display)\n )\n)\n\n(brlapi-test)\n","subject":"Improve the way that brlapi.lisp is found. (ml)","message":"Improve the way that brlapi.lisp is found. (ml)\n","lang":"Common Lisp","license":"lgpl-2.1","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty"} {"commit":"accd18679bc5d40122d72822f0f5042f789b3a0a","old_file":"gigamonkey-distcompiler.asd","new_file":"gigamonkey-distcompiler.asd","old_contents":";;\n;; Copyright (c) 2010, Peter Seibel. All rights reserved.\n;;\n\n(defsystem gigamonkey-distcompiler\n :components\n ((:file \"packages\")\n (:file \"tarhash\" :depends-on (\"packages\"))\n (:file \"distcompiler\" :depends-on (\"packages\" \"tarhash\")))\n :depends-on (:ironclad))","new_contents":";;\n;; Copyright (c) 2010, Peter Seibel. All rights reserved.\n;;\n\n(defsystem gigamonkey-distcompiler\n :components\n ((:file \"packages\")\n (:file \"tarhash\" :depends-on (\"packages\"))\n (:file \"distcompiler\" :depends-on (\"packages\" \"tarhash\")))\n :depends-on (:ironclad\n :com.gigamonkeys.pathnames\n :com.gigamonkeys.utilities\n :com.gigamonkeys.macro-utilities))","subject":"Add needed dependencies to .asd.","message":"Add needed dependencies to .asd.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"gigamonkey\/quicklisp-distcompiler"} {"commit":"94d044b3463c27330e0b1ce56fb1713941e9349c","old_file":"Code\/Cleavir\/HIR-transformations\/Boolean-elimination\/find-boolean-tests.lisp","new_file":"Code\/Cleavir\/HIR-transformations\/Boolean-elimination\/find-boolean-tests.lisp","old_contents":"(cl:in-package #:cleavir-boolean-elimination)\n\n(defun find-boolean-tests (initial-instruction)\n (let ((result '()))\n (cleavir-ir:map-instructions-arbitrary-order\n (lambda (instruction)\n (when (typep instruction 'cleavir-ir:eq-instruction)\n\t (destructuring-bind (i1 i2) (cleavir-ir:inputs instruction)\n\t (when (or (boolean-input-p i1 nil)\n\t\t (boolean-input-p i2 nil))\n\t (push instruction result)))))\n initial-instruction)\n result))\n","new_contents":"(cl:in-package #:cleavir-boolean-elimination)\n\n;;; We search for EQ-INSTRUCTIONs where one of the inputs is a\n;;; LOAD-TIME-VALUE-INPUT with a constant form of NIL, meaning that\n;;; the instruction tests its other input as a Boolean. We return a\n;;; list of such instructions in the program.\n(defun find-boolean-tests (initial-instruction)\n (let ((result '()))\n (cleavir-ir:map-instructions-arbitrary-order\n (lambda (instruction)\n (when (typep instruction 'cleavir-ir:eq-instruction)\n\t (destructuring-bind (i1 i2) (cleavir-ir:inputs instruction)\n\t (when (or (boolean-input-p i1 nil)\n\t\t (boolean-input-p i2 nil))\n\t (push instruction result)))))\n initial-instruction)\n result))\n","subject":"Add comment explaining what the function does.","message":"Add comment explaining what the function does.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"e317ff2ce9f305d98584047cd59171a2d0b56463","old_file":"Code\/Loop\/parse-common.lisp","new_file":"Code\/Loop\/parse-common.lisp","old_contents":";;;; Copyright (c) 2014\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; all rights reserved. \n;;;;\n;;;; Permission is hereby granted to use this software for any \n;;;; purpose, including using, modifying, and redistributing it.\n;;;;\n;;;; The software is provided \"as-is\" with no warranty. The user of\n;;;; this software assumes any responsibility of the consequences. \n\n(cl:in-package #:sicl-loop)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Given a symbol S (no matter what package), return a singleton\n;;; parser Q that recognizes symbols with the same name as S. If Q\n;;; succeeds, it returns S.\n\n(defun keyword-parser (symbol)\n (singleton (constantly symbol)\n\t (lambda (token) (symbol-equal symbol token))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Parser for COMPOUND-FORM+, i.e. a non-empty sequence of compound\n;;; forms.\n\n(define-parser compound+\n (repeat+ (lambda (&rest forms)\n\t (cons 'progn forms))\n\t (singleton #'identity #'consp)))\n\t\t \n\n","new_contents":";;;; Copyright (c) 2014\n;;;;\n;;;; Robert Strandh (robert.strandh@gmail.com)\n;;;;\n;;;; all rights reserved. \n;;;;\n;;;; Permission is hereby granted to use this software for any \n;;;; purpose, including using, modifying, and redistributing it.\n;;;;\n;;;; The software is provided \"as-is\" with no warranty. The user of\n;;;; this software assumes any responsibility of the consequences. \n\n(cl:in-package #:sicl-loop)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Given a symbol S (no matter what package), return a singleton\n;;; parser Q that recognizes symbols with the same name as S. If Q\n;;; succeeds, it returns S.\n\n(defun keyword-parser (symbol)\n (singleton (constantly symbol)\n\t (lambda (token) (symbol-equal symbol token))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Parser for COMPOUND-FORM+, i.e. a non-empty sequence of compound\n;;; forms.\n\n(define-parser compound+\n (repeat+ (lambda (&rest forms)\n\t (cons 'progn forms))\n\t (singleton #'identity #'consp)))\n\t\t \n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; This parser succeeds whenever the list of tokens is either empty\n;;; or starts with a form that is not a loop keyword that can start a\n;;; clause. When it succeeds, it returns NIL as the result and the\n;;; original list of tokens.\n\n(defparameter *clause-keywords*\n '(#:initially #:finally\n #:with\n #:do #:return\n #:collect #:collecting\n #:append #:appending\n #:nconc #:nconcing\n #:count #:counting\n #:sum #:summing\n #:maximize #:maximizing\n #:minimize #:minimizing\n #:if #:when #:unless\n #:while #:until #:repeat #:always #:never #:thereis\n #:for #:as))\n\n(defun non-clause-keyword (tokens)\n (if (or (null tokens)\n\t (member (car tokens) *clause-keywords*\n\t\t :test #'symbol-equal))\n (values t nil tokens)\n (values nil nil tokens)))\n\n\t \n\n","subject":"Add a parser that recognizes things that are not clause keywords.","message":"Add a parser that recognizes things that are not clause keywords.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"4b8145a7cae4d1530ba25c95774fa5d4d424e333","old_file":"src\/feeds.lisp","new_file":"src\/feeds.lisp","old_contents":"(in-package :coleslaw)\n\n(defun date-to-timestamp (date)\n \"Convert a post DATE to a local-time timestamp.\"\n (destructuring-bind (date time) (cl-ppcre:split \" \" date)\n (apply 'local-time:encode-timestamp 0\n (mapcar #'parse-integer\n (append (reverse (cl-ppcre:split \":\" time))\n (reverse (cl-ppcre:split \"-\" date)))))))\n\n(defun make-pubdate (&optional date)\n \"Make a RFC1123 pubdate representing the current time or DATE, when supplied.\"\n (let ((timestamp (if date\n (date-to-timestamp date)\n (local-time:now))))\n (local-time:format-rfc1123-timestring nil timestamp)))\n\n(defun render-feeds (feeds)\n \"Render and write the given FEEDS for the site.\"\n (flet ((first-10 (list)\n (subseq list 0 (min (length list) 10))))\n (let* ((by-date (by-date (hash-table-values *posts*)))\n (posts (first-10 by-date)))\n (render-page (make-instance 'index :path \"rss.xml\" :posts posts) :rss-feed)\n (render-page (make-instance 'index :path \"feed.atom\" :posts posts) :atom-feed)\n (dolist (feed feeds)\n (let ((index (index-by-tag feed by-date)))\n (setf (index-path index) (format nil \"tag\/~a-rss.xml\" feed)\n (index-posts index) (first-10 (index-posts index)))\n (render-page index :rss))))))\n","new_contents":"(in-package :coleslaw)\n\n(defun make-pubdate (&optional date)\n \"Make a RFC1123 pubdate representing the current time or DATE, when supplied.\"\n (let ((timestamp (if date\n (date-to-timestamp date)\n (local-time:now))))\n (local-time:format-rfc1123-timestring nil timestamp)))\n\n(defun render-feeds (feeds)\n \"Render and write the given FEEDS for the site.\"\n (flet ((first-10 (list)\n (subseq list 0 (min (length list) 10))))\n (let* ((by-date (by-date (hash-table-values *posts*)))\n (posts (first-10 by-date)))\n (render-page (make-instance 'index :path \"rss.xml\" :posts posts) :rss-feed)\n (render-page (make-instance 'index :path \"feed.atom\" :posts posts) :atom-feed)\n (dolist (feed feeds)\n (let ((index (index-by-tag feed by-date)))\n (setf (index-path index) (format nil \"tag\/~a-rss.xml\" feed)\n (index-posts index) (first-10 (index-posts index)))\n (render-page index :rss))))))\n","subject":"Remove DATE-TO-TIMESTAMP since it was unused.","message":"Remove DATE-TO-TIMESTAMP since it was unused.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"redline6561\/coleslaw,kingcons\/coleslaw,superjudge\/coleslaw,Ferada\/coleslaw,6x13\/coleslaw"} {"commit":"4d79c34ab91d1a3a0b803372e0cbed4a2238eb93","old_file":"Code\/Boot\/print-object-defmethods-phase2.lisp","new_file":"Code\/Boot\/print-object-defmethods-phase2.lisp","old_contents":"(cl:in-package #:sicl-boot)\n\n(defmethod print-object ((class standard-class) stream)\n (format stream\n\t \"#\"\n\t (sicl-clos:class-name class)))\n","new_contents":"(cl:in-package #:sicl-boot)\n\n(defmethod print-object ((class standard-class) stream)\n (format stream\n\t \"#\"\n\t (sicl-clos:class-name class)))\n\n(defmethod print-object ((class sicl-clos:built-in-class) stream)\n (format stream\n\t \"#\"\n\t (sicl-clos:class-name class)))\n","subject":"Add method on PRINT-OBJECT specialized to BUILT-IN-CLASS.","message":"Add method on PRINT-OBJECT specialized to BUILT-IN-CLASS.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL"} {"commit":"f55a5f4b0c796aba7d1668cac60e820d77f07c8b","old_file":"db.lisp","new_file":"db.lisp","old_contents":"(defun make-cd (title artist rating ripped)\n (list :title title :artist artist :rating rating :ripped ripped))\n\n(defvar *db* nil)\n\n(defun add-cd (cd)\n (push cd *db*))\n\n(defun dump-db ()\n (dolist (cd *db*)\n (format t \"~{~a:~10t~a~%~}~%\" cd)))\n\n(defun dump-db-short ()\n (format t \"~{~{~a:~10t~a~%~}~%~}\" *db*))\n\n(defun prompt-read (prompt)\n (format *query-io* \"~a: \" prompt)\n (force-output *query-io*)\n (read-line *query-io*))\n\n(defun prompt-for-cd ()\n (make-cd\n (prompt-read \"Title\")\n (prompt-read \"Artist\")\n (or (parse-integer (prompt-read \"Rating\") :junk-allowed t) 0)\n (y-or-n-p \"Ripped [y\/n]\")))\n\n(defun add-cds ()\n (loop (add-cd (prompt-for-cd))\n (if (not (y-or-n-p \"Another? [y\/n]: \")) (return))))\n","new_contents":"(defun make-cd (title artist rating ripped)\n (list :title title :artist artist :rating rating :ripped ripped))\n\n(defvar *db* nil)\n\n(defun add-cd (cd)\n (push cd *db*))\n\n(defun dump-db ()\n (dolist (cd *db*)\n (format t \"~{~a:~10t~a~%~}~%\" cd)))\n\n(defun dump-db-short ()\n (format t \"~{~{~a:~10t~a~%~}~%~}\" *db*))\n\n(defun prompt-read (prompt)\n (format *query-io* \"~a: \" prompt)\n (force-output *query-io*)\n (read-line *query-io*))\n\n(defun prompt-for-cd ()\n (make-cd\n (prompt-read \"Title\")\n (prompt-read \"Artist\")\n (or (parse-integer (prompt-read \"Rating\") :junk-allowed t) 0)\n (y-or-n-p \"Ripped [y\/n]\")))\n\n(defun add-cds ()\n (loop (add-cd (prompt-for-cd))\n (if (not (y-or-n-p \"Another? [y\/n]: \")) (return))))\n\n(defun save-db (filename)\n (with-open-file (out filename\n\t\t :direction :output\n\t\t :if-exists :supersede)\n (with-standard-io-syntax\n (print *db* out))))\n","subject":"Add function to save database to file","message":"Add function to save database to file\n","lang":"Common Lisp","license":"mit","repos":"MattBlack85\/lisping"} {"commit":"ee514f588f7ba92c8844539aeaae3f646b9a434c","old_file":"t\/packages.lisp","new_file":"t\/packages.lisp","old_contents":";;;; -*- lisp -*-\n\n(defpackage :it.bese.yaclml.test\n (:use :common-lisp\n :arnesi\n :iterate\n\t:it.bese.yaclml\n\t:it.bese.FiveAM))\n\n(unless (5am:get-test :it.bese)\n (5am:def-suite :it.bese))\n\n(5am:def-suite :it.bese.yaclml :in :it.bese)\n","new_contents":";;;; -*- lisp -*-\n\n(defpackage :it.bese.yaclml.test\n (:use :common-lisp\n :arnesi\n :iterate\n\t:it.bese.yaclml\n\t:it.bese.FiveAM))\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (unless (5am:get-test :it.bese)\n (5am:def-suite :it.bese)))\n\n(5am:def-suite :it.bese.yaclml :in :it.bese)\n","subject":"Make sure the :it.bese suite is defined in time.","message":"Make sure the :it.bese suite is defined in time.\n","lang":"Common Lisp","license":"bsd-3-clause","repos":"sharplispers\/yaclml"} {"commit":"09960a884c8dc44a6e6b5aac39cbd8cc868310d1","old_file":"Code\/Environment\/other-functions.lisp","new_file":"Code\/Environment\/other-functions.lisp","old_contents":"(cl:in-package #:sicl-global-environment)\n\n(defvar *global-environment*)\n\n(defun expand-place (place environment)\n (when (null environment) \n (setf environment *global-environment*))\n (cond ((symbolp place)\n\t (let ((expansion (cleavir-env:symbol-macro-expansion place environment)))\n\t (if (eq place expansion)\n\t place\n\t (expand-place expansion environment))))\n\t((and (consp place) (symbolp (first place)))\n\t (let ((expander (cleavir-env:macro-function (first place)\n\t\t\t\t\t\t environment)))\n\t (if (null expander)\n\t place\n\t (expand-place (funcall expander place environment) environment))))\n\t(t\n\t (error \"Invalid place ~s\" place))))\n\n(defun get-setf-expansion (place &optional environment)\n (when (null environment) \n (setf environment *global-environment*))\n (let* ((expanded-place (expand-place place environment))\n\t (expander (if (symbolp expanded-place)\n\t\t (default-setf-expander *global-environment*)\n\t\t (or (setf-expander (first expanded-place)\n\t\t\t\t\t *global-environment*)\n\t\t\t (default-setf-expander *global-environment*)))))\n (funcall expander expanded-place)))\n","new_contents":"(cl:in-package #:sicl-global-environment)\n\n(defvar *global-environment*)\n\n(defun expand-place (place environment)\n (when (null environment) \n (setf environment *global-environment*))\n (cond ((symbolp place)\n\t (let ((expansion (cleavir-env:symbol-macro-expansion place environment)))\n\t (if (eq place expansion)\n\t place\n\t (expand-place expansion environment))))\n\t((and (consp place) (symbolp (first place)))\n\t (let ((expander (cleavir-env:macro-function (first place)\n\t\t\t\t\t\t environment)))\n\t (if (null expander)\n\t place\n\t (expand-place (funcall expander place environment) environment))))\n\t(t\n\t (error \"Invalid place ~s\" place))))\n\n(defun get-setf-expansion (place &optional environment)\n (when (null environment) \n (setf environment *global-environment*))\n (let* ((global-environment (cleavir-env:global-environment environment))\n\t (expanded-place (expand-place place environment))\n\t (expander (if (symbolp expanded-place)\n\t\t (default-setf-expander global-environment)\n\t\t (or (setf-expander (first expanded-place)\n\t\t\t\t\t global-environment)\n\t\t\t (default-setf-expander global-environment)))))\n (funcall expander expanded-place)))\n","subject":"Use new Cleavir function to find the global environment.","message":"Use new Cleavir function to find the global environment.\n","lang":"Common Lisp","license":"bsd-2-clause","repos":"vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,vtomole\/SICL,vtomole\/SICL,clasp-developers\/SICL,clasp-developers\/SICL,clasp-developers\/SICL"} {"commit":"16013be44b5acc230c5925074e8affc9031737a6","old_file":"html.lisp","new_file":"html.lisp","old_contents":"(fn html-option (value name selected)\n (string-concat \"