summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * 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
* * configure.ac: properly detect newer libsgutils (the so name wasChristophe Fergeau2008-07-093-3/+16
| | | | | | | changed) * tools/ipod-scsi-inquiry.c: add missing include Based on a patch from Dan Horák (dan@danny.cz) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2045 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix up information from podsleuthChristophe Fergeau2008-07-062-6/+11
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2044 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add a way to get an Itdb_ModelInfo from a serial numberChristophe Fergeau2008-07-062-18/+234
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2043 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add missing 2GB ipod shuffle models and ipod shuffle redChristophe Fergeau2008-07-063-0/+13
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2042 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Pick itdb_device_get_storage_info from songbirdChristophe Fergeau2008-07-064-10/+70
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2041 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Use GMappedFile instead of directly using mmapChristophe Fergeau2008-07-064-45/+40
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2040 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove inner functions to make MSVC8 compat easierChristophe Fergeau2008-07-063-23/+28
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2039 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove non-useful argument to db_parse_context_destroy (patch from songbird)Christophe Fergeau2008-07-064-6/+15
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2038 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix bug in thumbnail resizing when not cropping which caused duplicated ↵Christophe Fergeau2008-07-062-20/+27
| | | | | lines at the bottom of thumbnails git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2036 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix memleakChristophe Fergeau2008-07-052-0/+5
| | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2035 f01d2545-417e-4e96-918e-98f8d0dbbcb6