On 13 May 2010 20:27, Stéphane Ducasse <[email protected]> wrote:
>>>>
>>> just replace CompiledMethod>>checkOKToAdd:at:, or take it from trunk.
>
> this is exactly the same in pharo and squeak trunk
>
Huh?
In Pharo-1.1.-11343
CompiledMethod>>checkOKToAdd: size at: filePosition
"Issue several warnings as the end of the changes file approaches its
limit,
and finally halt with an error when the end is reached."
| fileSizeLimit margin |
fileSizeLimit := 16r2000000.
3 to: 1 by: -1 do:
[:i | margin := i*100000.
(filePosition + size + margin) > fileSizeLimit
ifTrue: [(filePosition + margin) > fileSizeLimit
ifFalse:
[self inform: 'WARNING: your
changes file is within
' , margin printString , ' characters of its size limit.
You should take action soon to reduce its size.
You may proceed.']]
ifFalse: [^ self]].
(filePosition + size > fileSizeLimit) ifFalse: [^ self].
self error: 'You have reached the size limit of the changes file.
You must take action now to reduce it.
Close this error. Do not attempt to proceed.'
>
>>>>> CompiledMethod>>checkOKToAdd: size at: filePosition
>>>>> "Issue several warnings if the end of the changes file is
>>>>> approaching
>>>>> a fixed size limit, and finally halt with an error if the limit is
>>>>> reached."
>>>>>
>>>>> ^ SourceFiles checkOKToAdd: size at: filePosition
>>>>>
>>>>> looks like Pharo didn't integrated this method.
>>>>>
>>>>> also, make sure you using a proper source file array..
>>>>>
>>>>> SourceFiles class == ExpandedSourceFileArray
>
> SourceFiles class
> -> ExpandedSourceFileArray
>
> I integrated the squeak squeak and they are all green.
> so I'm puzzled
>
>
>
>
>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> On 13 May 2010 03:10, Igor Stasenko <[email protected]> wrote:
>>>>>> 2010/5/13 Mariano Martinez Peck <[email protected]>:
>>>>>>> Hi. I have the following error:
>>>>>>>
>>>>>>> 'You have reached the size limit of the changes file.
>>>>>>> You must take action now to reduce it.
>>>>>>> Close this error. Do not attempt to proceed.'
>>>>>>>
>>>>>>> I know this is a known error, but I thought that with Igor's new method
>>>>>>> trailer this was fixed.
>>>>>>>
>>>>>>
>>>>>> Seems like a leftovers of old stuff, with precautions once you
>>>>>> reaching the size limit.
>>>>>>
>>>>>> Close this error. And attempt to proceed.
>>>>>>
>>>>>> :)
>>>>>>
>>>>>>> Tested in 11355
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Mariano
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>> Igor Stasenko AKA sig.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko AKA sig.
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [email protected]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [email protected]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project