Changeset 2486


Ignore:
Timestamp:
Jul 25, 2007, 12:06:59 AM (15 years ago)
Author:
livings124
Message:

make short and long version strings the next release instead of the current release (peer id is still the current release with a beta flag)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/AboutWindowController.m

    r2457 r2486  
    4141        [info objectForKey: @"CFBundleShortVersionString"], [info objectForKey: (NSString *)kCFBundleVersionKey]]];
    4242   
     43    #warning get copyright info from file
     44   
    4345    [[fTextView textStorage] setAttributedString: [[[NSAttributedString alloc] initWithPath:
    4446            [[NSBundle mainBundle] pathForResource: @"Credits" ofType: @"rtf"] documentAttributes: nil] autorelease]];
  • trunk/macosx/IPCController.m

    r2326 r2486  
    274274    _buf        = [[NSMutableData alloc] init];
    275275
    276     buf = ipc_mkvers( &size, "Transmission MacOS X " LONG_VERSION_STRING );
     276    buf = ipc_mkvers( &size, "Transmission Mac OS X " LONG_VERSION_STRING );
    277277    if( NULL == _ipc || nil == _buf || NULL == buf ||
    278278        ![self sendresp: buf size: size] )
  • trunk/version.sh

    r2409 r2486  
    4949#define VERSION_REVISION     "$REV"
    5050#define VERSION_BETA         "$BETA"
    51 #define SHORT_VERSION_STRING "$MAJOR.$MINOR$MAINT$BETA"
    52 #define LONG_VERSION_STRING  "$MAJOR.$MINOR$MAINT$BETA (r$REV)"
     51#define SHORT_VERSION_STRING "$STRING"
     52#define LONG_VERSION_STRING  "$STRING ($REV)"
    5353EOF
    5454replace_if_differs libtransmission/version.h.new libtransmission/version.h
Note: See TracChangeset for help on using the changeset viewer.