[rockbox] / trunk / apps / tagcache.c Repository:
ViewVC logotype

Log of /trunk/apps/tagcache.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 18960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 1 16:14:28 2008 UTC (4 weeks, 4 days ago) by gevaerts
File length: 120888 byte(s)
Diff to previous 18814
Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD).

Revision 18814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 15 06:38:51 2008 UTC (7 weeks ago) by zagor
File length: 120884 byte(s)
Diff to previous 18363
Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. Moved mp3data.c/h from firmware to apps.

Revision 18363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 29 21:14:58 2008 UTC (3 months ago) by miipekk
File length: 120879 byte(s)
Diff to previous 17847
Fixed a possible index id destruction and temporary problems with the DB when DB has been loaded to ram, dircache enabled and statistics gathering ON. Fixed serial (affecting last played song order) being one too low after importing the changelog. A bit of code cleanup and comments also.

Revision 17847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 18:10:04 2008 UTC (5 months ago) by bagder
File length: 120673 byte(s)
Diff to previous 17689
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml

Revision 17689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 19:27:11 2008 UTC (5 months, 4 weeks ago) by miipekk
File length: 120573 byte(s)
Diff to previous 17331
Make sure a temporary file does not exists preventing the database re-initialization.

Revision 17331 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 3 16:23:37 2008 UTC (7 months ago) by bertrik
File length: 120529 byte(s)
Diff to previous 17312
Renamed build_tagcache to tagcache_build to make it consistent with the function naming of the other functions in tagcache.c

Revision 17312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 3 08:35:14 2008 UTC (7 months ago) by bertrik
File length: 120529 byte(s)
Diff to previous 17280
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.

Revision 17280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 28 16:18:04 2008 UTC (7 months ago) by bertrik
File length: 120506 byte(s)
Diff to previous 17235
Moved atoi declaration to stdlib.h. Deleted atoi.h

Revision 17235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 24 08:51:54 2008 UTC (7 months, 1 week ago) by jdgordon
File length: 120524 byte(s)
Diff to previous 17234
fix 64bit sim warning

Revision 17234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 24 07:54:32 2008 UTC (7 months, 1 week ago) by jdgordon
File length: 120521 byte(s)
Diff to previous 17178
structec makes a poor assumption that all targets use 1 byte chars, 2 byte shorts and 4 byte longs which is wrong on 64bit sims which causes database to not be commited.
The proper fix should be to remove those assumtopns but probably not nescacery untill a target comes along which breaks the assumption.
This _shouldnt_ change anything on target.

Revision 17178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 19 23:48:13 2008 UTC (7 months, 2 weeks ago) by miipekk
File length: 120485 byte(s)
Diff to previous 17176
FS#8795 - Fixed fault of the escape processing in Changelog (by Kenjiro Arai).

Revision 17176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 19 23:22:40 2008 UTC (7 months, 2 weeks ago) by bertrik
File length: 120542 byte(s)
Diff to previous 16594
Made strictly local functions static (command_queue_sync_callback and run_command_queue) in tagcache.c

Revision 16594 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 9 20:33:19 2008 UTC (8 months, 3 weeks ago) by miipekk
File length: 120528 byte(s)
Diff to previous 16330
FS#8707 - Enable "Load to RAM" (HAS_TC_RAMCACHE) compilation without Directory Cache (HAS_DIRCACHE).

Revision 16330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 17 18:35:27 2008 UTC (9 months, 2 weeks ago) by miipekk
File length: 120528 byte(s)
Diff to previous 16214
FS#8565 - fix for runtime data causing extra spin ups. Included a debug menu update also.

Revision 16214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 4 21:20:04 2008 UTC (9 months, 4 weeks ago) by markun
File length: 120559 byte(s)
Diff to previous 16166
add support for database.unignore files (adds dirs to the database which would be skipped because of a database.ignore file)

