Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-27 | - Include pnotify in build and link against it in musicfs. | Ulf Lilleengen | |
2008-11-27 | - Missed fusever and makefile changes in the previous commit. | Ulf Lilleengen | |
- Also put a consistent sorting on header includes: * System includes first * Then, standard C libraries * Then additiona libraries and our own headers. | |||
2008-11-27 | - Use a fusever header to define fuse version across all files. | Ulf Lilleengen | |
- Add a Makefile in the src directory and use the main makefile as a toplevel make. | |||
2008-10-05 | - Don't (re-)scan the collection initially | Kjetil Ørbekk | |
(Scanning is really annoying with huge collections. Touch /.config to re-scan) | |||
2008-09-14 | - Allow empty genre id3-field | Kjetil Ørbekk | |
2008-09-11 | - Fixed fsync("/.config") | Kjetil Ørbekk | |
- Done with TODO for v0.1 :) | |||
2008-09-11 | - Fixed /Genres | Kjetil Ørbekk | |
- Added track number on songs in Genres/*/* | |||
2008-09-11 | - Fixed track numbers in /Albums/* | Kjetil Ørbekk | |
2008-09-08 | - Finished db_cleanup code. | Kjetil Ørbekk | |
Removing paths from .config should now work nicely :) | |||
2008-09-08 | - Emacs modelines | Kjetil Ørbekk | |
2008-09-08 | - Put db_path into musicfs.h | Kjetil Ørbekk | |
- Got ride of some warnings | |||
2008-09-07 | - Cleanup mfs_cleanup_db | Kjetil Ørbekk | |
2008-09-07 | - Moved mfs_cleanup_db code to its own file | Kjetil Ørbekk | |
2008-09-07 | - Fix serialization of debug printouts. | Ulf Lilleengen | |
- Add a MFS_DB_LOCK/UNLOCK which handles locking of the SQLITE database if SQLITE_THREADED compile option is not specified. - Remove duplicate open/close of database during initial scan. | |||
2008-09-07 | - Handle closed twice. | Ulf Lilleengen | |
2008-09-05 | - Added mfs_cleanup_db, to remove inactive paths | Kjetil Ørbekk | |
2008-09-04 | - Added -s and -d as default options | Kjetil Ørbekk | |
(through fuse_opt tricks) | |||
2008-09-03 | - Implement flush and fsync. | Ulf Lilleengen | |
2008-09-02 | - Added active-flag to database (convenient when scanning paths) | Kjetil Ørbekk | |
- Disable active-flag on old directories | |||
2008-09-02 | - Fixed handling of empty tags | Kjetil Ørbekk | |
(in contrast to non-existing ones) | |||
2008-08-19 | - Fixed x bit on directories | Kjetil Ørbekk | |
2008-08-18 | - Simplify some messy code. | Ulf Lilleengen | |
2008-08-18 | Revert "- Add comment to bug." | Ulf Lilleengen | |
This reverts commit c2289bd5e2bdb03230d75b7a05a3f053c1bafe6e. | |||
2008-08-18 | - Remember to lseek to correct offset. | Ulf Lilleengen | |
- Fix a bug where SEEK_CUR was used instead of SEEK_SET. This was also the reason I didn't add lseek when reading a file in the first place, because i got buggy behaviour. So, using SEEK_SET corrected this. | |||
2008-08-18 | - s/warn/DEBUG. | Ulf Lilleengen | |
- Add suggstions to TODO. - Change enum starting point. | |||
2008-08-18 | - Use enum instead of defines for lookup datatypes. | Ulf Lilleengen | |
2008-08-17 | - Check for NULL pointer when looking up HOME path. | Ulf Lilleengen | |
2008-08-17 | - Remember to free memory after path lookup. | Ulf Lilleengen | |
- Don't close if fd is 0, which it might be if not assigned. | |||
2008-08-17 | - Simplify mfs_file_data_from_path a lot and rename it to mfs_realpath, which | Ulf Lilleengen | |
have the objective of looking up the real file path, given the musicfs path. Some thoughts: Instead of creating a function for each operation we want to do, this change adds a mfs_lookup_path which allocates a buffer with the real path of the file we're looking for. This way, we can do the operations we want on the path externally instead, which is a lot simpler when using it. This also gets rid of the file_data data structure, and just use a pointer pointer where one is to allocate the real path. | |||
2008-08-16 | - Use the fi->fh filehandle to store the file descriptor, so we don't need to | Ulf Lilleengen | |
run an sql query each time we want to read a block from the file. This should improve performance significantly. Currently, it's not done for config file reading, but if not for performance reasons, we should perhaps change it to be "correct" in the file system way of doing things. | |||
2008-08-16 | - Simplify mfs_get_home path, using asprintf, and remove potential usage of NULL | Ulf Lilleengen | |
pointers. - Don't use memory that might be NULL pointer after allocating trackno, as well as check if malloc returned NULL in escape. | |||
2008-08-15 | - Reloading config when .config is changed | Kjetil Ørbekk | |
2008-08-15 | Changed dbpath to ~/.mfs.db | Kjetil Ørbekk | |
2008-08-15 | - Removed the musicfolder argument | Kjetil Ørbekk | |
2008-08-15 | - Fixed traversing | Kjetil Ørbekk | |
- Added a special flag to give the lookup functions access to the DB handle. | |||
2008-08-15 | - Added lookup functions for scanning paths | Kjetil Ørbekk | |
2008-08-15 | - Fixed insert_path and reload_config | Kjetil Ørbekk | |
2008-08-15 | - Implemented mfs_reload_config | Kjetil Ørbekk | |
2008-08-15 | - Moved $HOME function to mfs_subr | Kjetil Ørbekk | |
2008-08-15 | - Helper function to add music path | Kjetil Ørbekk | |
2008-08-15 | - Aligned code | Kjetil Ørbekk | |
2008-08-15 | - More vnops (to make vim behave) | Kjetil Ørbekk | |
2008-08-15 | - mfs_read for /.config | Kjetil Ørbekk | |
2008-08-15 | - Started working on ~/.mfsrc as config file | Kjetil Ørbekk | |
2008-08-15 | - Added vnops needed for writing .config | Kjetil Ørbekk | |
2008-08-15 | - Renamed /paths to /.config | Kjetil Ørbekk | |
2008-08-14 | - Added /paths | Kjetil Ørbekk | |
- Return an informative message when reading from it | |||
2008-08-14 | - Add musicpath specified on command line | Kjetil Ørbekk | |
2008-08-14 | - Escaping string when querying sqlite | Kjetil Ørbekk | |
2008-08-14 | - More renaming | Kjetil Ørbekk | |