Commit graph

278 commits

Author SHA1 Message Date
wlux
77484fe566 Fix bug where incorrect method signatures were generated for script
methods with more than four arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@39088 72102866-910b-0410-8b05-ffd578937521
2015-10-23 16:32:21 +00:00
wlux
7e4a3837ca Correctly initialize the scripting language used in a remote conversation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38152 72102866-910b-0410-8b05-ffd578937521
2014-11-02 22:19:54 +00:00
wlux
24ea420578 Force use of a socket port name server to look up servers on other hosts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38151 72102866-910b-0410-8b05-ffd578937521
2014-11-02 22:11:55 +00:00
wlux
bc3b7df88e Fix space leak when a connection died.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38150 72102866-910b-0410-8b05-ffd578937521
2014-11-02 21:49:08 +00:00
wlux
d3dd2dea35 Add method implementations for the symbolic selectors ~= and ~~.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38147 72102866-910b-0410-8b05-ffd578937521
2014-11-01 18:36:50 +00:00
wlux
919ecffb1f Fix bug where the cached context of a block could be reused prematurely.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38146 72102866-910b-0410-8b05-ffd578937521
2014-11-01 18:26:39 +00:00
wlux
735d214c24 Fix a whole bunch of space leaks in StepTalk.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38145 72102866-910b-0410-8b05-ffd578937521
2014-11-01 17:47:23 +00:00
wlux
412dff68bd Remove unused interpreter attribute and corresponding argument from
STBlockContext and its initializer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38119 72102866-910b-0410-8b05-ffd578937521
2014-10-14 20:13:09 +00:00
wlux
bedd93fd94 Remove unused environment argument from STMethodContext initializer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38118 72102866-910b-0410-8b05-ffd578937521
2014-10-14 20:03:39 +00:00
wlux
d2d67f2305 Set the return value of the invocation also when the exit pseudo
method of a Smalltalk script object is called.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38117 72102866-910b-0410-8b05-ffd578937521
2014-10-14 07:58:57 +00:00
wlux
48ec80760b Add missing nil terminator to argument list of arrayWithObjects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38116 72102866-910b-0410-8b05-ffd578937521
2014-10-14 07:51:02 +00:00
wlux
690a6a236f Fix another mutable vs. non-mutable array mismatch detected by clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38065 72102866-910b-0410-8b05-ffd578937521
2014-09-09 15:11:46 +00:00
wlux
d429ca8c0c Use non-mutable array to fix mutable vs. non-mutable array mismatch
detected by clang.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38064 72102866-910b-0410-8b05-ffd578937521
2014-09-09 15:00:54 +00:00
wlux
c5c4c0b5ba Fix NSDebugLLog format issues detect by clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38063 72102866-910b-0410-8b05-ffd578937521
2014-09-09 13:52:49 +00:00
wlux
2e2fbc7bbd Revert bogus change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@37540 72102866-910b-0410-8b05-ffd578937521
2014-01-06 11:24:16 +00:00
rfm
b3de3ba782 trivial optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@37485 72102866-910b-0410-8b05-ffd578937521
2013-12-20 14:42:10 +00:00
wlux
3bd67cd8ce Fix bug where the Smalltalk source reader was loosing the last character
of a symbol token that appears immediately before the end of input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36777 72102866-910b-0410-8b05-ffd578937521
2013-06-30 17:44:50 +00:00
wlux
a1db1c9808 Fix bug where the Smalltalk source reader was loosing the last character
of a symbol token that appears immediately before the end of input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36776 72102866-910b-0410-8b05-ffd578937521
2013-06-30 17:42:15 +00:00
wlux
a78b9c517c Fix bug where the Smalltalk source reader was setting a wrong token
range for character literals.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36775 72102866-910b-0410-8b05-ffd578937521
2013-06-30 17:30:52 +00:00
wlux
56a8a12a24 Fix bug where the Smalltalk source reader would accept an incomplete
exponent in a real number, e.g., '1e'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36774 72102866-910b-0410-8b05-ffd578937521
2013-06-30 17:24:51 +00:00
wlux
1c7fa86011 Prevent out of range accesses for the input string in the Smalltalk
source reader.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36773 72102866-910b-0410-8b05-ffd578937521
2013-06-30 17:13:05 +00:00
wlux
dc6f780ba0 Tidy Smalltalk source reader.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36772 72102866-910b-0410-8b05-ffd578937521
2013-06-30 16:54:32 +00:00
wlux
70d26262d3 Fix marshaling for method and structure arguments with type (char*)
and skip const qualifiers in argument and result types.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36664 72102866-910b-0410-8b05-ffd578937521
2013-05-27 12:34:12 +00:00
wlux
08ec90b25b Fix typo in STActor method name and introduce additional methods to
add and remove instance variables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36663 72102866-910b-0410-8b05-ffd578937521
2013-05-26 16:25:54 +00:00
wlux
1c3572659a Change Smalltalk grammar to allow empty list of temporaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36662 72102866-910b-0410-8b05-ffd578937521
2013-05-26 16:14:13 +00:00
wlux
5577aa8c0a StepTalk scripts panel: int->NSInteger transition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36661 72102866-910b-0410-8b05-ffd578937521
2013-05-26 16:03:29 +00:00
wlux
544e13329c StepTalk tools and examples: int->NSInteger transition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36660 72102866-910b-0410-8b05-ffd578937521
2013-05-26 16:01:34 +00:00
wlux
f4bc8ee644 StepTalk module bundles: int->NSInteger transition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36659 72102866-910b-0410-8b05-ffd578937521
2013-05-26 15:58:39 +00:00
wlux
28a4c17e21 StepTalk Smalltalk compiler: int->NSInteger transition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36658 72102866-910b-0410-8b05-ffd578937521
2013-05-26 15:51:26 +00:00
wlux
b588957b4d StepTalk framework: int->NSInteger transition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36657 72102866-910b-0410-8b05-ffd578937521
2013-05-26 15:35:06 +00:00
wlux
033a344f7b Fix bug in Smalltalk reader where the last character of an identifier
was dropped when the assignment operator ':=' follows it immediately.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36480 72102866-910b-0410-8b05-ffd578937521
2013-04-06 12:22:28 +00:00
wlux
94924cf9fd Fix bug where instance variables of an actor got lost when set to nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36476 72102866-910b-0410-8b05-ffd578937521
2013-04-06 09:08:42 +00:00
wlux
79852efd4c Add yourself method from Smalltalk, which is convenient in cascades.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36463 72102866-910b-0410-8b05-ffd578937521
2013-04-04 07:33:26 +00:00
wlux
cdaebb61bd Hide the StepTalk application scripting menu after it has been loaded
from its bundle.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36457 72102866-910b-0410-8b05-ffd578937521
2013-04-03 07:53:14 +00:00
wlux
b782d7081b Fix -collect: method to properly handle nil results from block.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36456 72102866-910b-0410-8b05-ffd578937521
2013-04-03 07:46:24 +00:00
wlux
6100a0f8cc Fix Smalltalk reader to always return correct line numbers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36455 72102866-910b-0410-8b05-ffd578937521
2013-04-03 07:42:02 +00:00
wlux
00c05091bc Fix bug where the STInterpreterReturnException was not handled when a
block returns nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36426 72102866-910b-0410-8b05-ffd578937521
2013-03-25 11:32:20 +00:00
wlux
967c8adcd2 Fix stack underflow exception when computing the value of an empty
block.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36422 72102866-910b-0410-8b05-ffd578937521
2013-03-24 17:29:43 +00:00
wlux
b670e8ff6e Follow Smalltalk convention to return the receiver from a method
without an explicit return statement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36421 72102866-910b-0410-8b05-ffd578937521
2013-03-24 17:24:11 +00:00
wlux
27085bbb33 Fix to allow using Smalltalk blocks even after the method containing
their definition has returned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36420 72102866-910b-0410-8b05-ffd578937521
2013-03-24 17:19:55 +00:00
wlux
835a3280fd Implement correct semantics for return statements inside a Smalltalk
block, which is to return from the method containing the block's
definition.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36419 72102866-910b-0410-8b05-ffd578937521
2013-03-24 17:02:20 +00:00
wlux
8fd0df17b9 Fix Smalltalk compiler bug: The value of a statement sequence is the
value of its last statement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36410 72102866-910b-0410-8b05-ffd578937521
2013-03-23 20:02:23 +00:00
wlux
6a41970180 Fix bug where an uninitialized attribute got used during initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36409 72102866-910b-0410-8b05-ffd578937521
2013-03-23 19:58:28 +00:00
wlux
898468e32f Check the result of the super class initializer and assign it to self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36407 72102866-910b-0410-8b05-ffd578937521
2013-03-23 19:17:07 +00:00
wlux
ef4c3d3bb6 Check the result of the super class initializer and assign it to self.
Also fix two minor space leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36406 72102866-910b-0410-8b05-ffd578937521
2013-03-23 19:07:51 +00:00
wlux
9dfbbde170 Update to current StepTalk framework methods.
Check the result of the super class initializer and assign it to self.
Also fix a space leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36405 72102866-910b-0410-8b05-ffd578937521
2013-03-23 19:00:43 +00:00
wlux
dc24d16450 Check the result of the super class initializer and assign it to self.
Also fix a space leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36404 72102866-910b-0410-8b05-ffd578937521
2013-03-23 18:35:43 +00:00
wlux
5c6dd5de32 Check the result of the super class initializer and assign it to self.
Also fix two memory management errors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36403 72102866-910b-0410-8b05-ffd578937521
2013-03-23 18:09:25 +00:00
wlux
b1bf2c3383 Check the result of the super class initializer and assign it to self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36402 72102866-910b-0410-8b05-ffd578937521
2013-03-23 17:17:35 +00:00
wlux
fce6ceca8d Unescape two successive single quote characters inside Smalltalk
literal string tokens.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@36235 72102866-910b-0410-8b05-ffd578937521
2013-03-02 16:09:07 +00:00