summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-11-04 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-041-0/+1
| | | | | | * src/Makefile.am: db-itunes-parser.h was missing from the source file list, this made "make dist" generate uncompilable tarballs git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1138 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-02 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-021-6/+30
| | | | | | | | * configure.ac: * src/db-artwork-writer.c: (ipod_buffer_grow_mapping), (ipod_buffer_maybe_grow): added fallback code for systems not having mremap (pretty much all non-linux systems actually) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1136 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-02 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-022-1/+15
| | | | | | | | * src/db-artwork-writer.c: (ipod_buffer_destroy): * src/itdb_track.c: (itdb_track_set_defaults): applied patch from Uwe Hermann <uwe@hermann-uwe.de> to add video support to libgpod, removed spurious g_print git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1135 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c: used GUINTxx_TO/FROM_xE() instead of "#ifJorg Schuler2005-11-011-40/+14
| | | | | ..." constructions. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1134 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (get16lint): fixed bug affecting big endianJorg Schuler2005-10-311-4/+4
| | | | | systems. Thanks to Martin Aumueller for spotting this. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1131 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (get_mhip): fixed handling for iTunesDBJorg Schuler2005-10-251-5/+17
| | | | | versions 4.7 and smaller. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1130 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (itdb_parse): added comment, check for itdbJorg Schuler2005-10-252-14/+26
| | | | | | | | before calling ipod_pars_artwork_db() * db-artwork_parser.c (ipod_parse_artwork_db): added assertion to avoid segfault if called NULL parameter. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1129 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * (itdb_write): remove mountpoint as parameter as not used.Jorg Schuler2005-10-234-26/+14
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1128 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-17 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-173-8/+8
| | | | | | | | | | * src/db-image-parser.c: (get_pixel_data), (ipod_image_new_from_mhni): * src/itdb.h: * src/itdb_itunesdb.c: (get_mhod): Changed type of the various fields in the ItdbImage structures so that they match what they are in the database on the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1124 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* fixed 64 bit isssues (forgot one G_UINT_TO_POINTER)Jorg Schuler2005-10-152-16/+20
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1123 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c,itdb_private.h: fixes for 64 bit systemsJorg Schuler2005-10-154-201/+274
| | | | | | | * src/ipod-device.c: fixes for 64 bit systems (patch provided by Bodo Bauer) * TROUBLESHOOTING: hint for 64 bit compilation git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1121 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-14 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-143-11/+6
| | | | | | | | | * src/itdb_itunesdb.c: (itdb_new): * src/itdb_playlist.c: (itdb_playlist_add): * src/itdb_track.c: (itdb_track_set_defaults): Use g_random_int instead of g_rand_int, this avoids a potential leak of the GRand seed used for g_rand_int. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1120 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-12 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-121-2/+2
| | | | | | | | * configure.ac: * src/Makefile.am: * tests/Makefile.am: fix compilation when hal is available, needs to be tested on systems without hal git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1119 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: (itdb_track_add/itdb_track_set_defaults): setJorg Schuler2005-10-112-3/+27
| | | | | | dbid if not set (thanks to Guilherme Salgado for pointing this out) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1117 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-11 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-111-1/+1
| | | | | | * src/itdb_itunesdb.c: (get_mhip): added missing parameter to a g_warning call, this broke compilation on FC4 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1116 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Added a few structures (notably MHBA and MHIA) to support the Photo Database.Flavio Stanchina2005-10-106-33/+208
| | | | | Split 'gint32 image_dimensions' into 'gint16 image_height, image_width'. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1115 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Added a couple of #ifndef DEBUG_ARTWORKDB to db-artwork-parser.c, otherwise ↵Flavio Stanchina2005-10-101-0/+4
| | | | | it wouldn't compile with -Werror. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1114 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bindings/python/gpod.i: applied Kelvin Lawson's patch to queryJorg Schuler2005-10-096-5/+2156
| | | | | | | | | | | | | | | | integers. * src/ipod-device.[ch],hal-common.[ch],Makefile.am: code ported from libipoddevice to retrieve information about the iPod without libhal dependence. * tests/test-ipod-device.c: small script to show how to to query the iPod for information. * tests/Makefile.am: initialize <LIBS> with better default * configure.ac: add dependency for libgobject git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1113 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * Makefile.am: added bindings/... to EXTRA_DISTJorg Schuler2005-10-028-69/+79
| | | | | | | | | | | | | | | | | | | | | | * src/itdb.h, src/itdb_playlist.h, src/itdb_private.h: made enum ItdbPlType and enum ItdbPlFlag private and introduced itdb_playlist_set_mpl/_podcast() in addition to the existing itdb_playlist_is_mpl/_podcast() which make the public enums unecessary. * bumped to version 107 * src/ithumb-writer.c: itdb_write_ithumb_files (): commented out g_print() statement as this produced an empty line in gtkpod's warning window. * src/Makefile.am: GDKPIXPUF dependency solved inside source files -- db-artwork-writer-dummy.c no longer required. Now compiles with and without gdkpixbuf. * configure.ac: fixed error in AC_DEFINE_UNQUOTED(HAVE_GDKPIXBUF). * tests/test-covers.c: attached Flavio Stanchina size-patch git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1112 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* added src/db-artwork-writer-dummy.cJorg Schuler2005-10-021-0/+34
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1111 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * applied Chrisophe's patch to make libgdk optionalJorg Schuler2005-09-293-6/+17
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1110 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: include thumbnails into itdb_track_duplicate()Jorg Schuler2005-09-283-6/+40
| | | | | | | | | | (Christophe Fergeau) * src/db-image-parser.c: support for iPod nano (Christophe Fergeau) * configure.c: make MacOS compatible (Tristan O'Tierney) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1109 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h, itdb_itunesdb.c, itdb_private.h: moved next_id fromJorg Schuler2005-09-273-15/+17
| | | | | | | | Itdb_iTunesDB to FExport. * bindings/phython/examples/tag-genrr-from-audioscrobber.py: added (thanks to Nicholas Piper) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1104 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-09-27 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-09-274-4/+22
| | | | | | | | | | * src/itdb_itunesdb.c: (write_mhsd_tracks), (write_playlist_mhips), (write_podcast_mhips): move variable declaration before code to fix compilation * src/db-artwork-parser.c: (ipod_parse_artwork_db): * src/db-artwork-writer.c: (ipod_write_artwork_db): * src/ithumb-writer.c: (ithumb_writer_new): added some sanity checks git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1103 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h/itdb_playlist.c: new functions: itdb_playlist_is_mpl()Jorg Schuler2005-09-244-25/+87
| | | | | | | | | | | | | and itdb_playlist_is_podcasts() * itdb_track.c: update itdb_track_duplicate() * itdb_itunesdb.c: read/write timestamp in playlists. Set timestamp if previously unset. * itdb_playlist.c: set timestamp when creating playlist, set timestamp when adding playlist and no timestamp was set. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1101 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bindings/: added python bindings provided by Nicholas PiperJorg Schuler2005-09-233-486/+774
| | | | | | | | | | | | | | | | <nick at nickpiper co uk> * itdb.h: added enum ItdbPlFlag and Itdb_Playlist->podcastflag field. * itdb.h/itdb_itunesdb.c: added time_released field * itdb_itunesdb.c: rewrote write_playlist() for easier maintenance. * itdb_itunesdb.c: read/write support for podcast playlists including chapterdata (but only in raw format) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1100 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * applied Christophe Fergeau's patch which adds cover art writingJorg Schuler2005-09-2213-113/+1225
| | | | | support to libgpod -> bump to version 104 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1098 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-09-21 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2005-09-211-173/+288
| | | | | | | * itdb_itunesdb.c: streamline parse_fimp() for more flexibility. Please report if formerly readable iTunesDB cannot be read any more :-/ git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1097 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* release of 0.1.3Jorg Schuler2005-09-203-15/+85
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1095 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * read iTunesStats file if present (corresponds to Play CountsJorg Schuler2005-09-192-22/+132
| | | | | file on the Shuffle). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1094 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * applied patch provided by Christophe Fergeau <teuf at gnome.org>Jorg Schuler2005-09-1912-3/+1770
| | | | | for artwork database support (read-only). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1093 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-09-17 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2005-09-194-164/+534
| | | | | | | | | | * added additional fields to Itdb_Track that are present since version 0x0c of the iTunesDB. Write long mhit version. 2005-09-17 Jorg Schuler <jcsjcs at users.sourceforge.net> * renamed fdesc to filetype git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1092 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h/itdb_itunesdb.c: changed 'static voidJorg Schuler2005-09-162-22/+27
| | | | | itdb_count_musicdirs()' to 'gint itdb_musicdirs_number()' git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1090 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb: changed API for itdb_filename_on_ipod ()Jorg Schuler2005-09-132-13/+96
| | | | | | | | | * itdb.h: added 'gint musicdirs' to Itdb_iTunesDB (number of F.. dirs available) * itdb_itunesdb: itdb_cp_track_to_ipod() will now determine the number of available F.. dirs before copying by calling new function itdb_count_musicdirs() git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1088 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: changed position of AC_GNU_SOURCE (caused errorJorg Schuler2005-09-111-2/+2
| | | | | | | | | strange error messages) * autogen.sh: replaced so it works without gnome-common and modified for intltools support * src/itdb.h: replaced '//' by '/* ... */' to avoid strange error message during compile. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1085 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_playlist.c: (itdb_splr_validate)Jorg Schuler2005-09-111-1/+2
| | | | | | | Guilherme Salgado <salgado@freeshell.org> patch to make 'inthelast' SPL work. * README: added some notes. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1083 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-09-10 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-09-102-7/+13
| | | | | | | | | | | * configure.ac: * src/itdb_itunesdb.c: (get_mhod_type), (get_mhod), (get_mhod_string), (get_playlist), (get_mhit), (itdb_shuffle_write_file): * src/itdb_playlist.c: (itdb_spl_update_all): * tests/itdb_main.c: (main): fixed compilation warnings to be able to compile with -Werror git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1082 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Initial importChristophe Fergeau2005-09-106-0/+5739
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1080 f01d2545-417e-4e96-918e-98f8d0dbbcb6