summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove chapterdata_raw and chapterdata_raw_length from Itdb_Trackremove-chapterdata_rawTodd Zullinger2008-11-142-10/+0
| | | | | These are no longer needed now that proper Chapter Data support is available (since svn revision 1936/1937).
* * src/itdb_device.c: SN YX6 corresponds to a Shuffle model B225teuf2008-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_phototeuf2008-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 nanoteuf2008-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 Nanoteuf2008-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 portabilityteuf2008-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_ArtworkFormatteuf2008-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 SysInfoExtendedteuf2008-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 changesteuf2008-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 parserteuf2008-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 parserteuf2008-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 4gteuf2008-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 tablesteuf2008-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 nanoteuf2008-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 Nanoteuf2008-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 Nanoteuf2008-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 newteuf2008-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>teuf2008-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 objectspython-podcast-mediatypepython-container-methodstmzullinger2008-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.pytmzullinger2008-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 classestmzullinger2008-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 teststmzullinger2008-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.python-thumb-api-fix-v2tmzullinger2008-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/pythontmzullinger2008-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>phantom_sf2008-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_* functionstmzullinger2008-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} directoriestmzullinger2008-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 directoriestmzullinger2008-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.txttmzullinger2008-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/tmzullinger2008-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>jcsjcs2008-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 commenttmzullinger2008-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 -eteuf2008-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 checkoutteuf2008-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.hteuf2008-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
* * tests/test-fw-id.c: (main): add missing call to g_type_initChristophe Fergeau2008-07-252-0/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2063 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c (pack_RGB_565), (pack_RGB_555)Jorg Schuler2008-07-203-3/+17
| | | | | | | | | | | (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
* * src/itdb_device.c (itdb_device_set_timezone_info): avoid g_statJorg Schuler2008-07-192-1/+11
| | | | | | | | on NULL filename. Thanks to Andrea. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2055 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: assume the following generations do notJorg Schuler2008-07-195-25/+41
| | | | | | | | | | | | support sparse artwork: ITDB_IPOD_GENERATION_NANO_1: ITDB_IPOD_GENERATION_NANO_2: ITDB_IPOD_GENERATION_VIDEO_1: ITDB_IPOD_GENERATION_VIDEO_2: git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2054 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove references to itdb_thumb_get_gdk_pixbuf()Todd Zullinger2008-07-178-33/+25
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2050 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Don't try to write ArtworkDB/PhotoDB when we fail to write ithmb filesChristophe Fergeau2008-07-102-2/+15
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2047 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add src/itdb_thumb.c to POTFILES.inTodd Zullinger2008-07-092-2/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2046 f01d2545-417e-4e96-918e-98f8d0dbbcb6