Index starts at 1 now
parent
26893d7146
commit
3e221f7825
|
@ -2,11 +2,12 @@
|
|||
----
|
||||
Dragging to the dock icon now works in 10.3.
|
||||
Selection now selects the first song added when adding new files.
|
||||
Now seeds the random number for shuffle mode.
|
||||
Now seeds the random number generator for shuffle mode.
|
||||
Redesigned UI thanks to Julian Mayer <julianmayer (at) mac.com>.
|
||||
If nothing is selected when the user presses play, the first song is played.
|
||||
If nothing is selected when the user presses play, the first song is selected and played.
|
||||
Double-clicking when out of focus now behaves as expected.
|
||||
Now has a simple dock menu courtesy of Nathanael Weldon <nathanael (at) mailblocks.com>.
|
||||
The playlist index now starts at 1.
|
||||
|
||||
0.04
|
||||
----
|
||||
|
|
5
DBLog.c
5
DBLog.c
|
@ -2,13 +2,14 @@
|
|||
* NSDebug.c
|
||||
* Cog
|
||||
*
|
||||
* Created by Zaphod Beeblebrox on 5/30/05.
|
||||
* Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
* Created by Vincent Spader on 5/30/05.
|
||||
* Copyright 2005 Vincent Spader All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "DBLog.h"
|
||||
|
||||
|
||||
void DBLog(NSString *format, ...)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
|
|
4
DBLog.h
4
DBLog.h
|
@ -2,8 +2,8 @@
|
|||
* NSDebug.h
|
||||
* Cog
|
||||
*
|
||||
* Created by Zaphod Beeblebrox on 5/30/05.
|
||||
* Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
* Created by Vincent Spader on 5/30/05.
|
||||
* Copyright 2005 Vincent Spader All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>21</integer>
|
||||
<integer>463</integer>
|
||||
<integer>21</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>8B15</string>
|
||||
|
|
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/26/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/26/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "FeedbackController.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/27/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/27/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "FeedbackSocket.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/18/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/18/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "PlaylistController.h"
|
||||
|
@ -41,7 +41,7 @@
|
|||
PlaylistEntry *pe = [[PlaylistEntry alloc] init];
|
||||
|
||||
[pe setFilename:filename]; //Setfilename takes car of opening the soundfile..cheap hack, but works for now
|
||||
[pe setIndex:index];
|
||||
[pe setIndex:(index+1)];
|
||||
[pe readTags];
|
||||
[pe readInfo];
|
||||
|
||||
|
@ -207,7 +207,7 @@
|
|||
PlaylistEntry *p;
|
||||
p = [[self content] objectAtIndex:j];
|
||||
|
||||
[p setIndex:j];
|
||||
[p setIndex:(j+1)];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -372,7 +372,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
int i = [currentEntry index] + 1;
|
||||
int i = ([currentEntry index] - 1) + 1;
|
||||
|
||||
if (i >= [[self arrangedObjects] count]) //out of tuuuunes
|
||||
{
|
||||
|
@ -404,7 +404,7 @@
|
|||
[currentEntry setCurrent:NO];
|
||||
|
||||
[pe setCurrent:YES];
|
||||
[tableView scrollRowToVisible:[(PlaylistEntry *)pe index]];
|
||||
[tableView scrollRowToVisible:([(PlaylistEntry *)pe index]-1)];
|
||||
|
||||
[pe retain];
|
||||
[currentEntry release];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/14/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/14/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "PlaylistEntry.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/20/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/20/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "PlaylistView.h"
|
||||
|
|
4
Sound.h
4
Sound.h
|
@ -2,8 +2,8 @@
|
|||
// Sound.h
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 5/11/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 5/11/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
4
Sound.m
4
Sound.m
|
@ -2,8 +2,8 @@
|
|||
// Sound.m
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 5/11/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 5/11/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#include <mach/mach_init.h>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AACFile.h
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 5/31/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 5/31/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// AACFile.m
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 5/31/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 5/31/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "AACFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/25/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/25/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "FlacFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/30/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/30/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPEGFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/30/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/30/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "MonkeysFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/23/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/23/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "MusepackFile.h"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ShnFile.h
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 6/6/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 6/6/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// ShnFile.m
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 6/6/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 6/6/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShnFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 1/15/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 1/15/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "SoundFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/22/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/22/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "VorbisFile.h"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// WavPackFile.h
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 6/6/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 6/6/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// WavPackFile.m
|
||||
// Cog
|
||||
//
|
||||
// Created by Zaphod Beeblebrox on 6/6/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Created by Vincent Spader on 6/6/05.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "WavPackFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/31/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// zyVorbis
|
||||
//
|
||||
// Created by Vincent Spader on 1/31/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "WaveFile.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/26/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// Cog
|
||||
//
|
||||
// Created by Vincent Spader on 3/26/05.
|
||||
// Copyright 2005 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2005 Vincent Spader All rights reserved.
|
||||
//
|
||||
|
||||
#import "UpdateController.h"
|
||||
|
|
Loading…
Reference in New Issue