Revision 16166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 25 21:21:41 2008 UTC (10 months, 1 week ago) by peter
File length: 120269 byte(s)
Diff to previous 16083
Fix a bug in tagcache tag length check, thanks to Rhino Banga.

Revision 16083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 13 19:34:49 2008 UTC (10 months, 3 weeks ago) by miipekk
File length: 120285 byte(s)
Diff to previous 16081
Fixed the red.

Revision 16081 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 13 19:13:37 2008 UTC (10 months, 3 weeks ago) by miipekk
File length: 120135 byte(s)
Diff to previous 16016
Always check for deleted files, no matter how slow it might be when DB autoupdate is enabled. Also simplified code a bit. Fixed a crash when search is performaed and dircache has been vanished and DB is still exists ram.

Revision 16016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 7 15:10:49 2008 UTC (10 months, 3 weeks ago) by miipekk
File length: 120083 byte(s)
Diff to previous 15955
FS#8423 - Fixes quirks in routine used to remove obsolote entries from tagcache. This might fix FS#8414 and should fix FS#8384. Thanks to Lee Kang Hyuk.

Revision 15955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 18 21:50:29 2007 UTC (11 months, 2 weeks ago) by miipekk
File length: 119916 byte(s)
Diff to previous 15946
Preserve song statistics when moving files or altering metadata. Conditions required to apply: song length must not change AND either filenames (with path) must match or two of the following tags matches: artist, album, title. IMPORTANT: Currently dircache enabled and DB loaded to RAM is required for reliable operation of this feature.

Revision 15946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 16 21:10:26 2007 UTC (11 months, 2 weeks ago) by miipekk
File length: 113098 byte(s)
Diff to previous 15780
Added file modify time field to the DB. Now metadata changes should be detected with database autoupdate enabled. Runtime statistics are not yet preserved. Preserving statistics over moving of files and altering metadata is going to be implemented next. IMPORTANT: Export database before upgrading.

Revision 15780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 23 18:32:00 2007 UTC (12 months, 1 week ago) by miipekk
File length: 111489 byte(s)
Diff to previous 15742
Free resources properly. Fixes all kind of strange issues (shutdown problems with dircache and dirfds running out) with the newly added database.ignore -feature.

Revision 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 21:28:27 2007 UTC (12 months, 1 week ago) by roolku
File length: 111453 byte(s)
Diff to previous 15738
consolidate the 3 file_exists() functions into one; use the version that explicitly uses dircache; give dir_exists() the same treatment for consistency

Revision 15738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 13:37:45 2007 UTC (12 months, 1 week ago) by jdgordon
File length: 111509 byte(s)
Diff to previous 15244
FS#5690 - folders with a file named database.ignore will be skipped by the database when it rebuilds, (this includes any subdirs in that fodler)

Revision 15244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 21 11:06:30 2007 UTC (13 months, 2 weeks ago) by miipekk
File length: 111262 byte(s)
Diff to previous 15155
Fixed debug menu crashing. Show last file processed by tagcache engine in debug menu. Enabled autoupdating of deleted files for flash storage devices.

Revision 15155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 22:00:51 2007 UTC (13 months, 2 weeks ago) by jethead71
File length: 110666 byte(s)
Diff to previous 15134
Take out some NOCACHEBSS_ATTR's that were accidentally left. Put some threading code in IRAM that should be there on PP502x.

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 01:25:17 2007 UTC (13 months, 2 weeks ago) by jethead71
File length: 110698 byte(s)
Diff to previous 14943
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.

Revision 14943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 1 20:06:21 2007 UTC (14 months ago) by nicolasp
File length: 110650 byte(s)
Diff to previous 14750
Use a struct mp3entry instead of a struct trackinfo for temporary storage of the metadata.
In the same spirit as r14326, it makes MoB "easier".

