Changes between Version 2 and Version 3 of ShotwellCodingGuidelines

Show
Ignore:
Timestamp:
06/30/2009 11:19:38 AM (15 months ago)
Author:
jim
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShotwellCodingGuidelines

    v2 v3  
    66 * The app's database and caches and various other files are maintained in a hidden directory in the user's home directory.  We assume that these files will not be deleted or modified directly by the user at run-time, so no error recovery should be performed.  However, basic sanity checking should be done at start time to ensure the application can execute. 
    77 * Although some configuration may be maintained outside the hidden data directory, external config changes won't be recognized after program initialization. 
    8  * Data files external to the app (in particular, the user's photo files) may be altered, moved, or deleted by the user at any time.  Because they don't "belong" to the Photo Editing app, we must be account for the various possibilities. 
     8 * Data files external to the app (in particular, the user's photo files) may be altered, moved, or deleted by the user at any time.  Because they don't "belong" to Shotwell, we must be account for the various possibilities. 
    99 * For SQLite, use assert() on prepare_v2(), as a failure there indicates malformed SQL, which is a programming bug. 
    1010 * Also use assert() on the SQLite bind_*() calls, as all error conditions indicate programming errors as well.