summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'V0_3_2'.libgpod-0.3.2Jorg Schuler2006-03-040-0/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/tags/V0_3_2@1213 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.3.3 for new CVS version.Jorg Schuler2006-03-042-1/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1212 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.3.2 for release.Jorg Schuler2006-03-044-9/+23
| | | | | | | | | | | | * db-artwork-writer.c: increased IPOD_MMAP_SIZE from 2 to 16 MB as a temporary workaround until a propoer solution can be implemented. * db-itunes-parser.h: replaced the #pragma pack(4) with an 'packed' attribute on _MhiiHeader only. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1211 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ipod-device.c: (ipod_device_set_property): fixed possibleJorg Schuler2006-02-282-8/+15
| | | | | | | segfault when hald is present. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1210 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* I think I'm abusing a Swig internal implementation detail here; and they ↵Nicholas Piper2006-02-251-3/+3
| | | | | | changed it a little. Update so we can still compile. Using swig at least above 1.3.23. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1209 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac, po/es.po: added Spanish translation catalogJorg Schuler2006-02-243-1/+244
| | | | | | | (thanks to Azael Avalos) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1208 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: added HP type color photo ipod 'S492'. ThanksJorg Schuler2006-02-192-2/+6
| | | | | | | to David Desrosiers. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1207 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * libgpod-1.0.pc: added gobject-2.0 to 'Requires:' listJorg Schuler2006-02-192-0/+13
| | | | | | | | * src/db-itunes-parser.h: add '#pragma pack(4)' to fix 64bit issue with padding (at least as a temporary fix). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1206 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: (ipod_device_set_property): fixed bug thatJorg Schuler2006-02-143-14/+18
| | | | | | | | caused ipod-detection to fail if hal daemon was not running. As a consequence cover art was not written to the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1205 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ja.po: updated Japanese catalog -- thanks to Kentaro FukuchiJorg Schuler2006-02-142-7/+9
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1204 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* *** empty log message ***Jorg Schuler2006-02-141-86/+154
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1203 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: (itunesstats_read) Fixed error when readingJorg Schuler2006-02-042-3/+9
| | | | | | | | the Shuffle's stat file (0x18 was used as minimal record length instead of decimal '18'). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1202 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c, src/itdb_playlist.c, src/ithumb-writer.c:Jorg Schuler2006-02-034-88/+99
| | | | | | | | | removed nested-functions. Thanks to Brian Jackson for the patch (he was not the only to send patches -- please, nobody feel offended that I didn't act sooner). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1201 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* (ipod_device_get_model_index_from_table): fix warning aboutJorg Schuler2006-01-032-2/+5
| | | | | | | unused computed value (thanks to Martin Aumueller) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1200 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: (ipod_device_set_property) check hal_contextJorg Schuler2006-01-032-6/+19
| | | | | | | | | | before accessing it to avoid segfault when hald is not running. (ipod_device_hal_initialize) fixed memory leak: 'error' was not freed if libhal_ctx_init() failed. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1199 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ipod-device.c: don't ignore return value ofJorg Schuler2005-12-182-10/+23
| | | | | | | fread/fwrite/ftell because of possible compiler warnings. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1198 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bumped version to 0.3.1 for CVS version.Jorg Schuler2005-12-112-1/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1197 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bumped version to 0.3.0 for release.Jorg Schuler2005-12-112-3/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1195 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * README: added quick HOWTO use libgpodJorg Schuler2005-12-112-6/+70
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1194 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c: (itdb_thumb_get_gdk_pixbuf) allow to getJorg Schuler2005-12-113-30/+83
| | | | | | | | | pixbuf even if no iPod is present if the thumbnail points to a local filename. This way artwork support is also possible on the 'Local' repository in gtkpod (or any other application). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1193 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c: fixed typo leading to segfault.Jorg Schuler2005-12-102-2/+12
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1192 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/hal-common.c: reverse order of include statements to fixJorg Schuler2005-12-091-2/+2
| | | | | | | compilation error on some systems. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1191 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_artwork.c: fix compilation problem when gdkpixbuf isJorg Schuler2005-12-091-1/+3
| | | | | | | not present. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1190 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c: create Artwork directory when attempting toJorg Schuler2005-12-092-0/+14
| | | | | | | write to it. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1189 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: change g_assert to g_return_if_fail (don'tJorg Schuler2005-12-064-7/+21
| | | | | | | | | | | | | | | | | | terminate the application just because the iTunesDB was manipulated). * src/db-artwork-parser.c: change g_assert to g_return_if_fail (don't terminate the application just because the ArtworkDB was manipulated). * src/itdb_artwork.c: change g_assert to g_return_if_fail (don't terminate the application just because the ithmb file was manipulated). There's a number of g_asserts left in db-parse-context.c which don't catch programming errors but input errors. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1188 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_track.c: take care of artwork_size/_count a littleJorg Schuler2005-12-045-65/+160
| | | | | | | | | | | better, take care of dbid2 a little better. * src/ithumb-writer.c: new ithumb_rearrange_thumbnail_file() taking into account multiple references to the same slot. ithumb-writer now cleans up 0 Byte files. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1187 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* One more detail for the consistent size stuff.Jorg Schuler2005-12-041-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1186 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix warning about Artwork sizes when importing database.Jorg Schuler2005-12-041-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1185 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer.c, src/itdb_itunesdb.c,Jorg Schuler2005-12-047-34/+30
| | | | | | | | src/itdb_track.c, src/ithumb-writer.c: handle artwork size and count self-consistently. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1184 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-artwork-writer/parser.c: Create ArtworkDB when it doesJorg Schuler2005-12-043-8/+30
| | | | | | | not exist. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1183 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-30 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-302-3/+10
| | | | | | | | * src/db-artwork-parser.c: (parse_mhni): don't crash if ipod_image_new_from_mhni returns NULL git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1182 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-28 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-284-0/+24
| | | | | | | | | | | | * src/itdb_artwork.c: (unpack_RGB_565), (get_pixel_data): * src/itdb_itunesdb.c: (get_mhod): * src/ithumb-writer.c: (pack_RGB_565), (ithumb_rearrange_thumbnail_file): added some paranoia checks before doing some mallocs to prevent potential int overflows in some mallocs which could be triggered by using forged iTunesDB files git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1181 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* New API for thumbnail support: see src/itdb.h for details.Jorg Schuler2005-11-2813-466/+1054
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/itdb.h: Introduced Itdb_Artwork and ItdbThumbType and changed Itdb_Image to Itdb_Thumb throughout the source. * src/itdb_artwork.c: new file as backend for Itdb_Artwork support (new, free, duplicate, get_thumb_by_type, add_thumbnail, remove_thumbnail, remove_thumbnails), as well as for the Itdb_Thumb support (new, free, duplicate, get_gdk_pixbuf, get_filename) * src/itdb_track.c: new functions for artwork support (set_thumbnails, remove_thumbnails) * src/ithumb-writer.c: added support to write thumbnails in addition to existing thumbnails * src/db-artwork-parcer.c: (mhod3_get_ithmb_filename) * src/itdb_itunesdb.c: (update_artwork_info) * tests/test-covers.c: updated to new API. * tests/test-write-covers.c: updated to new API. Known issues: iTunes wipes off our thumbnails. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1180 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add a little note to say where to send patchesNicholas Piper2005-11-271-0/+4
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1179 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add a toy script to fetch images from AmazonNicholas Piper2005-11-271-0/+72
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1178 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add some playing with artworkNicholas Piper2005-11-271-15/+29
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1177 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add a comment about unicodeNicholas Piper2005-11-271-0/+4
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1176 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add LGPL messagesNicholas Piper2005-11-263-0/+74
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1175 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add sw_get_playlist_tracks() and define G_BEGIN_DECLS/G_END_DECLS for swigNicholas Piper2005-11-262-2/+23
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1174 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac: bumped version to 0.2.2Jorg Schuler2005-11-242-2/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1173 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * overall changes to support itdb_image_get_gdk_pixbuf(). RunJorg Schuler2005-11-248-110/+145
| | | | | | | | "tests/test-thumbnails <ipod_mount> to copy all thumbnails into the current directory. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1172 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-23 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-2310-205/+270
| | | | | | | | | | | | | | | | | | | | | | * src/db-artwork-debug.c: (get_utf16_string): * src/db-artwork-parser.c: (get_utf16_string), (parse_mhod_3), (parse_mhni), (ipod_supports_cover_art), (ipod_parse_artwork_db): * src/db-artwork-parser.h: * src/db-artwork-writer.c: (get_artwork_info), (write_mhod_type_3), (write_mhni), (write_mhod), (write_mhii), (write_mhif): * src/db-image-parser.c: (unpack_RGB_565), (image_type_from_corr_id), (ipod_image_new_from_mhni): * src/db-image-parser.h: * src/itdb.h: * src/ithumb-writer.c: (pack_RGB_565), (ithumb_writer_write_thumbnail), (ipod_image_get_ithmb_filename), (ithumb_writer_new), (ithumb_writer_free), (write_thumbnail), (itdb_write_ithumb_files): * tests/test-covers.c: (save_song_thumbnails): rework artwork code in an attempt to properly support artwork on all the iPod models git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1171 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-23 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-233-2/+9
| | | | | | | | | * src/hal-common.c: * tests/test-covers.c: (ipod_image_to_gdk_pixbuf): more glib 2.4 changes git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1170 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-23 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-232-1/+7
| | | | | | | * configure.ac: bumped version number git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1169 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-23 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-232-2/+6
| | | | | | | * configure.ac: set version number to 0.2.0 git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1167 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-22 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-222-3/+6
| | | | | | | * src/ipod-device.c: fix compilation issue when hal isn't available git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1166 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-22 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-222-5/+6
| | | | | | | * configure.ac: fix .so versioning git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1165 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-22 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-222-1/+6
| | | | | | | * src/glib-compat.h: include stdio.h in the glib 2.4 compat code git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1164 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-212-239/+385
| | | | | | | * COPYING: libgpod really is LGPL git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1163 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2005-11-21 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2005-11-213-3/+14
| | | | | | | | * configure.ac: set version number to 0.2.0 * src/Makefile.am: added glib-compat.h git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1162 f01d2545-417e-4e96-918e-98f8d0dbbcb6