Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Ishimaru
asdf
Commits
0039f0bd
Commit
0039f0bd
authored
13 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
2.018.19: reset system in a more portable way.
Apparently, ecl doesn't like (change-class x 'standard-object).
parent
6e078832
No related branches found
Branches containing commit
Tags
2.018.19
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
asdf.asd
+1
-1
1 addition, 1 deletion
asdf.asd
asdf.lisp
+11
-6
11 additions, 6 deletions
asdf.lisp
with
12 additions
and
7 deletions
asdf.asd
+
1
−
1
View file @
0039f0bd
...
...
@@ -14,7 +14,7 @@
:licence
"MIT"
:description
"Another System Definition Facility"
:long-description
"ASDF builds Common Lisp software organized into defined systems."
:version
"2.018.1
8
"
;; to be automatically updated by bin/bump-revision
:version
"2.018.1
9
"
;; to be automatically updated by bin/bump-revision
:depends-on
()
:components
((
:file
"asdf"
)
...
...
This diff is collapsed.
Click to expand it.
asdf.lisp
+
11
−
6
View file @
0039f0bd
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
;;; This is ASDF 2.018.1
8
: Another System Definition Facility.
;;; This is ASDF 2.018.1
9
: Another System Definition Facility.
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
...
...
@@ -107,7 +107,7 @@
;; "2.345.6" would be a development version in the official upstream
;; "2.345.0.7" would be your seventh local modification of official release 2.345
;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
(
asdf-version
"2.018.1
8
"
)
(
asdf-version
"2.018.1
9
"
)
(
existing-asdf
(
find-class
'component
nil
))
(
existing-version
*asdf-version*
)
(
already-there
(
equal
asdf-version
existing-version
)))
...
...
@@ -1276,7 +1276,12 @@ processed in order by OPERATE."))
(
acons
property
new-value
(
slot-value
c
'properties
)))))
new-value
)
(
defclass
system
(
module
)
(
defclass
proto-system
()
; slots to keep when resetting a system
;; To preserve identity for all objects, we'd need keep the components slots
;; but also to modify parse-component-form to reset the recycled objects.
((
name
)
#|(components) (components-by-names)|#
))
(
defclass
system
(
module
proto-system
)
(
;; description and long-description are now available for all component's,
;; but now also inherited from component, but we add the legacy accessor
(
description
:accessor
system-description
:initarg
:description
)
...
...
@@ -2824,8 +2829,8 @@ Returns the new tree (which probably shares structure with the old one)"
(
%refresh-component-inline-methods
ret
rest
)
ret
)))
(
defun*
reset-
class
(
object
class
&rest
keys
&key
&allow-other-keys
)
(
apply
'change-class
(
change-class
object
'standard-object
)
class
keys
))
(
defun*
reset-
system
(
system
&rest
keys
&key
&allow-other-keys
)
(
apply
'change-class
(
change-class
system
'proto-system
)
'system
keys
))
(
defun*
do-defsystem
(
name
&rest
options
&key
pathname
(
class
'system
)
...
...
@@ -2842,7 +2847,7 @@ Returns the new tree (which probably shares structure with the old one)"
(
registered!
(
if
registered
(
rplaca
registered
(
get-universal-time
))
(
register-system
(
make-instance
'system
:name
name
))))
(
system
(
reset-
class
(
cdr
registered!
)
'system
(
system
(
reset-
system
(
cdr
registered!
)
:name
name
:source-file
(
load-pathname
)))
(
component-options
(
remove-keys
'
(
:class
)
options
)))
(
setf
(
gethash
name
*systems-being-defined*
)
system
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment