summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * 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
* Fix bug in thumbnail rearranging codeChristophe Fergeau2008-07-052-2/+8
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2034 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Properly set padding to 0 in mhod type 3Christophe Fergeau2008-07-052-0/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2033 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix a memory leakChristophe Fergeau2008-07-052-0/+6
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2032 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* fix typos: s/ipod/iPod/ s/availale/available/ s/of non-existent/if non-existent/Daniele Forsi2008-06-295-10/+15
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2026 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c (itdb_write_ithumb_files): fix bug whenJorg Schuler2008-06-293-66/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | writing photos (loop variable "it" re-used inside loop). Rename loop variable to "itw" also in case of writing artwork. * src/itdb_thumb.c (itdb_thumb_to_pixbuf_at_size): If requesting a thumb from the iPod smaller than available, none would be returned. Fixed. Thumbs from the iPod would not be scaled even if requested. Fixed. If requesting a thumb from a file or existing pixbuf, scaling was done even if none was requested (width/height = 0/-1). Fixed. Introduced selection of smallest available thumbnail (width/height = 0) besides largest available thumbnail (width/height = -1). TODO: consider aspect ratio of requested picture (currently it is very likely that some of the square thumbs are returned...) src/itdb_artwork.c (itdb_artwork_get_thumbnail): Introduced selection of smallest available thumbnail (width/height = 0) besides largest available thumbnail (width/height = -1). (Only necessary documentation.) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2025 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c (itdb_write_ithumb_files): fix bug whenJorg Schuler2008-06-292-5/+12
| | | | | | | | | writing photos (loop variable "it" re-used inside loop). Rename loop variable to "itw" also in case of writing artwork. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2023 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* patch by: Mike Heffner <mikeh@fesnel.com>Christophe Fergeau2008-06-283-0/+13
| | | | | | | | | * src/Makefile.am: * src/db-artwork-writer.c: fix compilation with older glib (without GChecksum) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2021 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_device.c: rework timezone handling: handle timezones asChristophe Fergeau2008-06-243-80/+144
| | | | | | | | | | stored on 5g ipods (hopefully) and fallback to using the computer timezone if we can't figure out the ipod timezone * tests/get-timezone.c: use functions from libgpod to get the timezone instead of duplicating some itdb_device code git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2018 f01d2545-417e-4e96-918e-98f8d0dbbcb6