supermario/base/SuperMarioProj.1994-02-09/Interfaces/PInterfaces/PInterfaces Release Notes
2019-06-29 23:17:50 +08:00

594 lines
19 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

PInterfaces Release Notes
First created on: 3/20/92 4:35:27 PM
----------------------------------------------------------•----------------------------------------------------------
3/20/92 4:35:37 PM
File: Language.h,4
Owner: Don Louv
Project: MainProj∫Interfaces∫CIncludes∫
File: Packages.h,21
Owner: Don Louv
Project: MainProj∫Interfaces∫CIncludes∫
File: Script.h,52
Owner: Don Louv
Project: MainProj∫Interfaces∫CIncludes∫
File: Language.p,4
Owner: Don Louv
Project: MainProj∫Interfaces∫PInterfaces∫
File: Packages.p,20
Owner: Don Louv
Project: MainProj∫Interfaces∫PInterfaces∫
File: Script.p,50
Owner: Don Louv
Project: MainProj∫Interfaces∫PInterfaces∫
File: MenuMgrPatches.c,9
Owner: Don Louv
Project: MainProj∫ProcessMgr∫
File: MenuMgr.c,8
Owner: Don Louv
Project: MainProj∫Toolbox∫MenuMgr∫
Radar bug: #1025005
> Release notes for this change:
Moving declarations in include files for the New Inside Mac. And updated 2 files to follow the declarations they need.
> What was tested:
Built CUBE-E.
----------------------------------------------------------•----------------------------------------------------------
4/8/92 12:02:45 PM
File: ScriptEqu.a,50
Owner: Peter Edberg
Project: MainProj∫Interfaces∫AIncludes∫
File: Script.h,60
Owner: Peter Edberg
Project: MainProj∫Interfaces∫CIncludes∫
File: Script.p,58
Owner: Peter Edberg
Project: MainProj∫Interfaces∫PInterfaces∫
File: ScriptPriv.a,63
Owner: Peter Edberg
Project: MainProj∫Internal∫Asm∫
File: ScriptPriv.h,23
Owner: Peter Edberg
Project: MainProj∫Internal∫C∫
Radar bug: #1026516
> Release notes for this change:
Many of the script manager routines that depend on a grafport (to get a font => script code that determines their operation) have an alternate form in which a script code can be passed as a parameter; this is useful when a grafport may not be available. Until now, interfaces for these alternate forms are all private (although they are already being tested for Cube-E). They are now being made public, as various people need them, including N&C and El Kabong applications. The implementation of these routines is the same standard forms; the code that handles the script code parameter is in the Script Manager dispatcher, and it strips this parameter, so by the time we reach the routines themselves, the stack setup is the same as the normal way of calling these routines.
These interfaces are: SCCharByte, SCCharType, SCFindWord, SCTransliterate, SCParseTable, SCLowerText, SCUpperText, SCStripText, SCStripUpperText.
> What was tested:
Full System file build (-e): there is no change in functionality, just moving interfaces. Pasted resulting Script Mgr patches into Cube-E 36++ and ran the system.
----------------------------------------------------------•----------------------------------------------------------
4/9/92 6:07:55 PM
File: GestaltEqu.a,52
Owner: Jeff Miller
Project: MainProj∫Interfaces∫AIncludes∫
File: GestaltEqu.h,53
Owner: Jeff Miller
Project: MainProj∫Interfaces∫CIncludes∫
File: GestaltEqu.p,47
Owner: Jeff Miller
Project: MainProj∫Interfaces∫PInterfaces∫
File: Sys.r,304
Owner: Jeff Miller
Project: MainProj∫Make∫
File: GestaltFunction.a,42
Owner: Jeff Miller
Project: MainProj∫OS∫Gestalt∫
File: GestaltPatches.a,31
Owner: Jeff Miller
Project: MainProj∫OS∫Gestalt∫
File: PatchIIciROM.a,150
Owner: Jeff Miller
Project: MainProj∫Patches∫
File: ShutDownMgr.a,50
Owner: Jeff Miller
Project: MainProj∫Toolbox∫ShutDownMgr∫
File: SoundMgrPatch.a,25
Owner: Jeff Miller
Project: MainProj∫Toolbox∫SoundMgr∫
Radar bug: #1026795
> Release notes for this change:
As we do for the PowerBook 100, we need to change boxFlag on Macintosh LC II machines
from its original value of boxMacLC to boxMacLCII in PatchIIciROM.a. We also need
to add a new value that can be returned for gestaltMachineType, gestaltMacLCII. This has
implications
in several areas of the System. We need to add a new entry in the machine icon table
for Gestalt (the same icon as the LC) and a new string in the machine name STR# in the
System (”Macintosh LC II”), both of which show up in the Finder. We need to make sure
that Gestalt returns the same value for gestaltHasSoftPowerOff and gestaltSerialAttr
as the Mac LC. In the ShutDown Manager, we need to set the CLUT to 50% gray on a restart
as we do for an LC. In the Sound Manager, we need to expand the sound primitive vector
table
to include the LC II.
> What was tested:
On an LC II, verified that boxFlag was set correctly, verified that the right icon and
machine string appear in About This Macintosh…, verified that the CLUT was set to 50%
gray on restart, verified that sound input worked. Didnt check the returned values for
gestaltHasSoftPowerOff and gestaltSerialAttr, though.
----------------------------------------------------------•----------------------------------------------------------
4/21/92 4:40:34 PM
File: Traps.a,75
Owner: Dean Yu
Project: MainProj∫Interfaces∫AIncludes∫
File: Resources.h,12
Owner: Dean Yu
Project: MainProj∫Interfaces∫CIncludes∫
File: Resources.p,8
Owner: Dean Yu
Project: MainProj∫Interfaces∫PInterfaces∫
File: ResourceMgrExtensions.a,45
Owner: Dean Yu
Project: MainProj∫Toolbox∫ResourceMgr∫
Radar bug: #1018901
> Release notes for this change:
With the Fonts folder, a font family can be split across several files. This is a new
behaviour, and
programs that assume that a FOND will contain information about all the fonts belonging
to that
font family will be in for a surprise. Provide a new call, GetNextFOND, which will take
a handle to
a FOND resource as a parameter, and it will return the next FOND resource in the
resource chain
belonging to the same family. The LaserWriter driver is currently the only client of
this call.
> What was tested:
The bug states that MacWrite IIs ReadMe file does not print correctly under Cube-E.
This was due
to the fact that the LaserWriter driver was looking for a style mapping table in the
first Gevena
FOND it found. This is the one in the system file, which does not have a style mapping
table.
Because it does not find a style mapping table, it tries to download a bitmapped font.
Instead, the
LaserWriter driver should look for another Geneva FOND.
The LaserWriter driver has been changed to call the new routine GetNextFOND to look for
another
FOND for the same family if the FOND it has does not have a style mapping table.
With this fix,
MacWrite II can print its ReadMe document without any problems, whereas it would print
in
Courier without the fix.
GetNextFOND also has code which checks to see if the FOND is in an override map. If it
is,
GetNextFOND will search for the map after the first non-override map after the override
map, so
that the same FOND resource will not be returned all the time. To test this, I placed
a copy of
the Geneve FOND, and the NFNTs in the System into a Gibbly and tried to print the
ReadMe file.
This also printed correctly.
----------------------------------------------------------•----------------------------------------------------------
5/27/92 6:43:18 PM
File: DictionaryEqu.a,1
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫AIncludes∫
File: SysErr.a,36
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫AIncludes∫
File: Traps.a,77
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫AIncludes∫
File: Dictionary.h,1
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫CIncludes∫
File: Errors.h,19
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫CIncludes∫
File: Dictionary.p,1
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫PInterfaces∫
File: Errors.p,21
Owner: hae-sung Kim
Project: MainProj∫Interfaces∫PInterfaces∫
Radar bug: #1030902
> Release notes for this change:
Make new interface files for Dictionary manager. Add Dictionary manager error numbers.
> What was tested:
Compiled each interface file.
----------------------------------------------------------•----------------------------------------------------------
5/27/92 10:41:56 PM
File: GestaltEqu.a,54
Owner: Kip Olson
Project: MainProj∫Interfaces∫AIncludes∫
File: GestaltEqu.h,55
Owner: Kip Olson
Project: MainProj∫Interfaces∫CIncludes∫
File: GestaltEqu.p,49
Owner: Kip Olson
Project: MainProj∫Interfaces∫PInterfaces∫
File: UniversalEqu.a,25
Owner: Kip Olson
Project: MainProj∫Internal∫Asm∫
File: SinHighLevel.c,35
Owner: Kip Olson
Project: MainProj∫Toolbox∫SoundMgr∫
File: SoundMgrLowLevel.a,31
Owner: Kip Olson
Project: MainProj∫Toolbox∫SoundMgr∫
File: SoundMgrPriv.c,64
Owner: Kip Olson
Project: MainProj∫Toolbox∫SoundMgr∫
Radar bug: #1030293
> Release notes for this change:
Some CPUs cannot play and record at the same time (like the Mac LC, LC II and Vail). A
bit was added to Gestalt called “gestaltPlayAndRecord” which tells you if a machine can
play and record simultaneously. If the bit is not set, the SndRecord() dialog knows that
it should turn off recording before playing the sound just recorded. Also,
SndNewChannel() knows not to allow a channel to be opened while recording on an LC.
> What was tested:
Tested on a Mac LC, IIsi
----------------------------------------------------------•----------------------------------------------------------
6/2/92 9:21:18 PM
File: GestaltEqu.a,55
Owner: Jeff Miller
Project: MainProj∫Interfaces∫AIncludes∫
File: GestaltEqu.h,56
Owner: Jeff Miller
Project: MainProj∫Interfaces∫CIncludes∫
File: GestaltEqu.p,50
Owner: Jeff Miller
Project: MainProj∫Interfaces∫PInterfaces∫
File: InternalOnlyEqu.a,22
Owner: Jeff Miller
Project: MainProj∫Internal∫Asm∫
File: Sys.r,317
Owner: Jeff Miller
Project: MainProj∫Make∫
File: GestaltPatches.a,33
Owner: Jeff Miller
Project: MainProj∫OS∫Gestalt∫
File: PatchIIciROM.a,153
Owner: Jeff Miller
Project: MainProj∫Patches∫
File: ShutDownMgr.a,51
Owner: Jeff Miller
Project: MainProj∫Toolbox∫ShutDownMgr∫
File: SoundMgrLowLevel.a,32
Owner: Jeff Miller
Project: MainProj∫Toolbox∫SoundMgr∫
File: SoundMgrPatch.a,27
Owner: Jeff Miller
Project: MainProj∫Toolbox∫SoundMgr∫
Radar bug: #1031451
> Release notes for this change:
As we do for the PowerBook 140, we need to change boxFlag on PowerBook 145 machines from
its original value of boxPowerBook170 to boxPowerBook145 in PatchIIciROM.a. We also need
to add a new value that can be returned for gestaltMachineType, gestaltPowerBook145.
This has implications in several areas of the System. We need to add a new entry in the
machine icon table for Gestalt (the same icon as the PowerBook 140) and a new string in
the machine name STR# in the System (”PowerBook 140.” for now, until we announce the
machine (the period at the end will let you tell the difference in the meantime)), both
of which show up in the Finder. In the ShutDown Manager, we need to close the video
driver at shutdown or restart as we do for the 140 and 170. In the Sound Manager, we need
to expand the sound primitive vector table to include the 145, and fool the Gestalt
attribute table into thinking a 145 is really a 140.
> What was tested:
On a PowerBook 145, verified that boxFlag was set correctly, verified that the right icon
and machine string appear in About This Macintosh…, verified that playing a sound and
sound input worked.
----------------------------------------------------------•----------------------------------------------------------
7/15/92 8:17:43 PM
File: ToolUtils.a,25
Owner: Susan M. Bartalo
Project: MainProj∫Interfaces∫AIncludes∫
File: TextEdit.h,22
Owner: Susan M. Bartalo
Project: MainProj∫Interfaces∫CIncludes∫
File: TextEdit.p,19
Owner: Susan M. Bartalo
Project: MainProj∫Interfaces∫PInterfaces∫
File: TextEditPriv.a,16
Owner: Susan M. Bartalo
Project: MainProj∫Internal∫Asm∫
File: TextEdit.a,49
Owner: Susan M. Bartalo
Project: MainProj∫Toolbox∫TextEdit∫
File: TextEditPatchIIciROM.a,50
Owner: Susan M. Bartalo
Project: MainProj∫Toolbox∫TextEdit∫
Radar bug: ##
> Release notes for this change:
Move DoText selectors from the private interface file TextEditPriv.a to the public
interface files so the whole darn world can use the selectors instead of hard-coded
constants! Renamed teMark to teHighlight and teLoc to teCaret.
> What was tested:
No testing necessary since just changed the names.
----------------------------------------------------------•----------------------------------------------------------
7/23/92 2:07:16 PM
File: GestaltEqu.p,53
Owner: Dean Yu
Project: MainProj∫Interfaces∫PInterfaces∫
File: SysObj.Make,474
Owner: Dean Yu
Project: MainProj∫Make∫
Radar bug:
> Release notes for this change:
Pascal doesnt deal with register based calls without glue very well. A recent change to
make Gestalt inline in Pascal just doesnt cut it, since the caller is still passing the
parameters to Gestalt on the stack, thusly possibly trashing the caller. Remove the
inline.
> What was tested:
This caused the machine to crash if you turned on balloon help, and pointed at an empty
spot in the menu bar. Making the Help Manager use Gestalt glue again gets rid of the
problem.
----------------------------------------------------------•----------------------------------------------------------
7/31/92 11:46:17 AM
File: TextServices.p,6
Owner: Kenny S. Tung
Project: MainProj∫Interfaces∫PInterfaces∫
Radar bug: #1037621
> Release notes for this change:
Added two constants: keyAEPinRange pnrg and typeTextRange txrn.
> What was tested:
No functionality change
----------------------------------------------------------•----------------------------------------------------------
10/16/92 10:45:01 AM
File: Traps.a,78
Owner: Dean Yu
Project: MainProj∫Interfaces∫AIncludes∫
File: Memory.h,21
Owner: Dean Yu
Project: MainProj∫Interfaces∫CIncludes∫
File: Traps.h,16
Owner: Dean Yu
Project: MainProj∫Interfaces∫CIncludes∫
File: Memory.p,10
Owner: Dean Yu
Project: MainProj∫Interfaces∫PInterfaces∫
File: Traps.p,15
Owner: Dean Yu
Project: MainProj∫Interfaces∫PInterfaces∫
File: OSTraps.a,16
Owner: Dean Yu
Project: MainProj∫Libs∫InterfaceSrcs∫
Radar bug:
> Release notes for this change:
Added interface for BlockMoveData.
> What was tested:
Made sure all builds still do.
----------------------------------------------------------•----------------------------------------------------------
3/30/93 10:41:32 AM
File: Traps.a,12
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫AIncludes∫
File: Traps.h,6
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫CIncludes∫
File: Traps.p,5
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫PInterfaces∫
Radar bug:
> Release notes for this change:
Add Display Manager trap to various header files.
> What was tested:
Build ROM and run with it. Built RISC but dont have a Flash card for PDM to test it.
----------------------------------------------------------•----------------------------------------------------------
8/4/93 4:06:42 PM
File: Displays.a,6
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫AIncludes∫
File: GestaltEqu.a,19
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫AIncludes∫
File: Displays.h,6
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫CIncludes∫
File: GestaltEqu.h,18
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫CIncludes∫
File: GestaltEqu.p,10
Owner: Ian Hendry
Project: SuperMarioProj∫Interfaces∫PInterfaces∫
File: DisplaysPriv.a,6
Owner: Ian Hendry
Project: SuperMarioProj∫Internal∫Asm∫
File: DisplaysPriv.h,8
Owner: Ian Hendry
Project: SuperMarioProj∫Internal∫C∫
File: DisplayMgr.a,7
Owner: Ian Hendry
Project: SuperMarioProj∫Toolbox∫DisplayMgr∫
File: DisplayMgr.c,12
Owner: Ian Hendry
Project: SuperMarioProj∫Toolbox∫DisplayMgr∫
File: DisplayMgr.make,5
Owner: Ian Hendry
Project: SuperMarioProj∫Toolbox∫DisplayMgr∫
File: DisplayMgrUtils.c,6
Owner: Ian Hendry
Project: SuperMarioProj∫Toolbox∫DisplayMgr∫
Radar bug: #1101633,1098397,1101795,1101636,1102280
> Release notes for this change:
Fixed a number of compatibility bugs (1101633,1098397,1101795,1101636,1102280).
I investigated a number of strategies for compatibility when the main display
changed to a different monitor. The problem was that there were alway incompatibilities
with some applications and/or performance penalties.
New Implementation:
Exchange the contents the old main device and the new main device so that cached handles
still behave correctly. There is no performance penalty and (so far) no application
incompatibilities beyond those introduced by the change in size. I dicussed all these
solutions with Kon Othmer and we both feel this is the base strategy. The only problem
is that this implementation breaks the connection between a phsyical monitor and its
gDevice.
Rejected implementations:
  (1) changing the lo-mem MainDevice field (apps cache this value),
  (2) introducing a dummy device in the device list that MainDevice points to and
shadowing and disabling the real main device such that caching MainDevice handle works
(some apps had problems and performance suffered because QD always take the multidevice
case, and boot code assumes that all devices in the device list are active screen devices
and therefore scrn resources are invalid if it finds an extra device),
  (3) introducing a dummy device BEFORE the device list and pointed MainDevice at it.
Fixed the boot problems and the performance hit, but broke applications that assume
MainDevice is in device list (including MicroSoft Excel).
Added compatibility model. Conditionally compiled fixes in a separate file with some
guildlines for making sure these fixes can be turned off. The CloseView compatilbility
fix is the only one in use.
WARNING:
WARNING: As of this check in, you must use either Pre-Display Manager Monitors CP or
WARNING: Psychic TV A4 Monitors CP. The API changed slightly to clean up the interface
WARNING: and intermediate versions will crash.
WARNING:
> What was tested:
Built and tested extension with Reality sources. Margarita regressed most of the
existing bugs and things seemed to work. I updated SuperMario from reality and built and
tested resolution flipping and new version of monitors on PDM. Everything seems fine.
----------------------------------------------------------•----------------------------------------------------------