Hello Holger,
On Sat, Dec 2, 2017 at 2:51 PM, Holger Freyther wrote:
>
> > On 30. Nov 2017, at 17:31, Lee Duhem wrote:
> >
>
> Hey!
>
>
>
> > /* Grows the allocated memory to SPACESIZE bytes, if it's not there
> > - already.
> > - the m
Hello Holger,
On Sat, Dec 2, 2017 at 2:50 PM, Holger Freyther wrote:
>
> > On 30. Nov 2017, at 17:31, Lee Duhem wrote:
> >
>
> Hi again!
>
>
>
> > @@ -2025,7 +2023,7 @@ _gst_to_wide_cstring (OOP stringOOP)
> > string = (gst_unicode_string) OOP_TO_
On Thu, Nov 30, 2017 at 6:17 PM, Holger Freyther wrote:
>
> > On 30. Nov 2017, at 18:11, Blake McBride wrote:
> >
>
> Hey!
>
>
> > Looks good. I hope your changes get integrated.
> >
> > Can you tell me what "This version 2 have no change since v1, only
> rebased to top of master
> > branch." m
2017-04-26 Lee Duhem
* callin.c (_gst_type_name_to_oop): Replace sprintf with snprintf.
(_gst_class_name_to_oop): Clean properly before return.
* cint.c (_gst_invoke_croutine): Clean properly before return.
* dict.c (create_metaclass): Synchronize prototype with
2017-04-26 Lee Duhem
* byte.h: Fix typo in comments.
* dict.h: Improve comments.
* dict.c (new_num_fields): Ditto.
* gst.h: Ditto.
* sysdep.h: Ditto.
---
libgst/ChangeLog | 8
libgst/byte.h| 2 +-
libgst/dict.c| 4 ++--
libgst/dict.h| 8
Hi,
I have accumulated some fixes to libgst. You may want to take a look.
This version 2 have no change since v1, only rebased to top of master
branch.
Regards,
lee
Lee Duhem (4):
libgst: Fix comments
libgst: Miscellaneous improving to code style
libgst: Some trivial fixes
libgst
2017-04-26 Lee Duhem
* cint.c: Include ffi.h properly.
* dict.c (create_classes_pass1): Use INCR_INT.
(init_c_symbols): Replace magic number with corresponding macro.
(new_num_fields): Move variable assignment closer to its use.
(find_key_or_nil): Ditto
2017-04-26 Lee Duhem
* gstpriv.h (COUNT_OF): New macro.
* dict.c (_gst_init_dictionary, _gst_init_dictionary_on_image_load):
Use COUNT_OF.
* sym.c (_gst_init_symbols_pass1): Ditto.
---
libgst/ChangeLog | 7 +++
libgst/dict.c| 8 +++-
libgst/gstpriv.h
On Wed, Apr 26, 2017 at 7:19 PM, Lee Duhem wrote:
> 2017-04-26 Lee Duhem
>
>* gstpriv.h (COUNT_OF): New macro.
>* dict.c (_gst_init_dictionary, _gst_init_dictionary_on_image_load):
>Use COUNT_OF.
>* sym.c (_gst_init_symbols_pass1): Ditt
2017-04-26 Lee Duhem
* gstpriv.h (COUNT_OF): New macro.
* dict.c (_gst_init_dictionary, _gst_init_dictionary_on_image_load):
Use COUNT_OF.
* sym.c (_gst_init_symbols_pass1): Ditto.
---
libgst/ChangeLog | 7 +++
libgst/dict.c| 8 +++-
libgst/gstpriv.h
2017-04-26 Lee Duhem
* cint.c: Include ffi.h properly.
* dict.c (create_classes_pass1): Use INCR_INT.
(init_c_symbols): Replace magic number with corresponding macro.
(new_num_fields): Move variable assignment closer to its use.
(find_key_or_nil): Ditto
2017-04-26 Lee Duhem
* callin.c (_gst_type_name_to_oop): Replace sprintf with snprintf.
(_gst_class_name_to_oop): Clean properly before return.
* cint.c (_gst_invoke_croutine): Clean properly before return.
* dict.c (create_metaclass): Synchronize prototype with
Hi,
I have accumulated some fixes to libgst. You may want to take a look.
Regards,
lee
Lee Duhem (4):
libgst: Fix comments
libgst: Miscellaneous improving to code style
libgst: Some trivial fixes
libgst: Define and use COUNT_OF
libgst/ChangeLog | 38
2017-04-26 Lee Duhem
* byte.h: Fix typo in comments.
* dict.h: Improve comments.
* dict.c (new_num_fields): Ditto.
* gst.h: Ditto.
* sysdep.h: Ditto.
---
libgst/ChangeLog | 8
libgst/byte.h| 2 +-
libgst/dict.c| 4 ++--
libgst/dict.h| 8
use it to simplify the searching rules in build-aux/tcltk.m4.
Tested on Fedora 25 and Ubuntu 14.04, looks like working on both systems.
Regards,
libin
ChangeLog
+2017-02-27 Lee Duhem
+
+ * build-aux/tcltk.m4: Simplify tclConfig.sh searching
[1] http://wiki.tcl.tk/12968
From
On Wed, Jan 18, 2017 at 8:25 PM, Holger Freyther wrote:
>
>> On 14 Jan 2017, at 12:27, Lee Duhem wrote:
>>
>
> Hi!
>
> another flight, another time to look at it. :)
>
>
>>> if (free < (to - from))
>>> {
>>> - memcpy (_gst
On Sat, Jan 14, 2017 at 3:32 AM, Holger Freyther wrote:
>
>> On 30 Dec 2016, at 07:44, Lee Duhem wrote:
>>
>>
>
> Hi!
>
> sorry for the delay.
>
>
>> * byte.c (_gst_compile_bytecodes): Remove unnecessary copy.
>
> diff --git a/libgst/byte.c b/li
On Sun, Jan 1, 2017 at 10:06 PM, Holger Freyther wrote:
>
>> On 30 Dec 2016, at 07:42, Lee Duhem wrote:
>>
>> Hi,
>
> Hi!
>
>
>> The attached patch fixes a few typos in comments of libgst. You may
>> want to take a look.
>
> looks good and I
Hi,
The attached patch provides some fixes and/or improvements to libgst.
You may want to take a look.
Regards,
lee
2016-12-30 Lee Duhem
* byte.c (_gst_compile_bytecodes): Remove unnecessary copy.
* comp.c (_gst_compile_method): Protect new created `selector' from GC
properly.
* gst-pa
Hi,
The attached patch fixes a few typos in comments of libgst. You may
want to take a look.
Regards,
lee
From 7b0e826a332fcfd26b4d4de0c281d290e6ae2619 Mon Sep 17 00:00:00 2001
From: Lee Duhem
Date: Fri, 30 Dec 2016 14:24:18 -0600
Subject: [PATCH] libgst: Fix typos in comments
2016-12-30 Lee
On Fri, Dec 5, 2014 at 2:38 PM, Germán Arias wrote:
> Hi all
>
> Someone else have problem to access gnu smalltalk website?
> From some days ago I can't access it.
Do you mean http://smalltalk.gnu.org/?
I have no problem to access it.
lee
___
help-sm
makes VMPrimitives a BindingDictionary, fixes the
Behavior>>allSharedPools, and does not introduce any regression error.
BTW, I would like to provide a test case for Behavior>>allSharedPools, but
I am not sure what to expect.
lee
ChangeLog
2013-12-16 Lee Duhem
* libgst/dict.c: Ma
On Fri, Dec 13, 2013 at 6:40 PM, Holger Hans Peter Freyther
wrote:
> thank your very much! I have included your fix and created a testcase
> for the invocation of >>#select: and >>#reject:.
Thank you for the testcase.
lee
___
help-smalltalk mailing li
h could fix those variable
name typos.
lee
ChangeLog
2013-12-11 Lee Duhem
* kernel/MappedColl.st: Fixs variable name typos in reject: and select:.
diff --git a/kernel/MappedColl.st b/kernel/MappedColl.st
index e22f8f6..b0d3c55 100644
--- a/kernel/MappedColl.st
+++ b/kernel/Mapp
> thanks for the report. I think it is related to an issue found with
> the address sanitizer. In case you have the time could you please
> try master and apply the diff from here[1] to libgst/gst-parse.c?
Tested with both gcc -O0 and gcc -O2, and all passed.
lee
Hi all,
Why packages/object-dumper/stamp-classes isn't in repository? After
build, this file will be created; then
git status will report it as a untracked file. For other packages,
their stamp-classes already in the repository,
so this one maybe was overlooked?
Best regards,
lee
__
Hi,
After update to 2cf5ebd41ae4cd6a3b7059bd4f19bb58e1927cdd and rebuild,
this regression test failed.
lee
$ cat tests/testsuite.dir/074/testsuite.log
# -*- compilation -*-
74. testsuite.at:110: testing ...
{ (cd /home/lee/smalltalk && timeout 600s gst -I
/home/
On Fri, Feb 26, 2010 at 6:14 AM, Rick Flower wrote:
> Paolo,
>
> I'd like to add >>asArrayOfSubstrings (found in the Smalltalk
> by Example book) into the CharacterArray class but would like
> it to remain within my script so that I don't modify the kernel
> files directly.. What's the best way to
On Tue, Dec 15, 2009 at 10:57 PM, Paolo Bonzini wrote:
> It is indeed possible to modify the basic float printing method in
> Float to achieve this effect. Can you come out with a set of
> printString/printOn: methods that you'd like to have, or that Squeak
> and Pharo have?
Pharo have a method
On Tue, Dec 15, 2009 at 10:57 PM, Paolo Bonzini wrote:
> It is indeed possible to modify the basic float printing method in
> Float to achieve this effect. Can you come out with a set of
> printString/printOn: methods that you'd like to have, or that Squeak
> and Pharo have?
>
I'll try this.
le
Hi,
I want to know how to get the similar effect like printf(%.7f")?
Here is how I did it:
Float extend [
printStringWithPrecision: anInteger [
| e value string decPointIndex endPosition tailingZeros
tailingZeroNumber |
e := 1.0 / (10.0
Hi all,
In the original output of methodFormattedSourceString for
Behavior>>methodsFor:, newlines in
the source are lost, this patch introduces these lost newlines, makes
the output looks better.
lee
ChangeLog
2009-11-26 Lee Duhem
* libgst/comp.c: Makes formatted source of Be
lass''] ``methodsFor:'' string ``!'' [method
``!'']+ ``!''
lee
ChangeLog
2009-11-26 Lee Duhem
* doc/tutorial.texi: Fix a few format problems.
doc-tutorial.patch
Description: Binary data
___
On Thu, Oct 29, 2009 at 12:14 AM, Stefan Schmiedl wrote:
> Sorry for not responding earlier, but I'm too busy right now.
> I haven't updated my local git clone in more than a week ...
Understood, please take your time. I just curious :-)
lee
___
help
On Wed, Oct 28, 2009 at 11:20 PM, Paolo Bonzini wrote:
>> Is this patch have some problems that I didn't know?
>
> No, I have applied it. :-)
Sorry, I didn't notice that.
lee
___
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org
On Wed, Oct 28, 2009 at 11:29 PM, Paolo Bonzini wrote:
>> #printHierarchy and #printFullHierarchy in kernel/Behavior.st still
>> using stdout,
>> and there are some duplicate codes in them, the attached patch fix those
>> problems.
>
> I opted for inlining the block in the methods.
Ok.
lee
___
On Wed, Oct 28, 2009 at 1:52 AM, Lee Duhem wrote:
> Hi,
>
> This patch change all the unnatural category name 'accessing the
> methodDictionary'
> to 'accessing the method dictionary', in kernel/Behavior.st.
Is this patch have som
On Sun, Oct 18, 2009 at 3:09 AM, Stefan Schmiedl wrote:
> Issue status update for http://smalltalk.gnu.org/node/418
> Post a follow up: http://smalltalk.gnu.org/project/comments/add/418
>
> Project: GNU Smalltalk
> Version:
> Component: Base classes
> Category: bug reports
> Prio
the attached patch fix those
problems.
ChangeLog
2009-10-28 Lee Duhem
* kernel/Behavior.st: Add #hierarchyPrintBlock to remove duplicate codes
in #printHierarchy and #printFullHierarchy.
>
>> * Extensions.st: Add Behavior>>#formattedSourceStringAt: a
On Wed, Oct 28, 2009 at 3:55 AM, Paolo Bonzini wrote:
> On 10/27/2009 06:53 PM, Lee Duhem wrote:
>>
>> Hi,
>>
>> This patch fix the following problem:
>>
>> st> (Array lookupSelector: #print) methodFormattedSourceString
>> 'print [
&
Issue status update for
http://smalltalk.gnu.org/node/421
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/421
Project: GNU Smalltalk
Version:
Component:STInST
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: lee
Updated by: l
String
]'
lee
ChangeLog
2009-10-28 Lee Duhem
* RBFormatter.st: Remove duplicate categroy output in
#acceptMethodNode:.
duplicate_category.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk@gnu.org
http:
Hi,
This patch change all the unnatural category name 'accessing the
methodDictionary'
to 'accessing the method dictionary', in kernel/Behavior.st.
lee
ChangeLog
2009-10-28 Lee Duhem
* kernel/Behavior.st: Fix category name.
fix_category_name.patch
Desc
On Tue, Oct 27, 2009 at 12:48 AM, Paolo Bonzini wrote:
> I'll answer to both messages in one.
New patch for enhance to kernel/Behavior.st
ChangeLog for kernel
2009-10-28 Lee Duhem
* kernel/Behavior.st: Add #formattedSourceStringAt:,
#lookupAllSelectors:,
#printFullH
On Tue, Oct 27, 2009 at 5:17 PM, Paolo Bonzini wrote:
> On 10/27/2009 10:15 AM, Lee Duhem wrote:
>>>
>>> > By the way, the reason why I didn't like #allSuperclasses is the
>>> > following.
>>
>> Do you mean #s
On Tue, Oct 27, 2009 at 4:16 PM, Paolo Bonzini wrote:
> On 10/27/2009 04:40 AM, Lee Duhem wrote:
>>
>> Subclasses of nil? I didn't understand what this means, can you explain
>> further
>> or point to some documents?
>
> While 99% of the classes are subcla
On Tue, Oct 27, 2009 at 12:48 AM, Paolo Bonzini wrote:
> #implementors is a nice addition, but you're missing class methods and
> subclasses of nil.
Subclasses of nil? I didn't understand what this means, can you explain further
or point to some documents?
> Also there's nothing in it that requ
implementors returns all the compiled method which implements the
selector named by the receiver, printImplementors print these compiled
methods to the stdout.
lee
ChangeLog
2009-10-27 Lee Duhem
* Extensions.st: Add #lookupFormattedSourceString:, #implements and
they are pretty useful.
lee
ChangLog
2009-10-27 Lee Duhem
* kernel/Behavior.st: Add #lookupAllSelectors:, #printFullHierarchy,
#superclasses and #printSuperclasses:level:using:.
Behavior.patch
Description: Binary data
___
help-smal
On Thu, Oct 22, 2009 at 11:41 PM, Paolo Bonzini wrote:
>
>>> When referencing a nonexistent file
>>>
>>> Foo
>>> does-not-exi.st
>>>
>>> gst-package reports:
>>> gst-package: Invalid argument Foo: package not found
>>> instead of e.g.
>>> gst-package: Foo: file 'does-not-exi.st' not found
>>>
>>
On Sun, Oct 18, 2009 at 3:09 AM, Stefan Schmiedl wrote:
> Issue status update for http://smalltalk.gnu.org/node/418
> Post a follow up: http://smalltalk.gnu.org/project/comments/add/418
>
> Project: GNU Smalltalk
> Version:
> Component: Base classes
> Category: bug reports
> Prio
Hi,
This patch fix some problems in comments of kernel/CCallback.st and
a typo in kernel/Object.st.
lee
ChangeLog
Lee Duhem 2009-09-22
* kernel/CCallback.st: Fix some problems in comments.
* kernel/Object.st: Fix a typo in comments.
kernel.patch
Description: Binary data
erval>>reverse (Interval.st:141)
UndefinedObject>>executeStatements (a String:1)
nil
I think we need a test case for reverse (maybe in tests/Ansi.st), but
I can't figure it out how to add one.
lee
ChangeLog:
2009-10-20 Lee Duhem
* Interval.st: Fix didn't understand m
Hi all,
"AS IS" in comments make test 124 failed, this patch fix these problems.
lee
2009-09-19 Lee Duhem
* pullparser/XMLPullParser.st: Change "AS IS" in copyright header to
`AS IS'.
* pullparser/XMLPullParserTests.st: Ditto.
* s
Hi all,
This patch add argument _gst_show_backtrace needed in .gdbinit
lee
2009-09-19 Lee Duhem
* .gdbinit: Add needed argument to _gst_show_backtrace.
gdbinit.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk
Hi all,
This patch fix return type of registerOOP in doc/gst.texi
lee
ChangeLog:
2009-09-19 Lee Duhem
* doc/gst.texi: Fix return type of registerOOP.
doc-gst.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk
Hi all,
This is a fix for two typos in doc/gst.texi.
lee
ChangeLog:
2009-09-12 Lee Duhem
* doc/gst.texi: Fix typos.
doc-gst.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org
hyphenations which
I can find, here is the patch.
lee
ChangeLog:
2009-09-02 Lee Duhem
* kernel/ArrayColl.st: Remove unnecessary manual hyphenations.
* kernel/Behavior.st: Ditto.
* kernel/BlkClosure.st: Ditto.
* kernel/CharArray.st: Ditto.
* kernel
pointer-set.c need SIZEOF_LONG and true/false, but can't find they definitions.
This patch fix this problem.
lee
ChangeLog:
2009-09-02 Lee Duhem
* configure.ac: Check size of long.
* lib-src/pointer-set.c: Define true and false.
pointer-set.patch
Description: Binary
Lee Duhem
* packages/stinst/doc/Texinfo.st: Fix generate wrong slindex commands
bug.
Texinfo.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Hi,
I trivial fix of typo in help message of scripts/Remote.st
lee
ChangeLog:
2009-09-01 Lee Duhem
* scripts/Remote.st: Fix typo in help message
Remote.patch
Description: Binary data
___
help-smalltalk mailing list
help-smalltalk
Hi,
I have just finished reading GNU Smalltalk User's Guide, and found some typos
and formatting problems, here is my fixes, you may want to take a look.
lee
ChangeLog:
2009-09-01 Lee Duhem
* doc/gst.texi: Fix typos and some formatting problems
gst.patch
Description: B
Hi,
I have just finished reading the tutorial of GNU Smalltalk User's Guide,
and found some bugs in it, here is my fixes, you may want take a look.
lee
ChangeLog:
2009-08-25 Lee Duhem
* doc/tutorial.texi: Fix typo and some format bugs.
tutorial.patch
Description: Binary
63 matches
Mail list logo