summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Link with -lm since we are using round and ceil in ithumb-writer.cChristophe Fergeau2009-01-021-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2190 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix static nano4g artwork information tablesChristophe Fergeau2009-01-011-4/+7
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2187 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add Itdb_Track::album_id to prevent future ABI breakageChristophe Fergeau2009-01-011-0/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2186 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add serial number for pink and silver 16GB nanosChristophe Fergeau2008-12-291-3/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2184 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove unwanted addition of model name in last commitChristophe Fergeau2008-12-221-1/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2180 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add ipod shuffle info from Neil CampbellChristophe Fergeau2008-12-221-0/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2179 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add serial numbers for yellow and green 16GB nano4gChristophe Fergeau2008-12-221-0/+2
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2178 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add serial number for 16GB Purple Nano 4gChristophe Fergeau2008-12-181-0/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2177 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_plist.c: substitute g_base64_decode() between versionJorg Schuler2008-12-152-0/+14
| | | | | | | | | | 2.8 and 2.11 of glib. * src/itdb_device.c: handle timezone correctly on CYGWIN Patches courtesy of Éric Lassauge. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2170 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add hardcoded tables for nano4g artworkChristophe Fergeau2008-12-121-0/+24
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2167 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add SN for 16GB orange nano4gChristophe Fergeau2008-12-121-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2166 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Update API documentationTodd Zullinger2008-12-0814-1078/+1983
| | | | | | | Add new functions and missing enums, macros, and structs to the proper places in the documentation, remove old/unused functions, and clean up various minor issues. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2159 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Whitespace cleanupTodd Zullinger2008-12-0813-265/+181
| | | | | | This just cleans up some minor whitespace issues to make diffing and merging slightly nicer. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2158 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_itunesdb.c (jump_table_letter): don't terminate whenJorg Schuler2008-12-071-1/+1
| | | | | | | an invalid utf8 string is encountered (replaced g_assert() with g_return_val_if_fail()). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2157 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-parse-context.h: remove unneeded G_GNUC_INTERNAL at theJorg Schuler2008-11-301-1/+1
| | | | | | | | end of a declaration as this can cause problems with some compilers (and doesn't seem to make sense in the first place). Thanks to Tim Mooney. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2154 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Attempt at fixing an artwork display bug on the nano4gChristophe Fergeau2008-11-171-7/+16
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2153 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Stricter sanity checkChristophe Fergeau2008-11-171-2/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2152 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add overflow checks when computing sizes to use as a malloc argChristophe Fergeau2008-11-171-14/+32
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2151 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove chapterdata_raw and chapterdata_raw_length from Itdb_TrackTodd Zullinger2008-11-141-8/+0
| | | | | | These are no longer needed now that proper Chapter Data support is available (since svn revision 1936/1937). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2150 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: SN YX6 corresponds to a Shuffle model B225Christophe Fergeau2008-10-221-1/+1
| | | | | according to a report on #gtkpod git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2144 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Use SysInfoExtended if available for itdb_device_supports_photoChristophe Fergeau2008-10-211-2/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2143 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add SN for 16GB blue nanoChristophe Fergeau2008-10-201-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2142 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add serial number for 16GB Black NanoChristophe Fergeau2008-10-151-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2141 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix printf modifiers for more portabilityChristophe Fergeau2008-10-081-13/+13
| | | | | | | Use %z when printing size_t values and G_GINT64_MODIFIER to print 64 bit values, this should fix compilation on 64 bit systems when artwork debugging is enabled, and this shouldn't break 32 bit systems git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2140 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix data sizes used in Itdb_ArtworkFormatChristophe Fergeau2008-10-081-3/+3
| | | | | | | | The mostly automated SysInfoExtended parser expects the fields in the Itdb_ArtworkFormat structure to be of type gint. They used to be of type gin which led to random overwriting of their value since the parser expected the to be bigger than they really are. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2139 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix itdb_device_supports_artwork to use info from SysInfoExtendedChristophe Fergeau2008-10-071-2/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2138 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Adjust SysInfoExtended parsing to the plist parser changesChristophe Fergeau2008-10-071-13/+11
| | | | | | | | The type of the parsed data for <array> nodes have changed in the plist parser, it's now a GValueArray, the SysInfoExtended parser has to take that into account since the description of the various artwork formats is stored in an <array> element. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2137 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix blank node handling in the plist parserChristophe Fergeau2008-10-071-5/+9
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2136 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add array support to the plist parserChristophe Fergeau2008-10-071-19/+71
| | | | | | | | | | | | | | The SysInfoExtended file on the ipod used to contain the artwork formats in <array> tags containing <key> tags as well as the value. This is not valid according to the plist DTD, and this was fixed with the 4th generation Nanos (but not with the 120GB ipod classic). libgpod was written using invalid (wrt to the XML DTD) files, and thus handled <array> elements as if they were <dict> elements (because of the <key> tags). This was wrong, and prevented it from parsing the fixed SysInfoExtended file on the new Nanos. This changeset implements support for <array> tags (ignoring tags like <key> in the process so as not to fail with older SysInfoExtended files) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2135 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: add serial number for the 8GB Silver Nano 4gChristophe Fergeau2008-10-041-1/+2
| | | | | and model number for the 4GB Blue Nano 4g git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2133 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* A few more fixes in the ipod model tablesChristophe Fergeau2008-10-011-3/+3
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2131 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add missing name for the Yellow 4g nanoChristophe Fergeau2008-10-011-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2130 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: and add SN for the 8GB Red NanoChristophe Fergeau2008-10-011-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2129 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: add SN for 16GB Red NanoChristophe Fergeau2008-10-011-0/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2128 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.h: add enum entries for the new ipod classic and the newChristophe Fergeau2008-10-012-8/+103
| | | | | | | nanos * src/itdb_device.c: add entries for the new nanos and the new ipod classic, add some serial numbers for older ipod models git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2127 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2008-09-11 Christophe Fergeau <teuf@gnome.org>Christophe Fergeau2008-09-111-0/+1
| | | | | | | * src/itdb_device.c: add missing string description for the red ipod shuffle that was added some time ago, without it gtkpod was badly broken wrt ipod model selection :-/ git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2117 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2008-08-09 Paul Richardson <phantom_sf at users.sourceforge.net>P.G. Richardson2008-08-093-0/+4
| | | | | | | | | | | | * Added eclipse project related files to svn:ignore * src/db-artwork-parser.c src/itdb.h src/itdb_photoalbum.c: Added to Itdb_PhotoAlbum, a reference to its parent Photo DB. When albums are constructed upon loading of the Photo DB, the reference is added as part of initialisation. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2096 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove uses of deprecated itdb_time_* functionsTodd Zullinger2008-08-091-7/+4
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2095 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2008-08-03 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2008-08-031-15/+3
| | | | | | | | | * src/ithumb-writer (ithumb_writer_handle_pixbuf_transform): handle rotation correctly: don't interchange width and height for the thumbnail on the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2083 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix typo in itdb_track_get_thumbnail() doc commentTodd Zullinger2008-08-021-1/+1
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2077 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Move ITDB_DEVICE_ERROR from itdb_plist.h to itdb_device.hChristophe Fergeau2008-08-013-6/+8
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2074 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Rename unk146 to explicit_flag in Itdb_Track now that it's purpose is knownTodd Zullinger2008-07-302-4/+5
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2073 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix a few issues in the API doc after the API changes that went onChristophe Fergeau2008-07-291-4/+2
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2072 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* itdb_thumb_to_pixbufs API docChristophe Fergeau2008-07-291-0/+17
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2071 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Some public API work, hide ItdbThumbType as well as ItdbThumbIpodChristophe Fergeau2008-07-293-20/+41
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2070 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Mask symbols from the SysInfoExtended parserChristophe Fergeau2008-07-291-3/+8
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2069 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add gtk-doc documentationChristophe Fergeau2008-07-292-0/+104
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2068 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Use GError in SysInfoExtended parsingChristophe Fergeau2008-07-293-4/+7
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2067 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add error handling to the plist XML parserChristophe Fergeau2008-07-294-33/+86
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2066 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c (pack_RGB_565), (pack_RGB_555)Jorg Schuler2008-07-202-3/+9
| | | | | | | | | (pack_RGB_888): handle horizontal padding correctly (affected pictures in portrait format). * src/itdb_device.c: added some comments. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2060 f01d2545-417e-4e96-918e-98f8d0dbbcb6