summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-212-0/+44
| | | | | | | | * src/glib-compat.h: added a missing helper file for glib 2.4 compilation git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1161 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-213-54/+24
| | | | | | | | * src/hal-common.c: * src/ipod-device.c: marked some functions as static git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1160 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-212-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ipod-device.c: fix g_mkdir_with_parents use (don't use it with glib 2.8, and mark it static) 2005-11-21 Christophe Fergeau <teuf@gnome.org> * src/db-artwork-writer.c: (write_mhod_type_3): * src/db-parse-context.c: * src/ipod-device.c: * src/itdb_private.h: * src/itdb_track.c: * src/ithumb-writer.c: (ithumb_writer_write_thumbnail): commit some changes which should help compiling with glib 2.4 2005-11-21 Christophe Fergeau <teuf@gnome.org> * autogen.sh: * gnome-autogen.sh: use autogen.sh script from gnome-common since the custom libgpod one keep having issues (this doesn't add a dependency on gnome-common since I imported the necessary script to our CVS) 2005-11-21 Christophe Fergeau <teuf@gnome.org> * INSTALL: * autogen.sh: * gnome-autogen.sh: 2005-11-21 Christophe Fergeau <teuf@gnome.org> * src/hal-common.h: mark hal stubs (for when hal isn't available) as G_GNUC_INTERNAL to avoid namespace clashes * src/ipod-device.c: * src/ipod-device.h: move hal header inclusion in the .c instead of having it in the .h 2005-11-19 Jorg Schuler <jcsjcs at users.sourceforge.net> * itdb_playlist.c: simplified API for itdb_spl_update() and itdb_splr_eval() * itdb_playlist.c: added itdb_spl_update_live() for convenience * itdb_itunesdb.c: (itdb_rename_files) also remove "iTunesShuffle" as this file might confuse iPod Shuffles. 2005-11-17 Jorg Schuler <jcsjcs at users.sourceforge.net> * configure.ac: check for version 2.4 of glib -- now we need to make sure that libgpod actually works with 2.4... 2005-11-15 Christophe Fergeau <teuf@gnome.org> * src/itdb_itunesdb.c: (itdb_new): initialise glib type system before calling ipod_device_new (which creates a gobject) 2005-11-13 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/itdb_itunesdb.c: when new rating is set on the iPod, backup the old rating to app_rating. Not sure what it's for, but iTunes seem to do it. * src/itdb_itunesdb.c: * src/itdb.h: split unk164 into flag1, flag2, flag3, and flag4. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1159 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-217-9/+23
| | | | | | | | | | | | | * src/db-artwork-writer.c: (write_mhod_type_3): * src/db-parse-context.c: * src/ipod-device.c: * src/itdb_private.h: * src/itdb_track.c: * src/ithumb-writer.c: (ithumb_writer_write_thumbnail): commit some changes which should help compiling with glib 2.4 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1158 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-213-40/+489
| | | | | | | | | | * autogen.sh: * gnome-autogen.sh: use autogen.sh script from gnome-common since the custom libgpod one keep having issues (this doesn't add a dependency on gnome-common since I imported the necessary script to our CVS) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1157 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-214-28/+24
| | | | | | | | | | | * src/hal-common.h: mark hal stubs (for when hal isn't available) as G_GNUC_INTERNAL to avoid namespace clashes * src/ipod-device.c: * src/ipod-device.h: move hal header inclusion in the .c instead of having it in the .h git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1156 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c: (itdb_rename_files) also remove "iTunesShuffle"Jorg Schuler2005-11-192-1/+25
| | | | | | | as this file might confuse iPod Shuffles. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1155 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_playlist.c: added itdb_spl_update_live() for convenienceJorg Schuler2005-11-193-5/+24
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1154 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_playlist.c: simplified API for itdb_spl_update() andJorg Schuler2005-11-193-13/+29
| | | | | | | itdb_splr_eval() git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1153 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: check for version 2.4 of glib -- now we need toJorg Schuler2005-11-172-2/+7
| | | | | | | make sure that libgpod actually works with 2.4... git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1152 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-15 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-152-1/+10
| | | | | | | | * src/itdb_itunesdb.c: (itdb_new): initialise glib type system before calling ipod_device_new (which creates a gobject) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1151 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c:Jorg Schuler2005-11-133-15/+28
| | | | | | | * src/itdb.h: split unk164 into flag1, flag2, flag3, and flag4. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1150 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: when new rating is set on the iPod,Jorg Schuler2005-11-133-5/+21
| | | | | | | | | backup the old rating to app_rating. Not sure what it's for, but iTunes seem to do it. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1149 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: (itdb_track_set_defaults) only change unk208Jorg Schuler2005-11-122-14/+25
| | | | | | | (audio/video) if not already set to non-zero. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1148 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: (itdb_set_mountpoint) do not callJorg Schuler2005-11-123-21/+27
| | | | | | | | | | | itdb_device_new() with NULL pointer (no mountpoint == local repository) to avoid critical warning. * src/itdb.h src/itdb_itunesdb.c: change API for itdb_shuffle_write() to be identical to itdb_itunesdb_write() git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1147 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-08 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-082-3/+27
| | | | | | | | * configure.ac: fixed hal detection, stole a bit more autoconf-fu from libipoddevice so that ipod-device.c compiles when hal is detected git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1146 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 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