Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 16, 2014
  1. @comawill
  2. @comawill
Commits on Oct 30, 2013
  1. remove references to old code

    authored
  2. update gitignore

    authored
Commits on Jul 3, 2013
  1. deployment target 10.7

    authored
  2. update copyright

    authored
Commits on Sep 2, 2012
  1. @nickhutchinson

    Add support for thumbnail generation.

    nickhutchinson authored
    According to the (awful) documentation in the QuickLook header files, for this to work the QLNeedsToBeRunInMainThread Info.plist key has to be set to true.
    
    Thumbnails are badged according to the following heuristic:
    - If the file has an extension of < 10 characters, use that.
    - If the file has a well-known MIME type (determined by file(1)), look up its corresponding badge string and use that.
    - If the file has no extension, but a well-known filename (e.g. "Makefile"), look up its corresponding badge string and use that.
    - Is the file executable? If so, assume it's a script, and badge it with "SCRIPT".
    - Otherwise, badge it with "TEXT".
    
    This heuristic could probably be improved. Currently the mappings of well-known filenames and MIME-types to badge strings are hard-coded in GenerateThumbnailForURL.m. Perhaps these should be moved into an external plist.
  2. @nickhutchinson

    Make preview generation more robust; stop previewing binary files.

    nickhutchinson authored
    * Check candidate files with file(1) to decide whether they are text or binary, and to determine their encoding.
    * Upgrade to ARC (note this drops support for 10.6 32-bit and below)
    * Use QLPreviewSetURLRepresentation() instead of reading the entire file (!) with -[stringWithContentsOfURL].
    * Add extra compiler warning flags
    
    Note that the inclusion of BSD licensed RegexKitLite will require a credit.
  3. @nickhutchinson
Commits on Aug 21, 2012
  1. changes to support new version

    authored
Commits on May 24, 2012
  1. @nacho4d

    Adds white and black lists to prevent to preview/thumbnailing some files

    nacho4d authored
    List are customizable, just edit the plist files:
     QLStephenWhiteList.plist : files with these names will be ALWAYS previewed
     QLStephenExtensionsBlackList.plist : files with these extensions will NOT be previewed
     QLStephenDirectoriesBlackList.plist : files contained in directories with these names will NOT be previewed
Commits on May 13, 2012
  1. update to 1.2

    authored
Commits on Jan 13, 2012
  1. @roblourens

    Change data display type to HTML rather than PlainText

    roblourens authored
    I like the way it looks better. Also, fixes UTF8 display issue.
Commits on Oct 28, 2011
  1. update README

    authored
  2. Merge pull request #4 from roblourens/master

    authored
    Now works with ISO encoded files as well
  3. @roblourens

    merge

    roblourens authored
Commits on Oct 17, 2011
  1. upgrade xcode project

    authored
    remove redundent file
Commits on Oct 13, 2011
  1. @roblourens

    Now works with ISO encoded files as well

    roblourens authored
    Originally, worked only with ASCII and Unicode files. Now tries to
    determine the file encoding itself. If it can't, as is the case with my
    ISO-encoded test files, it guesses that the encoding is ISO Latin 1,
    which is a likely guess. It now will work with these files.
Commits on Jan 14, 2009
  1. first commit

    authored
Something went wrong with that request. Please try again.