Commit Graph

43 Commits (08f2dabc81ac0e26091fff20379d933a395362e6)

Author SHA1 Message Date
Christopher Snowhill 4df50c7fc3 Fix the Spotlight search panel
It was previously crashing horribly on adding search results. This makes
it actually functional, and renders it using a view-based table instead.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-15 06:18:01 -07:00
Christopher Snowhill b4e3c05c87 [Playlist Loader] Load files in the background
Load new playlist entries in the background, asynchronously.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-06 14:28:14 -07:00
Christopher Snowhill 333c6c7e8b [Spotlight Panel] Fixed to work with new Core Data
Fixed the implementation to work correctly with the new Core Data
storage system. Tracks will be garbage collected later.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-16 17:37:11 -07:00
Christopher Snowhill b927f4c02b Replace more NSDictionary use with literals
Use literals to initialize fixed NSDictionary objects in various places.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-08 19:56:04 -08:00
Christopher Snowhill 85c7073649 Reformat my own source code with clang-format
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-06 21:49:27 -08:00
Christopher Snowhill 684951bdc0 Change a bunch of NSArray declarations to const collection literals 2022-01-18 18:12:57 -08:00
Chris Moeller 0e3644177e Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
Chris Moeller 97f6e8b472 mamburu: Made clicking on pop-up menu items of path control inside spotlight panel work 2013-10-11 06:35:53 -07:00
Chris Moeller 7f449edc14 mamburu: Fixed hanging/crashing on directory change in spotlight panel 2013-10-11 06:13:57 -07:00
Chris Moeller e5a648578b mamburu: Logging improved, no more excessive logging in release builds 2013-10-11 05:03:55 -07:00
Chris Moeller ec0e45381e Cleaned up most of the warnings, eliminated use of deprecated APIs, and fixed the hotkeys crashing. 2013-10-03 01:00:58 -07:00
vspader 288c5cbee5 Misc leaks fixes. 2009-09-01 21:14:07 -07:00
vspader 03937f480b Cleaned up modified add behavior. 2009-02-28 14:22:33 -08:00
vasfed e063790e93 Updated APL plugin to use new protocol
Added support for behavior modifiers on addition/opening of files
Added Command+Control as modifier for open/enqueue
2008-05-09 21:24:49 +00:00
vspader ae469a43ec Fix for spotlight crash. 2008-03-13 02:07:49 +00:00
matthewleon e24ee695a6 Spotlight window properly saves location. 2008-03-11 22:10:18 +00:00
matthewleon 2124066761 Wrote dealloc for SpotlightPlaylistEntry. Still need to find large leak. 2008-03-08 23:47:29 +00:00
vspader b7beb276f2 Moved SpotlightController registerDefaults to awakeFromNib to hopefully prevent crash. 2008-02-23 14:09:34 +00:00
areff a624737861 Both File Drawer and Spotlight Panel will now show and hide when their shortcuts are pressed. 2008-02-21 10:45:09 +00:00
vspader eeba50f6e1 Cleaned up PlaylistEntry. 2008-02-20 00:44:40 +00:00
matthewleon 94f23c4fdb Spotlight: Search scopes work and crash solved. We now return to regular programming. 2008-02-18 20:46:53 +00:00
matthewleon b6a46c5ca1 Search scopes no longer work but the program won't crash :) 2008-02-18 20:40:02 +00:00
matthewleon 67816346e0 Spotlight: Elegant solution to storing search scopes. 2008-02-18 20:09:02 +00:00
matthewleon aa3b716e09 Fixed Spotlight import. 2008-02-18 16:55:31 +00:00
matthewleon b68a2c3a69 Overhauled Spotlight metadata importing to make it more easily expandable and reuse NSValueTransformer code. 2008-02-18 12:59:20 +00:00
vspader c2a2f531a8 Moved StringToURLTransformer initialize code. 2008-02-17 21:18:01 +00:00
vspader eb84d83c8e Fixed error caused by moving StringToURLTransformer. 2008-02-17 20:53:49 +00:00
matthewleon 438467000a Probably final, probably ideal fix to Spotlight flicker! 2008-02-17 09:56:44 +00:00
matthewleon ba0746b503 New fix to Spotlight flicker issue. Still not ideal. 2008-02-16 22:59:27 +00:00
matthewleon e0a937b3e5 Cleaned up Spotlight update code. 2008-02-16 20:40:47 +00:00
matthewleon b5c46a0b3a Spotlight panel no longer uses utility style (it doesn't float). 2008-02-16 20:08:45 +00:00
matthewleon 3c8b325a00 Search by artist and album works from context menu. 2008-02-16 16:38:44 +00:00
matthewleon abf2da423d Implemented UI elements necessary for right-click search by artist/album. 2008-02-16 16:13:21 +00:00
matthewleon 27cfc3d3c3 Spotlight's default search behavior only searches artist, album and title tags (boosts speed). Changed key combo to command-shift-f. 2008-02-16 14:04:59 +00:00
matthewleon 6b11d41fbe Fixed ridiculous Spotlight bug where absent track numbers would cause a crash. Cleaned directory structure. 2008-02-16 13:18:14 +00:00
matthewleon d4ee1ac6ae Spotlight sorts properly (phew). Artist, album, track number... Should make several interface improvements easier to implement. 2008-02-16 13:05:30 +00:00
matthewleon ad976c9edf Moved Spotlight Window nib loading code. 2008-02-15 22:47:27 +00:00
matthewleon 085130dd34 Spotlight interface tweaks - can now import using only keyboard. 2008-02-15 14:23:24 +00:00
matthewleon 387015db22 Eliminated annoying flicker in Spotlight interface. Made tiny tweaks to PlaybackController and PlaylistController header to eliminate compiler warnings. 2008-02-14 23:09:51 +00:00
matthewleon 70ae3cec1c Spotlight can do exact searches using quotation marks, IE %a"tom waits" will do a case insensitive search for all music by Tom Waits 2008-02-14 17:48:32 +00:00
matthewleon d6e7efd2c1 Cleaned up the Spotlight code considerably and added the ability to do simple searches for artist, album and title using %a, %l and %t respectively. For example searching "%awaits" will return all tracks by Tom Waits, etc... 2008-02-14 14:07:10 +00:00
matthewleon d795c59c10 Consolidated Spotlight code. 2008-02-13 23:51:36 +00:00
matthewleon 366ba22c55 Spotlight directory structure cleaned. 2008-02-11 07:46:41 +00:00