Revision 14750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 10:40:55 2007 UTC (14 months, 2 weeks ago) by preglow
File length: 110858 byte(s)
Diff to previous 14720
Remove the ID3 tag version priority setting on the grounds of it being pretty pointless. ID3v2 tags are superior to ID3v1 tags, and needs less seeking around to find.

Revision 14720 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 15 22:45:08 2007 UTC (14 months, 2 weeks ago) by miipekk
File length: 110865 byte(s)
Diff to previous 14326
Fixed an out of buffer boundaries lookup when database has been loaded in ram.

Revision 14326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 14 11:56:13 2007 UTC (15 months, 3 weeks ago) by nicolasp
File length: 110855 byte(s)
Diff to previous 14242
Make get_metadata act on a struct mp3entry rather than a struct track_info.

This should make it easy to use a buffer handle to put the ID3 data in.
The changes in get_metadata are mostly search and replace. The only thing
it actually used to do on the struct track_info was set taginfo_ready to
true.

Revision 14242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 8 10:19:56 2007 UTC (15 months, 3 weeks ago) by dan
File length: 110849 byte(s)
Diff to previous 14154
Add support for grouping tags. From FS#7362.

Revision 14154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 3 10:00:42 2007 UTC (16 months ago) by dan
File length: 110333 byte(s)
Diff to previous 13955
Add support for parsing the disc number tag from metadata and use of it in the database. Patch originally from FS#4961 with some minor tweaks by me.

Revision 13955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 21 17:35:19 2007 UTC (16 months, 2 weeks ago) by miipekk
File length: 110187 byte(s)
Diff to previous 13943
Queue song statistical data to the tagcache system and update entirely in background. Fixes ratings disappearing or not saving in the DB at all. Fixes also UI delay when stopping playback and new statistics are committed to DB.

Revision 13943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 20 17:06:55 2007 UTC (16 months, 2 weeks ago) by kevin
File length: 106810 byte(s)
Diff to previous 13710
Makes apps and plugins interract with directories using a posix-like api instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change)

Revision 13710 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 11:33:21 2007 UTC (17 months, 1 week ago) by dan
File length: 106897 byte(s)
Diff to previous 13498
When building the database and a track doesn't have an album artist tag, copy the value from the artist tag. This should make browsing through album artist in the database a bit nicer. Same as FS# 7342 but different. You may need to rebuild your database to actually see any change.

Revision 13498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 27 11:40:55 2007 UTC (18 months, 1 week ago) by miipekk
File length: 106550 byte(s)
Diff to previous 13344
Prevent destroying dircache pointers in tagcache DB while updating runtime stats.

Revision 13344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 13:32:56 2007 UTC (18 months, 4 weeks ago) by dave
File length: 106094 byte(s)
Diff to previous 13284
Minor header file cleanup - try and include the minimal number of files, and only where they are needed.

Revision 13284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 29 14:40:59 2007 UTC (19 months ago) by miipekk
File length: 106074 byte(s)
Diff to previous 13133
Improved speed when deleting tags and prevent remaining ghost entries with database loaded in ram.

Revision 13133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 20:21:56 2007 UTC (19 months, 3 weeks ago) by miipekk
File length: 105521 byte(s)
Diff to previous 13132
Now track total playtime should be accessible as well by using Pm and Ps virtual tags.

Revision 13132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 20:14:05 2007 UTC (19 months, 3 weeks ago) by miipekk
File length: 105223 byte(s)
Diff to previous 12922
Added virtual tags in database to break track length to minutes and seconds.

Revision 12922 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 15:08:59 2007 UTC (20 months, 1 week ago) by roolku
File length: 104937 byte(s)
Diff to previous 12858
Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided). 

Revision 12858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 20 13:53:23 2007 UTC (20 months, 2 weeks ago) by jethead71
File length: 104844 byte(s)
Diff to previous 12830
More logf fixes. speex.c wants to format 64bit args so I didn't change that one nor add any formatting for that.

