Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EusLisp ver. 10 #493

Draft
wants to merge 388 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
388 commits
Select commit Hold shift + click to select a range
8c7f9fd
Start print-result with new line at unittest.l
Affonso-Gui Jun 10, 2020
294708c
Introduce exit-on-error slot to allow to proceed testing after errors…
Affonso-Gui Jun 10, 2020
cb29436
Print test name on failure messages at unittest.l
Affonso-Gui Jun 10, 2020
eb1add8
Adapt tests to new error handlers
Affonso-Gui Jun 10, 2020
f92b313
Add condition tests
Affonso-Gui Jun 10, 2020
d43e726
Remove :recursive option in handlers
Affonso-Gui Apr 15, 2021
45d36aa
Update documentation help files
Affonso-Gui Apr 15, 2021
d646124
Update *current-condition-handler* recursively
Affonso-Gui Apr 16, 2021
14a8e68
Use separate handler-case catch frames to avoid confusion on nested s…
Affonso-Gui Aug 26, 2021
c6829fd
Avoid nested condition handlers in assert
Affonso-Gui Sep 10, 2021
d368fcd
Allow unix:install-signal-handler to take integer arguments
Affonso-Gui Sep 29, 2021
9d0186f
Fix mismatch parenthesis
Affonso-Gui Oct 1, 2021
7f30d2c
Define sigcont-handler and compile from toplevel.l
Affonso-Gui Oct 1, 2021
68c47d6
Install signal handlers from within eustop
Affonso-Gui Oct 1, 2021
2775c33
Fix deprecated error call on GO
Affonso-Gui Oct 1, 2021
5eef0d7
Only list valid frames in sys:list-callstack
Affonso-Gui Oct 1, 2021
1cd06bf
Unwind callframes to avoid memory faults on TAGBODY
Affonso-Gui Oct 1, 2021
567044c
Use signals when there is no active handler in invoke-next-handler
Affonso-Gui Oct 1, 2021
8865edf
Avoid segfaults and fix formating in E_NOPACKAGE
Affonso-Gui Oct 1, 2021
c957fb8
Add fmakunbound
Affonso-Gui Sep 7, 2020
2142186
Add fmakunbound compiler entry
Affonso-Gui Sep 7, 2020
4a420d4
Add fmakunbound documentation
Affonso-Gui Sep 7, 2020
6d4745c
Update assoc documentation
Affonso-Gui Oct 4, 2021
d64b0e8
Update doc help files
Affonso-Gui Oct 4, 2021
d3a21db
Add sys:list-all-blocks
Affonso-Gui Nov 19, 2019
36d3147
Add sys:list-all-blocks documentation
Affonso-Gui Oct 4, 2021
a193cc1
Export sys:list-callstack
Affonso-Gui Oct 5, 2021
1b5b09a
Allow returns and tagbody on dolist, dotimes, do-symbols and do-exter…
Affonso-Gui Oct 5, 2021
d1a5382
Type check dimension in make-array
Affonso-Gui Apr 2, 2019
fbdb5a5
Remove sys:*gc-hook* and add safer sys:*gc-debug*
Affonso-Gui Oct 12, 2021
9780216
Add sys:list-all-tags
Affonso-Gui Oct 13, 2021
cca1de3
Update sys:*gc-debug* and sys:list-all-tags documentation
Affonso-Gui Oct 13, 2021
6c604c9
Update help files
Affonso-Gui Oct 13, 2021
54ea2a0
Only generate accessors when in defcondition and remove redundant :init
Affonso-Gui Oct 15, 2021
ed4ae21
Remove unused .new files
Affonso-Gui Oct 15, 2021
f960a04
Fix segfaults in get
Affonso-Gui Mar 1, 2022
102d0ba
Fix segfaults in nbutlast
Affonso-Gui Mar 1, 2022
21950b0
Raise actual errors in object :error
Affonso-Gui Mar 1, 2022
e7ba36e
Check argument type in char compilation
Affonso-Gui Mar 1, 2022
c36ef07
Raise more compilation errors
Affonso-Gui Mar 1, 2022
6f9613c
Fix SETELT for array values
Affonso-Gui Mar 2, 2022
32911a3
Move isbitvector definition to eus.h
Affonso-Gui Mar 8, 2022
c940077
Type-check compiled function declarations
Affonso-Gui Mar 8, 2022
9be388b
Allow symbols in string-trim
Affonso-Gui Mar 9, 2022
447d722
Allow null lists at mapc
Affonso-Gui Mar 8, 2022
ccc5fcc
Remove euserror variable initialization
Affonso-Gui Mar 10, 2022
c86e1dd
Search for :isatty method in unix:isatty for slime compability
Affonso-Gui Mar 21, 2022
cde489f
Reset *current-condition-handler* when entering a new repl level
Affonso-Gui Mar 21, 2022
3ac0311
Check only for numberp on type declarations
Affonso-Gui Mar 22, 2022
a776f56
Allow to use t as default condition in handler-bind and handler-case
Affonso-Gui May 2, 2022
d38a22d
Fix E_SLOT error message in ovafptr
Affonso-Gui May 2, 2022
703fe1f
Update documentation make-hash-table default keyargument value
Affonso-Gui May 5, 2022
e1f6ac3
Implement bindframe class for proper closures
Affonso-Gui Oct 23, 2021
77c980a
Use LAMCLOSURE in errhandler to ensure correct operation in uncompile…
Affonso-Gui Oct 24, 2021
b2a5466
Implement flet-frame class
Affonso-Gui Oct 24, 2021
9926ac3
Unwind fletfp
Affonso-Gui Oct 26, 2021
e467f47
Indent
Affonso-Gui Oct 24, 2021
5363d07
Remove unused scope argument from makemacrolet
Affonso-Gui Oct 24, 2021
b7ae811
Remove obsolete hide_ptr, brkloop, and newfletfp
Affonso-Gui Oct 26, 2021
6cf2375
Use 0 instead of NULL in fletframe-fclosure
Affonso-Gui Oct 26, 2021
dd0e960
Add E_NOBINDFRAME and E_NOFLETFRAME
Affonso-Gui Oct 26, 2021
746b036
Add sys:list-all-function-bindings and optional argument to sys:list-…
Affonso-Gui Oct 26, 2021
69d1148
Don't define bindframes as base classes
Affonso-Gui May 6, 2022
28eaf0d
Push fletframe before consing in makeflet
Affonso-Gui May 6, 2022
661409b
Unwind-protect :clear-external-functions on compilation errors
Affonso-Gui May 6, 2022
3be99f0
Add sys:list-all-function-bindings and optional argument to sys:list-…
Affonso-Gui Oct 26, 2021
d50be66
Enable closure compilation
Affonso-Gui Nov 4, 2021
dd60708
Track closure level on nested closures
Affonso-Gui Dec 21, 2021
ec76c26
Add :var-bindframe and support for object-variable closures
Affonso-Gui Dec 21, 2021
f6a2e91
Bind seqlet variables on spot to ensure accurate :copy-compiler results
Affonso-Gui Dec 21, 2021
9846423
Don't bind special variables to bindframes
Affonso-Gui Dec 21, 2021
8bef0b8
Fix flet scope on compiled code
Affonso-Gui Dec 21, 2021
4fffed6
Avoid assigning *unbound* to closure slot variables
Affonso-Gui Dec 21, 2021
d29ab02
Fix &aux compilation when there is &allow-other-keys
Affonso-Gui Dec 23, 2021
f7bbcdd
More fixes to closure compilation
Affonso-Gui Feb 28, 2022
a1d3afc
Fix compilation notes when already installed from apt
Affonso-Gui Feb 28, 2022
642c2bd
Add argument frame comment
Affonso-Gui Feb 28, 2022
e4691fe
Use pre-assigned bindframe when available
Affonso-Gui Mar 1, 2022
deded44
Consider closure-level in flet binding
Affonso-Gui Mar 1, 2022
345c152
Skip zero-size frames
Affonso-Gui May 8, 2022
30e483c
Default to not using bind frames
Affonso-Gui May 8, 2022
218d030
Enable on-demand bind frames in :let
Affonso-Gui May 9, 2022
8ddf411
Add :copy-translator
Affonso-Gui May 9, 2022
a1cd323
Enable on-demand bind frames in :let*
Affonso-Gui May 9, 2022
b66d703
Use local counts on let binding and set avant-mode as a global parameter
Affonso-Gui May 9, 2022
c74a06e
Default to not using bind frames in argument frames
Affonso-Gui May 9, 2022
d52d215
Enable on-demand bind frames on :lambda
Affonso-Gui May 9, 2022
f87375f
Add :bind-frame method
Affonso-Gui May 9, 2022
e519c19
Define and use maybe-format in trans.l
Affonso-Gui May 9, 2022
62a492d
Add function-identifier to better organize flet entries
Affonso-Gui May 9, 2022
8e57581
Enable on-demand bind-frames on :flet
Affonso-Gui May 9, 2022
ef7fa07
Solve close issues on :copy-translator
Affonso-Gui May 9, 2022
8e9aa30
Suppress more warnings at avant-mode
Affonso-Gui May 9, 2022
3857783
Add defmethod and slot variable closure support
Affonso-Gui May 10, 2022
ddad6e9
Enable on-demand bind-frames in :unwind-protect
Affonso-Gui May 10, 2022
46b8585
Adapt :flet to cover closures on the evaluation body
Affonso-Gui May 10, 2022
68162ae
Sequentially bind closure variables in let* to enable using closures …
Affonso-Gui May 10, 2022
252cf55
Try global symbols on imcomplete bindframe reference
Affonso-Gui May 10, 2022
401658b
Add :bind-closure-variable and sequentially bind closure variables in…
Affonso-Gui May 11, 2022
ec9496c
Reset vsp before binding frames
Affonso-Gui May 11, 2022
f150ef2
Suppress warnings for the default declaration type: t
Affonso-Gui May 11, 2022
8afb60f
Improve compilation error formatting
Affonso-Gui May 11, 2022
92f78f6
Fix key variable reassignment in :lambda
Affonso-Gui May 11, 2022
c7beb40
Properly pre-evaluate closure definitions in :flet
Affonso-Gui May 11, 2022
31affee
Don't double set self variable bindframe in :load-var
Affonso-Gui May 11, 2022
a0b41d5
Use :store-var in :bind-closure-var to ensure binding even when push …
Affonso-Gui May 11, 2022
3d04045
Add hashtable and package symvector tests
Affonso-Gui May 5, 2022
b1f5d40
Add fill-count to count deleted members in hash-tables (fixes #405)
Affonso-Gui May 5, 2022
20ee020
Count deleted members in package intsymcount and symcount
Affonso-Gui May 5, 2022
5c6e451
Reset hash-table count and fill-count in :clear
Affonso-Gui May 5, 2022
bb50289
Allow to use flets in unwind-protect cleaner
Affonso-Gui May 15, 2022
2f6e8b1
Use recursive nil when calling :lambda from avant-mode
Affonso-Gui May 14, 2022
e90e68e
Only bind required argframes and bindframes on closures
Affonso-Gui May 15, 2022
e7711c3
Also bind required frames in :unwind-protect
Affonso-Gui May 15, 2022
1b47475
Raise errors when a variable frame is not included in the closure
Affonso-Gui May 16, 2022
f48ce6d
Also bind required frames in :flet
Affonso-Gui May 16, 2022
c871d77
Pass closure-level as a variable in :get-cframes
Affonso-Gui May 16, 2022
49d5e2d
Update keyvar clist in :lambda
Affonso-Gui May 16, 2022
77e10ae
Add comments in comp.l code
Affonso-Gui May 16, 2022
d8404d0
Upgrade unbound frame detection warning to error
Affonso-Gui May 16, 2022
4bd5dd8
Add newline after compilation warnings
Affonso-Gui May 23, 2022
0ba3c52
Fix: (instance object) is considered as list
Affonso-Gui May 25, 2022
6624c15
Avoid segmentation faults when copying objects with less than two slots
Affonso-Gui May 26, 2022
601e1a1
Add beta warning message at startup
Affonso-Gui Jun 7, 2022
0c4f437
Remove lambda-closure hacks in conditions.l
Affonso-Gui Jun 7, 2022
57b06cf
Add eussigobj to shield eussigvec handlers from gc
Affonso-Gui Jun 23, 2022
a3e72a1
Add lisp::atomic to postpone handler evaluation
Affonso-Gui Jul 6, 2022
4f4d046
Supress external symbol errors in read_opt
Affonso-Gui Jul 21, 2022
bc95c18
Add lisp::install-error-handler for backward compability
Affonso-Gui Aug 9, 2022
d903d78
Add limited sys:*gc-hook* for backward compability
Affonso-Gui Aug 10, 2022
929f6c7
Check compiler version when loading binary files
Affonso-Gui Aug 10, 2022
97c5339
E_USER only accepts one parameter
Affonso-Gui Aug 10, 2022
f615ae7
Add supermember and superassoc for backward compability
Affonso-Gui Aug 10, 2022
6dc8651
Fix type-check declarations on compilation
Affonso-Gui Aug 10, 2022
cb10f82
Add *type-check-declare* option on compiler and default it to nil
Affonso-Gui Aug 10, 2022
65bb832
Type c errors
Affonso-Gui Aug 10, 2022
a621749
Type l errors
Affonso-Gui Aug 10, 2022
8791ad4
Add sys:list-all-function-bindings documentation and update sys:list-…
Affonso-Gui Aug 10, 2022
59badb9
Add assoc-if-not and rassoc-if-not documentation
Affonso-Gui Aug 10, 2022
f205b2b
Add cxr and other ordinal function documentations
Affonso-Gui Aug 10, 2022
7ea740b
Add more char and string documentation
Affonso-Gui Aug 10, 2022
8363f88
Add assertion-error entry and fix typos in documentation
Affonso-Gui Aug 11, 2022
185ec9c
Update closure documentation
Affonso-Gui Aug 11, 2022
e1b0956
Fix typo in jevaluation.tex
Affonso-Gui Aug 11, 2022
d1b45da
Update conditions documentation
Affonso-Gui Aug 11, 2022
4cd03ba
Add documentation section on closure compilation
Affonso-Gui Aug 11, 2022
7502674
Update hash-table class documentation
Affonso-Gui Aug 11, 2022
2c404d2
Update help files
Affonso-Gui Aug 11, 2022
98cc4c1
Update version and add :condition :closure to *features*
Affonso-Gui Aug 11, 2022
c7dfc46
Raise errors on checkcompversion if either COMPILERVERSION or COMPTIM…
Affonso-Gui Aug 11, 2022
e361105
add .gitignore
takayuki5168 Dec 17, 2018
6772bf7
update .gitignore
takayuki5168 Dec 22, 2019
8a24549
add other architecture in .gitignore
takayuki5168 Dec 22, 2019
21c6a84
Update some handler-case tests
Affonso-Gui Aug 12, 2022
9e3b802
Use destructive operations in list-insert and list-delete for 0 index…
Affonso-Gui Sep 17, 2022
69b5041
Add list-delete documentation
Affonso-Gui Sep 17, 2022
e41b4e0
Always perform remove-handler on the global value
Affonso-Gui Sep 17, 2022
e0a6f9e
Also remove the same global handler from the local scope in remove-ha…
Affonso-Gui Sep 17, 2022
c10ae29
Always perform install-handler on the global scope
Affonso-Gui Sep 17, 2022
13fc3a5
Change all previous scopes recursively in install-handler and remove-…
Affonso-Gui Sep 18, 2022
6babc68
Add more condition tests
Affonso-Gui Sep 18, 2022
eb8ede8
Update remove-handler documentation
Affonso-Gui Sep 18, 2022
5c30e7c
Update help files
Affonso-Gui Sep 18, 2022
57ddf37
Use plain gensyms instead of get-handler-frame in handler-frame expan…
Affonso-Gui Sep 18, 2022
906ffdc
Raise index errors on negative index and replace confusing E_STARTEND
Affonso-Gui Sep 18, 2022
23b91c0
Wrap each compiled code evaluation in a catchframe for safe resumable…
Affonso-Gui Sep 19, 2022
f0cea88
Fix unwind offset value in return-from and go compilation (#494)
Affonso-Gui Sep 21, 2022
b88b521
Use slot accessor to avoid clashing with argument variables in defcon…
Affonso-Gui Sep 21, 2022
9652b98
Only allocate flet-frames vector when needed in compiled code
Affonso-Gui Sep 22, 2022
23fc22b
Add compile-time check for fletframes
Affonso-Gui Sep 22, 2022
14fa6e2
Also consider current fletframe on recursive-scope (labels)
Affonso-Gui Sep 22, 2022
9ebcabc
Enable minimal closure frame size by reassigning indexes with cbindframe
Affonso-Gui Sep 22, 2022
158b411
Reset function identifier cbindframe counter at each frame
Affonso-Gui Sep 22, 2022
ea4542a
Add compile checks for frame size
Affonso-Gui Sep 22, 2022
29bd502
Print invalid value at compile error messages
Affonso-Gui Sep 22, 2022
5d31b9e
Allow functions to have different cbindframe values
Affonso-Gui Sep 23, 2022
ee5a24f
Add sys::unwind function
Affonso-Gui Sep 27, 2022
aefef04
Eval form after unwinding in sys::unwind
Affonso-Gui Sep 27, 2022
dd4b4b2
Add sys::unwind documentation
Affonso-Gui Sep 27, 2022
fb3e382
Fix type declarations
Affonso-Gui Oct 14, 2022
ff80c4f
Avoid unchecked declarations in nstring-upcase/downcase
Affonso-Gui Oct 14, 2022
3a3a55c
Use strict number checking when *type-check-declare* is true
Affonso-Gui Oct 14, 2022
4f088fe
Revert error resumption and unwind capabilities
Affonso-Gui Oct 15, 2022
4d275bf
Guard va_list from gc in error()
Affonso-Gui Oct 17, 2022
24b3c37
Default rassoc :test to #'equal for backward compability
Affonso-Gui Oct 25, 2022
a3295df
Add va_end and fix vsp in basicclass
Affonso-Gui Oct 26, 2022
7fbf581
Memory safety in make functions and putprop
Affonso-Gui Oct 28, 2022
6a8b6fb
Memory safety in more make functions
Affonso-Gui Oct 28, 2022
93971c6
Add getfunc_closure_noexcept to avoid nested loops in error()
Affonso-Gui Oct 27, 2022
70d1201
Prefer dot accessor in comp.l
Affonso-Gui Oct 28, 2022
298915d
Update past closure references in flet compilation
Affonso-Gui Oct 28, 2022
219c8e5
Avoid setting closure-frames and closure-function-frames globally
Affonso-Gui Oct 29, 2022
9e8a55b
Add more compile-time checks and comments
Affonso-Gui Oct 29, 2022
93f5da1
Always stash maximum vsp value before makeclosure
Affonso-Gui Oct 31, 2022
8859e7f
Reset flet cbindframe after progn
Affonso-Gui Oct 31, 2022
bbc2238
More builtin declarations
Affonso-Gui Oct 31, 2022
48e8c5f
Add more system builtin declarations
Affonso-Gui Oct 31, 2022
04404e4
Check bindframe index of previous levels at compile-time
Affonso-Gui Oct 31, 2022
c281f3f
Update gc-hook to gc-debug in test comments
Affonso-Gui Nov 4, 2022
f943d39
Skip checking functions with no level (e.g. macrolets) at compilation
Affonso-Gui Nov 4, 2022
f3d1b7d
Skip cloning zero-length objects
Affonso-Gui Nov 4, 2022
ae3fb03
Check arguments in sys:wait-thread
Affonso-Gui Nov 9, 2022
cd85579
Add missing run-sem slot in thread object
Affonso-Gui Nov 9, 2022
772df06
Add mismatch argument checks in thread functions
Affonso-Gui Nov 9, 2022
b42c68f
Fix warning typos
Affonso-Gui Nov 10, 2022
576dab0
Add more help files
Affonso-Gui Nov 10, 2022
f1148da
Add fillchunk function to fill up heap until GCMARGIN
Affonso-Gui Nov 10, 2022
7c5c081
Fix gcmargin min value: gcmargin can never be greater than one!
Affonso-Gui Nov 10, 2022
4c2325c
Expand heap when trying consecutive gc (jsk-ros-pkg/jsk_roseus#728)
Affonso-Gui Nov 10, 2022
3e5eb07
Use default value of 1 in sys::make-thread
Affonso-Gui Nov 10, 2022
eb89cc1
Delete the new context when thread creation fails, not the current one
Affonso-Gui Nov 11, 2022
3598849
Check thread id arguments in unix thread functions
Affonso-Gui Nov 11, 2022
a705bd1
Exit threads on error by default
Affonso-Gui Nov 11, 2022
26e5829
Revert "Allow returns and tagbody on dolist, dotimes, do-symbols and …
Affonso-Gui Nov 12, 2022
e13e31e
Allow to return non-nil on dolist, dotimes, do-symbols and do-externa…
Affonso-Gui Nov 14, 2022
aea9241
Avoid memory operations in UNIX:SIGNAL
Affonso-Gui Nov 20, 2022
58aa816
Avoid more dead_locks
Affonso-Gui Nov 20, 2022
9d90f80
Pre-allocate SIGNALS symbol for error()
Affonso-Gui Nov 20, 2022
77903a1
Register extern getprop
Affonso-Gui Nov 29, 2022
b34b2ef
Add bindframe and fletframe structs to the cellunion
Affonso-Gui Nov 29, 2022
3f8cdfc
Set explicit return value for fillchunk when no new chunks are needed
Affonso-Gui Dec 19, 2022
54af50d
Avoid segmentation fault when copying *unbound*
Affonso-Gui Dec 21, 2022
992d6f9
Add closure-identifier in comp.l
Affonso-Gui Dec 21, 2022
6d9fe73
Add blocks in compiled closures
Affonso-Gui Dec 21, 2022
c70bae2
Add compile-method to compile single methods
Affonso-Gui Dec 22, 2022
d21747f
Add compile-method documentation
Affonso-Gui Dec 22, 2022
63cb490
Use alias instead of setf symbol-function to set compiler entry
Affonso-Gui Dec 23, 2022
4374ed7
Fix compiler::function-alias for special forms
Affonso-Gui Dec 23, 2022
bed4d4b
Accept multiple arguments in compile-method
Affonso-Gui Dec 24, 2022
aa04195
Fix macro compilation in 'compile'
Affonso-Gui Dec 25, 2022
e7cacdc
Add comp::dump-method and fix class reference when compiling parent m…
Affonso-Gui Dec 25, 2022
3228d5c
Force null *print-circle* in :prin1 to avoid deadlocks (#465)
Affonso-Gui Dec 25, 2022
3296768
Avoid segmentation fault when marking/unmarking *unbound*
Affonso-Gui Dec 26, 2022
4219be0
Use getfunc_closure when compiling sharp quote to match interpreter e…
Affonso-Gui Dec 31, 2022
8b67abb
Print form with s-expression formatting in unittest.l
Affonso-Gui Jan 4, 2023
b21b21b
Avoid segmentation fault when comparing unbound objects
Affonso-Gui Dec 30, 2022
e0ac920
Fix copy_object with fewer than 2 slots
Affonso-Gui Jan 3, 2023
69343f9
Release qsort_lock on type errors
Affonso-Gui Feb 16, 2023
7976af8
Revert assoc :key behavior for backward compatibility (#436 and #450)
Affonso-Gui Feb 16, 2023
74fd0ec
Add *signal-handlers* and eussig for backward compatibility
Affonso-Gui Feb 16, 2023
ccc73a2
Add *error-handler* for backward compatibility
Affonso-Gui Feb 16, 2023
59547a2
Add *signal-handlers* and *error-handler* documentation
Affonso-Gui Feb 16, 2023
1f13cbd
Set vsp before getfunc_closure in compilation
Affonso-Gui Feb 17, 2023
0d97f43
Fix typos in README.md
Affonso-Gui Mar 26, 2023
537dbca
Move 'entry2' slot to compiled-code
Affonso-Gui Mar 26, 2023
e86dded
Use 'Char' in reader.c for ARM compatibility
Affonso-Gui Mar 26, 2023
83b684f
Remove duplicate LISTFUNCTIONBINDINGS
Affonso-Gui Mar 27, 2023
1c3239e
Revert 'Return variable name in defparameter and defconstant'
Affonso-Gui Mar 27, 2023
bcb2afe
fix CI (euslisp-dfsg check) for eus10
k-okada Mar 29, 2023
e484e9a
Merge pull request #1 from k-okada/eus10-pr
Affonso-Gui Mar 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/dfsg-deban-eus10.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
diff --git a/debian/patches/fix-for-blhc.patch b/debian/patches/fix-for-blhc.patch
index 2d34fab..eec84b2 100644
--- a/debian/patches/fix-for-blhc.patch
+++ b/debian/patches/fix-for-blhc.patch
@@ -23,12 +23,12 @@ index abf7b7b..01bc54f 100644
(defparameter *defun-list* nil)
(defparameter *verbose* nil)
(defparameter *optimize* 2)
-@@ -1261,7 +1261,7 @@
- (setq file (merge-pathnames ".l" file))
- (if (null (probe-file file))
- (error "file ~A not found~%" file)))
-- (warn "compiling file: ~A~%" (namestring file))
-+ ;; (warn "compiling file: ~A~%" (namestring file))
- (setq ins (open file))
- (setq *defun-list* nil)
- (when *multipass-optimize*
+@@ -1855,7 +1855,7 @@
+ (setq file (merge-pathnames ".l" file))
+ (if (null (probe-file file))
+ (error io-error "file ~A not found~%" file)))
+- (warn "compiling file: ~A~%" (namestring file))
++ ;; (warn "compiling file: ~A~%" (namestring file))
+ (setq ins (open file))
+ (setq *defun-list* nil)
+ (when *multipass-optimize*
diff --git a/debian/patches/fix-for-hardening.patch b/debian/patches/fix-for-hardening.patch
index f32285e..ad7e358 100644
--- a/debian/patches/fix-for-hardening.patch
+++ b/debian/patches/fix-for-hardening.patch
@@ -22,6 +22,7 @@ index 247bfa3..4b8e968 100644

-CFLAGS= $(WFLAGS) -fPIC -D$(MACHINE) -DLinux -D_REENTRANT -DVERSION=\"$(VERSION)\" \
+CFLAGS:= $(CFLAGS) $(CPPFLAGS) $(WFLAGS) -fPIC -D$(MACHINE) -DLinux -D_REENTRANT -DVERSION=\"$(VERSION)\" \
+ -DCOMPILERVERSION=\"$(COMPILERVERSION)\" \
-DLIB6 $(ALIGN_FUNCTIONS) \
$(DEBUG) $(CPU_OPTIMIZE) $(THREAD) -D$(XVERSION) \
-DGCC $(GCC3) \
@@ -78,6 +79,7 @@ index ec1665b..1de89b1 100644

-CFLAGS=$(WFLAGS) -D$(MACHINE) -DLinux -DARM -D_REENTRANT -DVERSION=\"$(VERSION)\" \
+CFLAGS:= $(CFLAGS) $(CPPFLAGS) $(WFLAGS) -D$(MACHINE) -DLinux -DARM -D_REENTRANT -DVERSION=\"$(VERSION)\" \
+ -DCOMPILERVERSION=\"$(COMPILERVERSION)\" \
-DLIB6 $(ALIGN_FUNCTIONS) $(ADD_CFLAGS) \
$(DEBUG) $(CPU_OPTIMIZE) $(THREAD) -D$(XVERSION) \
-DGCC $(GCC3) \
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Linux64
Darwin
Linux
IRIX
Alpha
Cygwin
LinuxARM
LinuxSH4
SunOS4
SunOS5
IRIX6

include

lisp/Makefile
lisp/c/makedate.c

lisp/comp/*.c
lisp/comp/*.h
lisp/geo/*.c
lisp/geo/*.h
lisp/image/*.c
lisp/image/*.h
lisp/l/*.c
lisp/l/*.h
lisp/opengl/src/*.c
lisp/opengl/src/*.h
lisp/xwindow/*.c
lisp/xwindow/*h

*.aux
*.idx
*.ilg
*.ind
*.log
*.out
*.toc
*.hlp
*.dvi
1 change: 1 addition & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ if [[ "$QEMU" != "" && "$DOCKER_IMAGE" != "arm64v8/ubuntu:"* ]]; then
travis_time_start download.euslisp-debian
export GIT_SSL_NO_VERIFY=1
git clone http://salsa.debian.org/science-team/euslisp /tmp/euslisp-dfsg
patch -d /tmp/euslisp-dfsg -f -p1 < .github/workflows/dfsg-deban-eus10.patch
for file in $(cat /tmp/euslisp-dfsg/debian/patches/series); do
# skip patches already applied by https://github.com/euslisp/EusLisp/pull/482
[[ $file =~ use-rtld-global-loadelf.patch|fix-arm-ldflags.patch|fix-library-not-linked-against-libc.patch|fix-manpage-has-bad-whatis-entry-on-man-pages.patch ]] && continue;
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ $ git clone https://github.com/euslisp/EusLisp euslisp
$ cd euslisp
$ export ARCHDIR=Linux64
$ export EUSDIR=`pwd`
$ export PATH=$PATH:$EUSDIR/$ARCHDIR/bin
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$EUSDIR/$ARCHDIR/lib
$ export PATH=$EUSDIR/$ARCHDIR/bin:$PATH
$ export LD_LIBRARY_PATH=$EUSDIR/$ARCHDIR/lib:$LD_LIBRARY_PATH
$ cd lisp
$ ln -sf Makefile.Linux64 Makefile
$ make eus0 eus1 eus2 eusg eusx eusgl eus
```

For cygwin sytem, set ARCHDIR=Cygwin and ln -sf Makefile.Cygwin Makefile<br>
For cygwin system, set ARCHDIR=Cygwin and ln -sf Makefile.Cygwin Makefile<br>
For 32bit Linux system, set ARCHDIR=Linux and ln -sf Makefile.Linux.thread Makefile

### Documnets
### Documents

See online [manual](http://euslisp.github.io/EusLisp/manual.html). (Japanese translation [manual](http://euslisp.github.io/EusLisp/jmanual.html))

Expand Down
1 change: 0 additions & 1 deletion contrib/utyo/select.l
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@
(defun reploop (prompt) ;read-eval-print loop
(let* ((result)
(ttyp (unix:isatty *terminal-io*))
(*error-handler* 'euserror)
(eof (gensym))
(command) (input)
(arg) (arglist) (local-bindings) (special-bindings))
Expand Down
5 changes: 5 additions & 0 deletions doc/help.eus/makehelp.l
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@
"sequences"
"io"
"evaluation"
"types"
"sysfunc"
"matrix"
"geometry"
"contact"
"voronoi"
"graphics"
"xwindow"
"xtoolkit"
"mthread"
"image"
"manipulator"))
(defvar *eus-jtex-list* (list "jintro"
Expand All @@ -56,6 +59,8 @@
"jvoronoi"
"jgraphics"
"jxwindow"
"jxtoolkit"
"jmthread"
"jimage"
"jmanipulator"))

Expand Down
Loading