Ignore:
Timestamp:
02/24/08 10:12:02 (16 years ago)
Author:
Nicholas Riley
Message:

Info.plists, VERSION.xcconfig: Using Dave Dribin's build configuration
trick to propagate ${CURRENT_MARKETING_VERSION}. Updated for 2.0d2.

InfoPlist.strings: Remove unnecessary repeated localization; update
copyright date.

Read Me: Updated for 2.0d2.

FSAnywhere.[hm]: F-Script 2.0a2 is the minimum version. Remove
FSA_VERSION (it's propagated from CURRENT_MARKETING_VERSION during
build) and turn on FSA_DEBUG.

F-Script Anywhere.xcodeproj: Updated for Xcode 3, Leopard only, etc.
Development build is still broken on inject and Deployment app build
is currently -O0 for debugging.

FSAApp.mm: Grammar/formatting cleanups. Some annoying race conditions
on startup still exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/F-Script Anywhere/Source/FSAApp.mm

    r342 r409  
    227227    /* under new rules for task_for_pid, only processes with proper permissions can call task_for_pid successfullly */
    228228    int ourPid = [[NSProcessInfo processInfo] processIdentifier];
    229     NSLog(@"our pid %d", ourPid);
    230     if(task_for_pid(taskOfOurProcess, ourPid, &machPortForProcess) == KERN_SUCCESS){ // launchd should always be pid 1
     229    if (task_for_pid(taskOfOurProcess, ourPid, &machPortForProcess) == KERN_SUCCESS) { // launchd should always be pid 1
    231230        mach_port_deallocate(taskOfOurProcess, machPortForProcess);
    232231    } else {
    233232        int result = NSRunInformationalAlertPanel(
    234                                                   NSLocalizedString(@"Certificate not trusted", "Framework not found alert title"),
    235                                                   NSLocalizedString(@"Due to new security features in Leopard, F-Script Anywhere requires you to to trust the signature on the current application. "
    236                                                                     "You have several options:\n"
    237                                                                     "1. You can add the signing certificate automatically to your keychain, in which case you should click \"OK\" in the next dialog box to add the certificate to your keychain, and then \"Always Trust.\"\n"
    238                                                                     "2. You can quit F-Script Anywhere, create a signing authority on your local machine, trust it, and then sign the application binary yourself.\n"
     233                                                  NSLocalizedString(@"Certificate not trusted", "Certificate not trusted alert title"),
     234                                                  NSLocalizedString(@"Due to new security features in Leopard, F-Script Anywhere requires you to to trust the signature on the current application.\n\n"
     235                                                                    "You have several options:\n\n"
     236                                                                    "1. You can add the signing certificate automatically to your keychain, in which case you should click \"OK\" in the next dialog box to add the certificate to your keychain, and then \"Always Trust.\"\n\n"
     237                                                                    "2. You can quit F-Script Anywhere, create a signing authority on your local machine, trust it, and then sign the application binary yourself.\n\n"
    239238                                                                    @"Note that if you add the certificate properly and you still get an F-Script Anywhere error when injecting, you may need to restart your computer to clear the proper keychain caches.", @"no certificate warning message"),
    240                                                   NSLocalizedString(@"Add certificate", "'add certificate button title"),
     239                                                  NSLocalizedString(@"Add certificate", "Add certificate button title"),
    241240                                                  NSLocalizedString(@"Quit", "Quit button title"),
    242241                                                  NULL);
Note: See TracChangeset for help on using the changeset viewer.