Revision 12830 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 18 09:50:53 2007 UTC (20 months, 2 weeks ago) by learman
File length: 104839 byte(s)
Diff to previous 12720
Fix several printf-style warnings in logf builds.

Revision 12720 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 11 08:52:33 2007 UTC (20 months, 3 weeks ago) by miipekk
File length: 104822 byte(s)
Diff to previous 12709
Fixed database displaying duplicate entries after deleting tracks and database not loaded to ram.

Revision 12709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 10 14:34:56 2007 UTC (20 months, 3 weeks ago) by pondlife
File length: 104822 byte(s)
Diff to previous 12684
Yield regularly during commits so the UI doesn't lock up

Revision 12684 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 08:20:30 2007 UTC (20 months, 4 weeks ago) by pondlife
File length: 104546 byte(s)
Diff to previous 12678
Really don't try to initialise while the database status is unknown

Revision 12678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 19:56:15 2007 UTC (20 months, 4 weeks ago) by pondlife
File length: 104495 byte(s)
Diff to previous 12667
Lead user through database initialisation

Revision 12667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 10:52:19 2007 UTC (20 months, 4 weeks ago) by pondlife
File length: 104535 byte(s)
Diff to previous 12601
Sort tagcache so that <Untagged> appears alongside <All tracks>

Revision 12601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 20:06:41 2007 UTC (21 months ago) by dan_a
File length: 104465 byte(s)
Diff to previous 12600
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.)  This allows threads to be run on either core provided that all communications between the cores is done using uncached memory.  There should be no significant change in battery life from doing this.  Documentation (on the RockboxKernel wiki page) will follow shortly.

Revision 12600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 19:54:49 2007 UTC (21 months ago) by learman
File length: 104440 byte(s)
Diff to previous 12599
Do the '<Untagged>' check in a more compact way.

Revision 12599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 19:30:03 2007 UTC (21 months ago) by linus
File length: 104641 byte(s)
Diff to previous 12598
Ignore me. I am silly.

Revision 12598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 19:26:41 2007 UTC (21 months ago) by linus
File length: 104686 byte(s)
Diff to previous 12597
You can not use sizeof to find the length of a string

Revision 12597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 19:14:13 2007 UTC (21 months ago) by roolku
File length: 104641 byte(s)
Diff to previous 12595
don't hard code size

Revision 12595 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 17:30:12 2007 UTC (21 months ago) by roolku
File length: 104627 byte(s)
Diff to previous 12552
don't display "<Untagged>" (tagcache place holder for empty string) in wps

Revision 12552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 21:49:42 2007 UTC (21 months ago) by roolku
File length: 104025 byte(s)
Diff to previous 12528
remove numerical genre and use genre_string consistently:
- fix spurious display of "blues" genre for missing genre tag 
- simplify code/use less code
- numerical->string conversion only once instead of at every use

Revision 12528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 11:14:46 2007 UTC (21 months ago) by jdgordon
File length: 104064 byte(s)
Diff to previous 12504
Introducing the root menu!
Blind users: get a new voice file as there are lots of lang changes and new strings.
FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :)


Revision 12504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 27 11:09:09 2007 UTC (21 months ago) by jdgordon
File length: 103986 byte(s)
Diff to previous 12482
Code Police: Remove tabs throught apps/ . Hopefully no actual code 
change

Revision 12482 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 25 20:41:51 2007 UTC (21 months, 1 week ago) by miipekk
File length: 103983 byte(s)
Diff to previous 12481
Cleaned up code a bit, fixed possible bug during committing numeric indices and made code more fault tolerant. Added a new numeric tag making it possible to list recently added tracks. Export your DB.

Revision 12481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 25 19:01:32 2007 UTC (21 months, 1 week ago) by miipekk
File length: 102414 byte(s)
Diff to previous 12323
Fixed database export crashing with long tags. And failing without DB loaded to RAM due to the recently added new tags in DB, thus reaching the fd limit.

