Skip to content

Commit

Permalink
Release 1h, from 2009-05-01.
Browse files Browse the repository at this point in the history
Changes since version 1g:
  - Improve stability of the XLib interface.
  - Improve reader eof-errorp behaviour.
  - Add POST, logging and dynamic generation to the HTTP service.
  - Add a simple local delivery SMTP service.
  - In the editor:
      - Add a ChangeLog mode.
      - Add authentication to Netnews.
      - Add a clock and a colour browser.
      - Update the MH interface to add sender details to the contacts db.
      - Rename the Info system to Doc and the GNU Info system to Info.
      - Add manpage, menu, Doc and Info highlighting.
      - Hack together some sketchy UTF-8 support.
      - Add two window sizing commands.
  • Loading branch information
mattmundell committed Jan 7, 2022
1 parent 7a67f9e commit 68e960e
Show file tree
Hide file tree
Showing 182 changed files with 11,668 additions and 6,800 deletions.
5 changes: 3 additions & 2 deletions src/.manifest
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"Build.lisp" 3440334903
"VERSION" 3440345601
"Build.lisp" 3442412473
"VERSION" 3450105872
"assembly/" NIL
"bin/" NIL
"code/" NIL
"compiler/" NIL
"debian/" NIL
"ed/" NIL
"etc/" NIL
"lisp/" -1
Expand Down
76 changes: 44 additions & 32 deletions src/Build.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,19 @@
(symlink-file "builder" new-builder)
(format t "Cloning build as new builder... done.~%"))))

(defvar user::*dist-dir* ())

(deftarget "dist" ( #| "kernel" "lisp" "ed" |#)
"Build a binary and source distribution. Return the name of the
resulting archive."
resulting archive.
If *dist-dir* is true, build into that directory and stop before
creating the actual archive."
(format t "Updating manifest...~%")
(format t "user::*dist-dir* ~A~%" user::*dist-dir*)
(format t "*package* ~A~%" *package*)
(sync:update-manifest-times "n:")
(let* ((base (pick-new-dir))
(let* ((base (or user::*dist-dir* (pick-new-dir)))
(bin (concatenate 'simple-string
base
"bin/"))
Expand Down Expand Up @@ -377,36 +384,41 @@
(get-build-directory)
"/spell-dictionary.bin")
"spell-dictionary.bin")))
(format t "Creating archive...~%")
(let* ((name (format () "~A/../../nightshade-~A--~A.tar.bz2"
(get-build-directory)
(read-line (open (format ()
"~A/VERSION"
(get-source-directory))))
;; FIX get build time from core
;; FIX improve format-time or format
(multiple-value-bind
(secs mins hours day month year)
(decode-universal-time (get-universal-time))
(declare (ignore secs))
(string-downcase
;; FIX ~2D so that prints 08 for 8
(format () "~2,'0D-~2,'0D-~2,'0D-~2,'0Dh~2,'0D"
year
month
day
hours
mins)))))
(cmd (format () "tar jcvf ~A ." name)))
(format t "Shell command: ~A" cmd)
(in-directory base
(ext::run-program
"/bin/sh" (list "-c" cmd)
:wait t :input ()
:output *standard-output* :error :output))
(dired:delete-file base :clobber t :recurse t)
(format t "Done.~%")
name))))
(if user::*dist-dir*
(progn
(format t "Done.~%")
t)
(progn
(format t "Creating archive...~%")
(let* ((name (format () "~A/../../nightshade-~A--~A.tar.bz2"
(get-build-directory)
(read-line (open (format ()
"~A/VERSION"
(get-source-directory))))
;; FIX get build time from core
;; FIX improve format-time or format
(multiple-value-bind
(secs mins hours day month year)
(decode-universal-time (get-universal-time))
(declare (ignore secs))
(string-downcase
;; FIX ~2D so that prints 08 for 8
(format () "~2,'0D-~2,'0D-~2,'0D-~2,'0Dh~2,'0D"
year
month
day
hours
mins)))))
(cmd (format () "tar jcvf ~A ." name)))
(format t "Shell command: ~A" cmd)
(in-directory base
(ext::run-program
"/bin/sh" (list "-c" cmd)
:wait t :input ()
:output *standard-output* :error :output))
(dired:delete-file base :clobber t :recurse t)
(format t "Done.~%")
name))))))


;;; Tests.
Expand Down
2 changes: 1 addition & 1 deletion src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1g
1h
2 changes: 1 addition & 1 deletion src/assembly/.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"alpha/" NIL
"assemfile.lisp" 3419751059
"assemfile.lisp" 3440347588
"hppa/" NIL
"mips/" NIL
"rt/" NIL
Expand Down
10 changes: 5 additions & 5 deletions src/assembly/alpha/.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"alloc.lisp" 3408220143
"arith.lisp" 3408220144
"array.lisp" 3408220144
"assem-rtns.lisp" 3408220144
"support.lisp" 3408220144
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
"support.lisp" 3440347588
10 changes: 5 additions & 5 deletions src/assembly/hppa/.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"alloc.lisp" 3408220144
"arith.lisp" 3408220144
"array.lisp" 3408220144
"assem-rtns.lisp" 3408220145
"support.lisp" 3408220145
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
"support.lisp" 3440347588
14 changes: 7 additions & 7 deletions src/assembly/mips/.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"alloc.lisp" 3408220145
"arith.lisp" 3408220145
"array.lisp" 3408220145
"assem-rtns.lisp" 3408220145
"bit-bash.lisp" 3408220145
"support.lisp" 3408220146
"wrlist.lisp" 3408220146
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
"bit-bash.lisp" 3440347588
"support.lisp" 3440347588
"wrlist.lisp" 3440347588
10 changes: 5 additions & 5 deletions src/assembly/rt/.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"alloc.lisp" 3408220146
"arith.lisp" 3408220146
"array.lisp" 3408220146
"assem-rtns.lisp" 3408220146
"support.lisp" 3408220147
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
"support.lisp" 3440347588
8 changes: 4 additions & 4 deletions src/assembly/sparc/.manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"alloc.lisp" 3408220147
"arith.lisp" 3408220147
"array.lisp" 3408220147
"assem-rtns.lisp" 3408220147
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
14 changes: 7 additions & 7 deletions src/assembly/x86/.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"alloc.lisp" 3419750730
"arith.lisp" 3419750800
"array.lisp" 3428873683
"assem-rtns.lisp" 3428875109
"bit-bash.lisp" 3407714343
"boot.lisp" 3429188269
"support.lisp" 3407714343
"alloc.lisp" 3440347588
"arith.lisp" 3440347588
"array.lisp" 3440347588
"assem-rtns.lisp" 3440347588
"bit-bash.lisp" 3440347588
"boot.lisp" 3440347588
"support.lisp" 3440347588
Loading

0 comments on commit 68e960e

Please sign in to comment.