Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 2.98 KB

TODO.md

File metadata and controls

54 lines (48 loc) · 2.98 KB

ManOpen To Do

Fix Bugs

  • The Edit | Copy URL command produces clipboard text like <x-man-doc://grep>, but this should be x-man-page:///grep
  • The Edit | Find | Find... command shows a Find dialog with Replace field and actions, show a Find only dialog instead
  • In the ManDocument class, the copyURL instance variable will be mistakenly set to something like x-man-doc://2/open(2)
  • When MANPATH is nil or not provided, apropos and man page searches should use the MANPATH stored in user defaults; currently only some code paths do this.
  • Validate that manopen: scheme handles all MANSECTs given in man.conf and section names in openman.m.
  • In ManDocumentController's -openString: method, employ a definitive method for breaking the string into man pages to open, removing approximately from the informativeText of the alert.
  • When opening or re-opening man pages that are aliases for the same file (e.g. grep and egrep), locate the already-opened man page for that alias.
  • When opening man pages from the File | Open Recent menu, the ManDocument window shows the filename as the title (e.g. mkfifo.1) and a default document icon; figure out how to reopen the document with the same title and icon used to originally open it.

Modernize Code

New Features

  • Automatically locate Xcode and search it for man pages
  • Distribute openman in app bundle and add command to install it
  • Make sure that ManOpen.app can always find the openman.1 man page.
  • Make sure that ManOpen.app registers with Launch Services on startup by calling LSRegisterURL()
  • Redraw open windows after changing font in preferences.
  • Recalculate window sizes after changing font in preferences.