NaiveRomanNumberFormatNotification.st
author Jan Vrany <jan.vrany@labware.com>
Wed, 23 Jun 2021 12:50:05 +0100
branchjv
changeset 25430 acd92449dc30
parent 17911 a99f15c5efa5
permissions -rw-r--r--
`Process`: revert `#interruptWith:` Commit 3b02b0f1f647: Cherry-picked `Semaphore`, `EventSemaphore, `Process` and `ProcessorScheduler` changes `Process >> #interruptWith:` but this - for not yet known reason - breaks stx:libjava tests. This commit reverts the code to version before that commit, fixing tests.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     1
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     2
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     3
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     4
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     5
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     6
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     8
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
     9
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    10
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    11
"
6680
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
Notification subclass:#NaiveRomanNumberFormatNotification
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
11124
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    18
	category:'Magnitude-Numbers'
6680
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    21
!NaiveRomanNumberFormatNotification class methodsFor:'documentation'!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    22
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    23
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    24
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    25
 COPYRIGHT (c) 2002 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    26
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    27
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    28
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    29
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    31
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    32
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    33
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    34
"
11124
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    35
!
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    36
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    37
documentation
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    38
"
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    39
    raised if a naive roman number is converted.
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    40
    These are the (incorrect) representations for 4, 9, 40, 90 etc.,
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    41
    which use 4 ones (tens, etc) instead of a 5-1 encoding.
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    42
    (such as 'IIII' instead of 'IV')
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    43
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    44
    This is a notification only - i.e. if not handled, the conversion proceeds
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    45
    and accepts the naive number.
07f38b03a137 category changes
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    46
"
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6680
diff changeset
    47
! !
6680
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!NaiveRomanNumberFormatNotification class methodsFor:'documentation'!
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
db9c7f9ad960 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
version
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17883
diff changeset
    52
    ^ '$Header: /cvs/stx/stx/libbasic/NaiveRomanNumberFormatNotification.st,v 1.3 2008/08/06 09:53:07 cg Exp $'
17846
24edc476ac18 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17845
diff changeset
    53
! !
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17883
diff changeset
    54
17910
8d796ca8bd1d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17892
diff changeset
    55
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    56