Revision 12323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 15 22:55:22 2007 UTC (21 months, 2 weeks ago) by linus
File length: 102414 byte(s)
Diff to previous 12297
Shave a few bytes off the binary size, especially on hwcodec targets

Revision 12297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 21:51:18 2007 UTC (21 months, 2 weeks ago) by miipekk
File length: 102644 byte(s)
Diff to previous 12255
Make database endianess independent.

Revision 12255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 10 12:09:28 2007 UTC (21 months, 3 weeks ago) by miipekk
File length: 101682 byte(s)
Diff to previous 11836
FS#6638 - Album artist and comment patch for WPS and tagcache. Export
your database before updating because initialization is needed.

Revision 11836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 25 14:01:47 2006 UTC (23 months, 1 week ago) by amiconn
File length: 101072 byte(s)
Diff to previous 11665
Next round of static'ing and related fixes.

Revision 11665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 20:01:48 2006 UTC (23 months, 4 weeks ago) by miipekk
File length: 101044 byte(s)
Diff to previous 11556
Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.

Revision 11556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 19 19:11:30 2006 UTC (2 years ago) by miipekk
File length: 101212 byte(s)
Diff to previous 11498
Check if file has already been removed from DB when manually invoking
reverse scan.

Revision 11498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 09:52:46 2006 UTC (2 years ago) by miipekk
File length: 100960 byte(s)
Diff to previous 11497
Don't add extra slash at beginning when creating db.

Revision 11497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 08:03:33 2006 UTC (2 years ago) by miipekk
File length: 100924 byte(s)
Diff to previous 11325
Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.

Revision 11325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 17:39:06 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99514 byte(s)
Diff to previous 11324
Changelog importing was broken.

Revision 11324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 16:20:48 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99496 byte(s)
Diff to previous 11303
Allow all tag type in formatting string. Included example with
tagnavi.config.

Revision 11303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 21 21:05:23 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99482 byte(s)
Diff to previous 11302
Hopefully now fixed the last 64-bit compiler warning.

Revision 11302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 21 20:51:10 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99473 byte(s)
Diff to previous 11301
Fixed the simulator warnings.

Revision 11301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 21 20:37:33 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99471 byte(s)
Diff to previous 11223
Implement fast_readline as a function and use it for tagtree also.

Revision 11223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 15 11:01:18 2006 UTC (2 years, 1 month ago) by miipekk
File length: 100035 byte(s)
Diff to previous 11157
(1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption.
(3) There was a bug that splash screen counter was counting down when
inserting tracks next. But in fact that might be preferred, so always
count down after successful tagcache query.

Revision 11157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 9 10:23:35 2006 UTC (2 years, 1 month ago) by miipekk
File length: 99432 byte(s)
Diff to previous 11125
FS#6137: add "oneof" operator to tagnavi.conf syntax.

Revision 11125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 10:07:03 2006 UTC (2 years, 1 month ago) by pondlife
File length: 98968 byte(s)
Diff to previous 11124
Add CPU boost tracker to see where boosts are coming from

Revision 11124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 09:49:18 2006 UTC (2 years, 1 month ago) by miipekk
File length: 98800 byte(s)
Diff to previous 11122
Accepted FS#6098 as the first patch from Robert Kukla and implemented using two switches.

Revision 11122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 09:05:01 2006 UTC (2 years, 2 months ago) by miipekk
File length: 98091 byte(s)
Diff to previous 11061
Fixed find_index returning incorrect entry unless entries are found.
Commit all numeric tags at once and set a flag if tracknumber has been
guessed. Cleaned up temporary file creation.

Revision 11061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 26 11:23:18 2006 UTC (2 years, 2 months ago) by miipekk
File length: 97793 byte(s)
Diff to previous 11031
Fixed the following critical bugs in tagcache engine: #5934 (or #5529,
thanks Uchida for the idea), deleting songs causes tagcache to corrupt
or fail and duplicate entries after commit with ramcache enabled.

