summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-11-08 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-083-3/+8
| | | | | | | | * src/hal-common.c: * src/hal-common.h: more #if => #ifdef changes git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1145 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-08 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-083-2/+8
| | | | | | | | * src/ipod-device.c: * src/ipod-device.h: update comments to reflect the fact we are using git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1144 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-08 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-084-7/+24
| | | | | | | | | | | | * src/hal-common.c: * src/hal-common.h: * src/ipod-device.c: (ipod_device_set_property), (ipod_device_hal_initialize), (ipod_device_detect_volume_info), (ipod_device_new), (ipod_device_eject): sync with libipoddevice CVS, use #ifdef HAVE_LIBHAL instead of #if HAVE_LIBHAL git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1143 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-06 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-063-0/+11
| | | | | | | | * src/ipod-device.h: * src/itdb.h: added missing G_BEGIN_DECLS and G_END_DECLS git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1142 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-05 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-052-5/+27
| | | | | | | | | * src/itdb_track.c: (is_video_ipod), (itdb_track_set_defaults): deal with unk208 differently on iPod video (it's used to indicate if the current track must be shown in the video or audio menu or both) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1141 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-05 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-053-9/+110
| | | | | | | | | | * src/ipod-device.c: (ipod_device_get_property), (ipod_device_class_init): * src/ipod-device.h: sync with libipoddevice CVS to get information about artwork formats supported by the various iPod models git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1140 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-04 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-045-7/+27
| | | | | | | | | | | | | | | * src/ipod-device.c: (ipod_device_new): * src/ipod-device.h: * src/itdb.h: * src/itdb_itunesdb.c: (itdb_free), (itdb_parse), (itdb_shuffle_write), (itdb_set_mountpoint): added an IpodDevice element to Itdb_iTunesDB. This makes it possible for libgpod to know the type (regular/nano/mini/video/...) of the iPod it's currently dealing with (which is necessary for proper cover art support for example) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1139 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-04 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-042-0/+6
| | | | | | | | * 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-04 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-042-8/+8
| | | | | | | | * autogen.sh: add missing call to glib-gettextize, this has the nice side-effect of adding mkinstalldirs if automake didn't copy it for us. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1137 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-02 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-023-6/+38
| | | | | | | | | | * 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-023-1/+22
| | | | | | | | | | * 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-012-40/+17
| | | | | | | ..." constructions. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1134 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Testing new anti-spam settings.Jorg Schuler2005-11-011-1/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1133 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Testing new settings for gtkpod-cvs list.Jorg Schuler2005-11-011-0/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1132 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (get16lint): fixed bug affecting big endianJorg Schuler2005-10-312-4/+9
| | | | | | | 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-252-5/+20
| | | | | | | 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-253-14/+34
| | | | | | | | | | 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-237-28/+20
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1128 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-20 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-202-2/+6
| | | | | | | * tests/test-covers.c: (save_song_thumbnails): fix warning on amd64 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1127 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: print warning and hint if ./mkinstalldirs is notJorg Schuler2005-10-191-2/+3
| | | | | | | | created (incompatibility between automake > 1.8 and all gettext at least up to 0.14.4. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1126 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: print warning and hint if ./mkinstalldirs is notJorg Schuler2005-10-193-45/+40
| | | | | | | | | | | created (incompatibility between automake > 1.8 and all gettext at least up to 0.14.4. * TROUBLESHOOTING: added tips for missing ./mkinstalldirs and po/Makefile.in.in git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1125 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-10-17 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-10-174-8/+17
| | | | | | | | | | | | * 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
* 64bit configuration hintsJorg Schuler2005-10-151-4/+10
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1122 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c,itdb_private.h: fixes for 64 bit systemsJorg Schuler2005-10-156-202/+291
| | | | | | | | | * 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-124-11/+22
| | | | | | | | | | * 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
* * tests/.cvsignore: updatedJorg Schuler2005-10-111-0/+2
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1118 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: (itdb_track_add/itdb_track_set_defaults): setJorg Schuler2005-10-113-3/+31
| | | | | | | | 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-112-1/+6
| | | | | | | | * 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-0912-11/+2307
| | | | | | | | | | | | | | | | | | 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-0212-80/+148
| | | | | | | | | | | | | | | | | | | | | | | | * 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-022-1/+36
| | | | 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-295-6/+34
| | | | 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-285-11/+49
| | | | | | | | | | | | (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
* added POTFILES to po/.cvsignoreJorg Schuler2005-09-270-0/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1108 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* removed accidentially added file po/POTFIlESJorg Schuler2005-09-272-262/+0
| | | | | | | removed po/Makefile.in.in (second try) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1107 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Updated .cvsignoresJorg Schuler2005-09-270-0/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1106 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * .cvsignore: added reasonable defaults in ./ ./src/ ./tests ./poJorg Schuler2005-09-272-0/+10
| | | | | | | * po/Makefile.in.in: removed, as it should be created by configure git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1105 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h, itdb_itunesdb.c, itdb_private.h: moved next_id fromJorg Schuler2005-09-276-15/+83
| | | | | | | | | | 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-275-4/+32
| | | | | | | | | | | | * 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-246-26/+101
| | | | | | | | | | | | | | | 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-236-505/+808
| | | | | | | | | | | | | | | | | | <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
* * added python bindings provided by Nicholas PiperJorg Schuler2005-09-234-0/+109
| | | | | | | <nick at nickpiper co uk> git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1099 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * applied Christophe Fergeau's patch which adds cover art writingJorg Schuler2005-09-2219-140/+1393
| | | | | | | 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-213-175/+300
| | | | | | | | | * 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-208-18/+113
| | | | 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-193-23/+139
| | | | | | | file on the Shuffle). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1094 f01d2545-417e-4e96-918e-98f8d0dbbcb6