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