Revision 11031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 23 11:02:09 2006 UTC (2 years, 2 months ago) by miipekk
File length: 95571 byte(s)
Diff to previous 11030
Oops, fixed the errors.

Revision 11030 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 23 10:29:14 2006 UTC (2 years, 2 months ago) by miipekk
File length: 95571 byte(s)
Diff to previous 10958
Properly shutdown audio playback early and flush system, including not
hanging tagcache. Fixed also tagcache line buffer running out when
importing a changelog with very long lines.

Revision 10958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 16 16:18:11 2006 UTC (2 years, 2 months ago) by miipekk
File length: 94561 byte(s)
Diff to previous 10810
New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.

Revision 10810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 30 18:18:37 2006 UTC (2 years, 3 months ago) by miipekk
File length: 94522 byte(s)
Diff to previous 10769
Fixed tagcache returning incorrect entries.

Revision 10769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 27 14:58:46 2006 UTC (2 years, 3 months ago) by miipekk
File length: 94412 byte(s)
Diff to previous 10754
Fixed: With dircache+tagcache in RAM using Search by filename->Player
freezes.

Revision 10754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 26 09:24:20 2006 UTC (2 years, 3 months ago) by miipekk
File length: 94396 byte(s)
Diff to previous 10750
Fixed performance problems when initializing tagcache.

Revision 10750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 25 21:13:49 2006 UTC (2 years, 3 months ago) by miipekk
File length: 94035 byte(s)
Diff to previous 10748
Browse by year (now numeric tags are fully supported too).

Revision 10748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 25 15:20:10 2006 UTC (2 years, 3 months ago) by miipekk
File length: 93656 byte(s)
Diff to previous 10746
Use uniqbuf for unique tags only.

Revision 10746 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 25 13:22:46 2006 UTC (2 years, 3 months ago) by miipekk
File length: 93618 byte(s)
Diff to previous 10597
Tagcache: Don't show duplicate entries and automatically inherit
clauses for correct search results.

Revision 10597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 15 22:54:06 2006 UTC (2 years, 3 months ago) by peter
File length: 92841 byte(s)
Diff to previous 10571
eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom

Revision 10571 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 14 15:35:23 2006 UTC (2 years, 3 months ago) by miipekk
File length: 92805 byte(s)
Diff to previous 10559
Fixed a problem when using filename tag as a search clause.

Revision 10559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 13 14:53:19 2006 UTC (2 years, 3 months ago) by miipekk
File length: 92661 byte(s)
Diff to previous 10558
FS#5806 with code cleanup.

Revision 10558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 13 12:33:34 2006 UTC (2 years, 3 months ago) by miipekk
File length: 92394 byte(s)
Diff to previous 10544
FS#5805 NOT operator for tagnavi.config by Jochen Kemnade.

Revision 10544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 12 11:00:39 2006 UTC (2 years, 3 months ago) by miipekk
File length: 91977 byte(s)
Diff to previous 10525
Better UI response with playlist operations.

Revision 10525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 10:13:16 2006 UTC (2 years, 3 months ago) by miipekk
File length: 91960 byte(s)
Diff to previous 10496
Properly handle early USB mode, dircache and tagcache state files with
flashed rockbox.

Revision 10496 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 9 07:41:28 2006 UTC (2 years, 3 months ago) by miipekk
File length: 91957 byte(s)
Diff to previous 10464
Unload tagcache from ram when entering USB mode.

Revision 10464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 5 20:19:10 2006 UTC (2 years, 3 months ago) by miipekk
File length: 91798 byte(s)
Diff to previous 10415
Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.

Revision 10415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 2 17:39:34 2006 UTC (2 years, 4 months ago) by miipekk
File length: 89403 byte(s)
Diff to previous 10405
Tagcache: Fixed runtime stats not being gathered when tagcache is kept
on disk. Initial attempt to make tagcache thread safe. Replaced a few
direct buffer allocations with buffer_alloc from tagcache and dircache
where possible.

