-
Notifications
You must be signed in to change notification settings - Fork 87
Pr 20210430 bugfixes #417
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
Open
0-8-15
wants to merge
15
commits into
part-cw:master
Choose a base branch
from
0-8-15:pr-20210430-bugfixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pr 20210430 bugfixes #417
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5b2fe7b
CORE: fix extension of srfi-23 copy-time
0-8-15 0603b04
GLGUI: fix typo and backward compatible dispatch prefering new code
0-8-15 145d9b5
GLCORE: fix missing globalbinding and unbound variable
0-8-15 3c8055d
X11: fix hanging display
0-8-15 9f5e1c5
CLIPBOARD: make clipboard-copy work under Linux
0-8-15 bf2072a
X11 CLIPBOARD: fix off-by-one
0-8-15 4e9612e
GAMBIT: fix incorrect numbers - follwing fix in upstream
0-8-15 cb12f0d
JSON: add encoding options choice
0-8-15 4571ef9
ANDROID CLIPBOARD: support coerce mimetypes to text/plain
0-8-15 f8c84e1
BUILD: ensure failures to compile hook.c break build
0-8-15 b39b45b
MICROGL: add support for pageup/down
0-8-15 9c435d2
MICROGL X11: avoid some of the needless redraw events
0-8-15 c840068
MICROGL X11: avoid some of the needless redraw events
0-8-15 0df21ed
Merge branch 'pr-20210430-bugfixes' of github.com:0-8-15/lambdanative…
0-8-15 fb2a000
clean up merge artefact
0-8-15 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
libraries/libgambit/0001-Fix-incorrect-space-allocation-report-by-time-specia.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
From e529b1d6d5b7bae2fcc3e9cd8e7f3e11a1318193 Mon Sep 17 00:00:00 2001 | ||
From: Marc Feeley <feeley@iro.umontreal.ca> | ||
Date: Sun, 28 Mar 2021 19:29:54 -0400 | ||
Subject: [PATCH] Fix incorrect space allocation report by time special form | ||
|
||
--- | ||
lib/_kernel.scm | 6 ++++-- | ||
lib/mem.c | 3 ++- | ||
2 files changed, 6 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/lib/_kernel.scm b/lib/_kernel.scm | ||
index 59b9e41..2d827dd 100644 | ||
--- lib/_kernel.scm | ||
+++ lib/_kernel.scm | ||
@@ -4346,7 +4346,9 @@ end-of-code | ||
|
||
if (!___FIXNUMP(result)) | ||
{ | ||
- n = ___bytes_allocated (___PSPNC) - n; | ||
+ ___F64 ba = ___bytes_allocated (___PSPNC); | ||
+ | ||
+ n = ba - n; | ||
|
||
___process_times (&user, &sys, &real); | ||
___vm_stats (&minflt, &majflt); | ||
@@ -4358,7 +4360,7 @@ end-of-code | ||
___F64VECTORSET(result,___FIX(4),___vms->mem.gc_sys_time_) | ||
___F64VECTORSET(result,___FIX(5),___vms->mem.gc_real_time_) | ||
___F64VECTORSET(result,___FIX(6),___vms->mem.nb_gcs_) | ||
- ___F64VECTORSET(result,___FIX(7),___bytes_allocated (___PSPNC)) | ||
+ ___F64VECTORSET(result,___FIX(7),ba) | ||
___F64VECTORSET(result,___FIX(8),(2*(1+2)<<___LWS)) | ||
___F64VECTORSET(result,___FIX(9),n) | ||
___F64VECTORSET(result,___FIX(10),minflt) | ||
diff --git a/lib/mem.c b/lib/mem.c | ||
index 2c6cafd..9223da1 100755 | ||
--- lib/mem.c | ||
+++ lib/mem.c | ||
@@ -7080,7 +7080,8 @@ ___PSDKR) | ||
alloc_stack_ptr = ___ps->fp; | ||
alloc_heap_ptr = ___ps->hp; | ||
|
||
- return bytes_allocated_minus_occupied + bytes_occupied(___ps); | ||
+ return bytes_allocated_minus_occupied + bytes_occupied(___ps) + | ||
+ ___CAST(___F64,occupied_words_still) * ___WS; | ||
} | ||
|
||
|
||
-- | ||
2.20.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ json-read | |
json-write | ||
json-error | ||
json-error? | ||
json-set-options! | ||
|
||
)) | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain what the // in variable names mean?