summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupTodd Zullinger2008-12-0814-268/+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-072-1/+7
| | | | | | | 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
* * configure.ac: don't add "-Wall" to CFLAGSJorg Schuler2008-11-302-1/+6
| | | | | | | unconditionally. I believe this line was overlooked when this issue was fixed earlier. Thanks to Tim Mooney. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2155 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/db-parse-context.h: remove unneeded G_GNUC_INTERNAL at theJorg Schuler2008-11-302-1/+8
| | | | | | | | 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-172-7/+23
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2153 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Stricter sanity checkChristophe Fergeau2008-11-172-2/+10
| | | 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-172-14/+36
| | | 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-143-10/+10
| | | | | | 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-222-1/+6
| | | | | 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-212-2/+10
| | | 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-202-0/+6
| | | 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-152-0/+6
| | | 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-082-13/+19
| | | | | | | 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-082-3/+11
| | | | | | | | 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-072-2/+9
| | | 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-072-13/+17
| | | | | | | | 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-072-5/+15
| | | 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-072-19/+77
| | | | | | | | | | | | | | 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-042-1/+7
| | | | | 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-012-3/+8
| | | 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-012-0/+5
| | | 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-012-0/+5
| | | 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-012-0/+5
| | | 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-013-8/+110
| | | | | | | 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-112-0/+7
| | | | | | | * 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
* Python: Set the mediatype field for Track objectsTodd Zullinger2008-08-232-1/+12
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2112 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Whitespace cleanup of tests.pyTodd Zullinger2008-08-232-5/+8
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2111 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Be more consistent with other container objects and classesTodd Zullinger2008-08-233-5/+75
| | | | | | | | This enables testing whether a key exists in an object (e.g. "'title' in track") as well as iterating over a Track or Photo object's keys, values, or items. The items() and pairs() methods were renamed to values() and items(), respectively, in the Track and Photo classes. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2110 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Python: Add a quiet parameter to Database.remove() and use it in testsTodd Zullinger2008-08-233-4/+14
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2109 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Update python bindings to work with the new thumbnail API.Todd Zullinger2008-08-205-90/+32
| | | | | | | This removes sw_get_artwork_thumbnails() and the Thumbnail class from the python bindings. The get_pixbuf() function is now in the Photo class. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2108 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Ignore libtool generated files in bindings/pythonTodd Zullinger2008-08-200-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2107 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2008-08-09 Paul Richardson <phantom_sf at users.sourceforge.net>P.G. Richardson2008-08-094-0/+14
| | | | | | | | | | | | * 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-093-8/+10
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2095 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Ignore *.o files in docs/reference{,/tmpl} directoriesTodd Zullinger2008-08-070-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2094 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Ignore *.o files in src, tests, and tools directoriesTodd Zullinger2008-08-070-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2093 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Ignore docs/reference/libgpod-undeclared.txtTodd Zullinger2008-08-070-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2092 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add test-sysinfo-extended-parsing to svn:ignore prop in tests/Todd Zullinger2008-08-060-0/+0
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2091 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* 2008-08-03 Jorg Schuler <jcsjcs at users.sourceforge.net>Jorg Schuler2008-08-032-15/+9
| | | | | | | | | * 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-022-1/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2077 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* s/test -a/test -eChristophe Fergeau2008-08-012-1/+6
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2076 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix auto-enabling of more warnings when using a svn checkoutChristophe Fergeau2008-08-012-1/+7
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2075 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Move ITDB_DEVICE_ERROR from itdb_plist.h to itdb_device.hChristophe Fergeau2008-08-014-6/+14
| | | 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-304-5/+13
| | | 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-293-12/+29
| | | 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-295-26/+45
| | | 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-292-4/+14
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2069 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add gtk-doc documentationChristophe Fergeau2008-07-293-0/+109
| | | 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-295-7/+20
| | | 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-295-33/+95
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2066 f01d2545-417e-4e96-918e-98f8d0dbbcb6