Revision 10405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 2 06:57:13 2006 UTC (2 years, 4 months ago) by amiconn
File length: 88553 byte(s)
Diff to previous 10316
Fix warning when building without HAVE_TC_RAMCACHE.

Revision 10316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 25 10:44:19 2006 UTC (2 years, 4 months ago) by miipekk
File length: 88528 byte(s)
Diff to previous 10308
Nice diagram explaining better tagcache internals.

Revision 10308 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 24 15:35:46 2006 UTC (2 years, 4 months ago) by miipekk
File length: 86563 byte(s)
Diff to previous 10307
Don't corrupt runtimedb when tagcache is loaded in ram.

Revision 10307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 24 12:10:50 2006 UTC (2 years, 4 months ago) by miipekk
File length: 86411 byte(s)
Diff to previous 10297
Fixed bug in finding entry from disk by filename and not starting auto
update unless proper setting has been enabled.

Revision 10297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 17:31:35 2006 UTC (2 years, 4 months ago) by miipekk
File length: 86269 byte(s)
Diff to previous 10295
Don't write ram flags to disk (causes internal error).

Revision 10295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 15:35:53 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85969 byte(s)
Diff to previous 10292
Automatically import the changelog after initializing tagcache.

Revision 10292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 14:28:12 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85598 byte(s)
Diff to previous 10291
Fixed a bug in tagcache initialization.

Revision 10291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 11:15:28 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85391 byte(s)
Diff to previous 10286
Better header checking. Only manually remove incorrect entries. Fixed
a bug and performance issue with find entry from disk by filename.

Revision 10286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 22 18:58:28 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85761 byte(s)
Diff to previous 10280
Only ignore deleted entries (previously was corrupting the master
index).

Revision 10280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 22 08:04:28 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85873 byte(s)
Diff to previous 10278
Initialize the status structure correctly.

Revision 10278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 22 07:09:57 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85856 byte(s)
Diff to previous 10260
Removed the 10000 files static commmit-time limit from tagcache.

Revision 10260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 20 12:19:31 2006 UTC (2 years, 4 months ago) by miipekk
File length: 85551 byte(s)
Diff to previous 10220
Support importing runtimedb data from ascii files.

Revision 10220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 16 20:12:38 2006 UTC (2 years, 4 months ago) by miipekk
File length: 80059 byte(s)
Diff to previous 10219
Killed one warning.

Revision 10219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 16 15:04:46 2006 UTC (2 years, 4 months ago) by miipekk
File length: 80060 byte(s)
Diff to previous 10217
Initial changelog support (only export, no import yet) and added
an option to search by filename.

Revision 10217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 15 17:36:25 2006 UTC (2 years, 4 months ago) by miipekk
File length: 76986 byte(s)
Diff to previous 10202
Initial runtimedb support for tagcache. Only for developers,
statistical data will be lost in future until changelogs has been
implemented.

Revision 10202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 12:50:26 2006 UTC (2 years, 4 months ago) by miipekk
File length: 74748 byte(s)
Diff to previous 10201
Filename tags were incorrectly retrieved from dircache when tagcache was loaded in
ram.

Revision 10201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 08:58:18 2006 UTC (2 years, 4 months ago) by miipekk
File length: 74208 byte(s)
Diff to previous 10200
Don't skip before data has been read in.

Revision 10200 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 06:59:08 2006 UTC (2 years, 4 months ago) by miipekk
File length: 74208 byte(s)
Diff to previous 10192
Tagcache autoupdate without dircache was not functional at all.

Revision 10192 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 10 16:22:03 2006 UTC (2 years, 4 months ago) by miipekk
File length: 74189 byte(s)
Diff to previous 10025
Tagcache update: Support removal of entries and no longer the need for
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).

