Changes between Version 10 and Version 11 of MacPortStatus


Ignore:
Timestamp:
09/17/12 18:44:05 (7 years ago)
Author:
myshkin
Comment:

Revised Cocoa status.

Legend:

Unmodified
Added
Removed
Modified
  • MacPortStatus

    v10 v11  
    11== Cocoa module == 
    2 The [https://github.com/angband/angband/pull/64 Cocoa port contribution] from ridiculousfish is a substantial improvement, but still requires some work before we can adopt it as the supported OS X module. Things I hope to fix before the 3.4 release: 
     2The [https://github.com/angband/angband/pull/64 Cocoa port contribution] from ridiculousfish is a substantial improvement. We have made it the supported OS X display module, but it still wants some work before we can adopt it as the supported OS X module. Things I hope to fix before the next release: 
    33 
    4 * Currently, resizing a window simply rescales its contents; the application does not permit different font sizes in different windows or non-default numbers of rows or columns. It should behave more like other multi-term modules. I have coded support for different font names and sizes in different terms, and setting the font will resize the term accordingly. I would like to add support for holding down Command while resizing to change the number of rows and columns in a term, but that is not present yet. 
    5 * The Cocoa port chooses a different directory for save files, pref files, and the like from what the Carbon port used. I'll have to check the Apple docs to see which makes more sense. UPDATE: see [http://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW6 OS X Standard Directories: Where Files Reside]. Save files, user preference files, etc. will go under `~/Documents/Angband`, and app-created preferences like font sizes for terms will go into `~/Library/Preferences/org.rephial.angband.plist`. 
     4* Currently, resizing a window simply rescales its contents; the application does not permit different font sizes in different windows or non-default numbers of rows or columns. It should behave more like other multi-term modules. I have coded support for different font names and sizes in different terms, and setting the font will resize the term accordingly. I would like to add support for holding down Command while resizing to change the number of rows and columns in a term (or perhaps vice versa), but that is not present yet. 
     5* Excessive terminal refresh calls are hurting performance. See #1669. 
     6* The window close buttons are currently disabled. They should instead work and automatically modify the subwindow preferences, or save and quit the game in the case of the main window, possibly with prompting. 
     7* The Cocoa port has no support for movement by mouse. This should not be too difficult to port forward from the Carbon port. 
    68* The Cocoa port lacks the Open Recent... menu from the Carbon port. 
    79* The Cocoa port lacks support for double-height tiles, overdraw, and alphablend. 
    8 * Keymaps do not work as expected. With roguelike keys, it knows that keymaps like !^B -> +1 exist enough to be able to append them to a file, but the query function doesn't know them, and they don't work in the game. Also, capital J becomes {S}J (which is technically correct, but quite cumbersome), and !^J becomes !^[Return] (and !^H becomes !^[Backspace]). david3x3x3 fixed most of this problem in the #1417 fix, and adding checks for MODS_INCLUDE_{CONTROL,SHIFT} to send_event() dealt with most of the extraneous modifiers. 
    910* Command-` cycles through the windows in a non-intuitive order. 
    1011 
    11 I have UTF-8 support mostly working in my v4-utf-8 branch. 
     12Fixes that have already made it into master: 
     13* The Cocoa port chooses a different directory for save files, pref files, and the like from what the Carbon port used. I'll have to check the Apple docs to see which makes more sense. UPDATE: see [http://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW6 OS X Standard Directories: Where Files Reside]. Save files, user preference files, etc. will go under `~/Documents/Angband`, and app-created preferences like font sizes for terms will go into `~/Library/Preferences/org.rephial.angband.plist`. 
     14* Keymaps do not work as expected. With roguelike keys, it knows that keymaps like !^B -> +1 exist enough to be able to append them to a file, but the query function doesn't know them, and they don't work in the game. Also, capital J becomes {S}J (which is technically correct, but quite cumbersome), and !^J becomes !^[Return] (and !^H becomes !^[Backspace]). david3x3x3 fixed most of this problem in the #1417 fix, and adding checks for MODS_INCLUDE_{CONTROL,SHIFT} to send_event() dealt with most of the extraneous modifiers. 
     15* UTF-8 is now completely supported, as far as I know. 
    1216 
    13 The myshkin/master-osx branch now has UTF-8 support and the fixes noted above. It awaits testing and merging into master. Valgrind reports lots of leaks and errors, but many of them are safe to ignore. I will go through the output in more detail soon. 
     17Valgrind reports lots of leaks and errors, but many of them are safe to ignore. I will go through the output in more detail soon. 
    1418 
    1519Note that, because of the API functions it uses, the Cocoa module requires OS X 10.5 or later. We are also not supporting PPC machines.