Revision 10025 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 06:07:28 2006 UTC (2 years, 6 months ago) by miipekk
File length: 66500 byte(s)
Diff to previous 10023
Need to reload tagcache in ram if dircache buffer has been stolen.

Revision 10023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 18:13:18 2006 UTC (2 years, 6 months ago) by miipekk
File length: 66445 byte(s)
Diff to previous 10003
Fixed incorrect memory allocation bug with tagcache.

Revision 10003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 28 09:59:24 2006 UTC (2 years, 6 months ago) by miipekk
File length: 66065 byte(s)
Diff to previous 9997
Load uniqued tags correctly at commit (should fix duplicates). Try
first dircache buffer as it's usually bigger.

Revision 9997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 27 11:21:08 2006 UTC (2 years, 6 months ago) by miipekk
File length: 65755 byte(s)
Diff to previous 9914
Init dircache after applying settings and use a splash. Possible prevent
some type of buffer overflow with tagcache.

Revision 9914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 19:21:20 2006 UTC (2 years, 6 months ago) by miipekk
File length: 65769 byte(s)
Diff to previous 9775
Fixed a problem with tagcache search skipping long tags. Thanks for
Gaetano for finding the problem and providing a fix.

Revision 9775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 23 18:47:26 2006 UTC (2 years, 7 months ago) by miipekk
File length: 65768 byte(s)
Diff to previous 9733
Much faster optimized version of tagcache commit. Added a few items to
the debug menu (still buggy) and fixed a problem with partial tagcache
updates.

Revision 9733 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 18:56:59 2006 UTC (2 years, 7 months ago) by miipekk
File length: 65071 byte(s)
Diff to previous 9721
Fixed: Generate chunked playlist correctly, don't sort <All tracks>
entry and don't return a NULL file pointer and crash.

Revision 9721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 18:56:56 2006 UTC (2 years, 7 months ago) by miipekk
File length: 64637 byte(s)
Diff to previous 9686
Performance optimizations for tagcache commit. Still more left to be done.

Revision 9686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 17:32:54 2006 UTC (2 years, 7 months ago) by miipekk
File length: 62888 byte(s)
Diff to previous 9641
Commit tagcache in background when possible (at least dircache enabled).

Revision 9641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 13 07:15:30 2006 UTC (2 years, 7 months ago) by miipekk
File length: 61647 byte(s)
Diff to previous 9637
Fixed a bug in retrieving track filename when tagcache is loaded in ram.

Revision 9637 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 10:31:24 2006 UTC (2 years, 7 months ago) by miipekk
File length: 61174 byte(s)
Diff to previous 9592
Show progress while committing tagcache.

Revision 9592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 10 10:26:24 2006 UTC (2 years, 7 months ago) by miipekk
File length: 60683 byte(s)
Diff to previous 9586
Major improvement in playlist creation speed with tagcache. Fixed also
the sorting bug.

Revision 9586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 9 20:00:49 2006 UTC (2 years, 7 months ago) by miipekk
File length: 58831 byte(s)
Diff to previous 9559
Small optimization to use the already opened master lookup index.

Revision 9559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 8 08:03:51 2006 UTC (2 years, 7 months ago) by miipekk
File length: 59187 byte(s)
Diff to previous 9523
Enable conditional clauses for string tags in disk mode also.

Revision 9523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 5 18:46:38 2006 UTC (2 years, 8 months ago) by miipekk
File length: 58286 byte(s)
Diff to previous 9465
Tagcache engine: Better handling for track numbers and genre strings.
Browser: Don't jam if search string was not supplied. Don't show
incorrect track numbers.

Revision 9465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 18:57:34 2006 UTC (2 years, 8 months ago) by miipekk
File length: 58289 byte(s)
Diff to previous 9448
Initial conditional filtering support for the tagcache engine and a
fix while building the lookup list. UI part not yet ready.

Revision