summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * po/de.po: updated German catalogJorg Schuler2007-01-152-167/+185
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1380 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Always ended up "modified" after a 'make dist' -> check in.Jorg Schuler2007-01-151-140/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1379 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* created new ignore fileJorg Schuler2007-01-150-0/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1378 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * .cvsignoreJorg Schuler2007-01-151-0/+11
| | | | | | | | | | | | | | | po/.cvsignore tests/.cvsignore: updated with additional files to ignore. * bindings/.cvsignore: bindings/python/.cvsignore bindings/python/docs/.cvsignore docs/.cvsignore docs/reference/.cvsignore m4/.cvsignore: created new ignore files git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1377 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/ja.po: updated Japanese catalog -- thanks to Kentaro FukuchiJorg Schuler2007-01-152-168/+194
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1376 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add some of Nick's recent work on the python bindingsTodd Zullinger2007-01-151-0/+21
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1375 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* update instructions for creating a tarball, --enable-gtk-doc is no longer neededTodd Zullinger2007-01-151-11/+7
| | | | | | | | remove warning to use CVS instead of the releases add note about using automake-1.9 for those interested in some minor python-related improvements git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1374 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* build bindings after docs so the gtk-docs can be converted and usedTodd Zullinger2007-01-151-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1373 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add support files for converting gtk-docs to python docstringsTodd Zullinger2007-01-152-0/+140
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1372 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/sv.po: updated Swedish catalog -- thanks to Stefan AsserhallJorg Schuler2007-01-152-44/+50
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1371 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* At a suggestion from Todd, attempt to fix writing unicode values. Ideally, ↵Nicholas Piper2007-01-141-1/+15
| | | | | | the caller will either have not changed the userdata items OR will have populated them with unicode objects. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1370 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Correction to 1.4 - sha1/md5_hash handling in ext db. Also, don't write ↵Nicholas Piper2007-01-141-4/+9
| | | | | | filename_ipod if we don't have a value for it. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1369 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* If the Database was garbage collected, then any Tracks would be corrupt. ↵Nicholas Piper2007-01-141-3/+9
| | | | | | Keep a reference to the Database to avoid this. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1368 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Support sha1_hash entries in the extended database as well as md5_hash. ↵Nicholas Piper2007-01-141-8/+17
| | | | | | Thanks to Todd for noticing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1367 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Use gtkdoc documentation for python docstrings, topped up with docstrings by ↵Nicholas Piper2007-01-145-18/+279
| | | | | | Todd Zullinger. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1366 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add prototypes for wrapper functions. Thanks to Todd Zullinger.Nicholas Piper2007-01-141-0/+15
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1365 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_itunesdb.c: added instructions on how to add new stringJorg Schuler2007-01-142-2/+34
| | | | | | | | fields like 'tvepisode', 'tvshow' without forgetting half of the places that need to be touched. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1364 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/es.po: updated Spanish catalog -- thanks to Alejandro LamasJorg Schuler2007-01-148-658/+1441
| | | | | | | | | Daviña * po/*.po: run 'make update-po' git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1363 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/test-photos.c:Jorg Schuler2007-01-143-3/+8
| | | | | | | src/itdb_photoalbum.c: fixed two typos in message strings. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1362 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add more tv show fixes from Mario Rossi.Todd Zullinger2007-01-132-0/+13
| | | | | | | add missing albumartist and keywords pointed out by Jorg. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1361 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* add a few more MHOD types that Jorg suggestedTodd Zullinger2007-01-132-0/+5
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1360 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* don't include any swig built files in the tarballs.Todd Zullinger2007-01-132-5/+13
| | | | | | | s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from automake about unused sources. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1359 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* fix more make distcheck issuesTodd Zullinger2007-01-122-25/+20
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1358 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* TV shows patch from Mario RossiTodd Zullinger2007-01-122-0/+7
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1357 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add PhotoDB functions to the docs.Todd Zullinger2007-01-1112-26/+575
| | | | | | | | Incorporate usage overviews from README into the docs. Fix a few doc comments to allow gtk-doc to parse them. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1356 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* applied Todd Zullinger's patch fixing warnings when building the documentationJorg Schuler2007-01-1018-23/+216
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1355 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * bindings/python/Makefile.am: correct 'make dist' failure (patchJorg Schuler2007-01-102-8/+13
| | | | | | | by Todd Zullinger) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1354 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2007-01-093-10/+109
| | | | | | | | | src/itdb_itunesdb.c: added tvshow, tvepisode, tvnetwork, albumartist, keywords, reseved to Itdb_Track. 'reserved' can later be used to support 'Artist, The'. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1353 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/pixmaps.cJorg Schuler2007-01-095-6/+4186
| | | | | | | | | | | | | src/pixmaps.h: New files containing last-resort pixmap in case thumbnail/photo could not be added. Will not produce code if the gdk-pixubf library is not present. * src/ithumb-writer.c: use above pixmap instead of red canvas. * src/Makefile.am: added pixmaps.[ch] git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1352 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.h: added 2 pointers for future extension toJorg Schuler2007-01-082-1/+6
| | | | | | | Itdb_Playlist (MHOD100). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1351 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * po/fr.po: updated French catalog (thanks to Eric Lassauge)Jorg Schuler2007-01-082-130/+126
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1350 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * README: updated information about photo supportJorg Schuler2007-01-082-51/+61
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1349 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * tests/Makefile.am: cleanupJorg Schuler2007-01-089-51/+120
| | | | | | | | | | | | | | | | * src/itdb.h src/itdb_itunesdb.c: renamed unk156 to skipcount and unk160 to last_skipped. Added unk244, gapless_data, unk252, gapless_track_flag, gapless_album_flag, recent_skipcount. Added handling of skipcount and last_skipped to playount file handling. * src/itdb_private.h: added skipcount and last_skipped to struct playcount. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1348 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.acTodd Zullinger2007-01-047-34/+48
| | | | | | | | | | | | | | | gnome-autogen.sh bindings/python/Makefile.am docs/reference/libgpod-overrides.txt docs/reference/Makefile.am: fix make distcheck, minor automake cleanups. * bindings/python/gpod.i bindings/python/gpod.i.in: rename gpod.i -> gpod.i.in. it is now generated by autoconf. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1347 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Reverse tr and sort so that output of grep/awk is sorted before changing ↵Nicholas Piper2006-12-181-1/+1
| | | | | | newlines to spaces - Todd Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1346 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Install Python libraries to pyexecdir instead; which is not equal to ↵Nicholas Piper2006-12-131-6/+6
| | | | | | pythondir on 64bit arch. Thanks to Todd Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1345 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* USe /mnt/ipod as the default mountpoint, to match rest of gtkpodNicholas Piper2006-12-111-1/+1
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1344 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Add README.in - thanks to Todd ZullingerNicholas Piper2006-12-112-0/+54
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1343 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Remove unused hash-bang in gtkpod.pyNicholas Piper2006-11-271-1/+0
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1342 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/ithumb-writer.c (ithumb_writer_write_thumbnail): handleJorg Schuler2006-11-262-8/+15
| | | | | | | | | | | | | | corrupted image data in a way that does not crash libgpod nor causes the ArtworkDB or PhotoDB to be corrupted. Currently a completely red pixmap is created as a substitute. Somewhat more artistic than I am may want to create a "corrupted image data" pixmap we can imbed into the code. * src/itdb_artwork.c (itdb_thumb_get_gdk_pixbuf): fix failed assertion when image data is illegal. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1341 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-11-263-26/+27
| | | | | | | | | src/itdb_itunesdb.c: removed mhodcount and libmhodcount from Itdb_Playlist as these are only used internally and reset during syncing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1340 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb.hJorg Schuler2006-11-244-14/+39
| | | | | | | | | | | | src/itdb_photoalbum.c (itdb_photodb_add_photo, itdb_photodb_add_photo_from_data, itdb_photodb_photoalbum_add_photo): add 'position' where photo should be inserted. * tests/test-photos.c: implemented new API (append at the end). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1339 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * When adding photos to the iPod the user may or may not want toJorg Schuler2006-11-239-45/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rotate the picture shown on the iPod screen, for example deending on EXIF rotation value. This can now be achieved by passing a new parameter 'rotation' to itdb_photodb_add_photo() or itdb_photodb_add_photo_from_data(). (Valid values: 0, 90, 180, 270, rotation is counter-clockwise). These two functions now also accept a GError pointer. As a consequence Itdb_Thumb had to be extended with a field for the rotation value and itdb_artwork_add_thumbnail have been extended to accept @rotation and @error as well. The actual rotation is carried out in ithumb-writer.c/ithumb_writer_write_thumbnail() using gdk_pixbuf_rotate_simple() and require gdk-pixbuf V2.6 or higher. In contrast, itdb_track_set_thumbnails() and itdb_track_set_thumbnails_from_data have been left unchanged, even though they could be extended to accept @rotation and @error easily. Please let me know if this is wanted. * configure.ac src/itdb.h src/itdb_artwork.c src/itdb_photoalbum.c src/itdb_track.c src/ithumb-writer.c: implemented changes outlined above. * tests/test-photos.c: added @rotation and @error to the itdb_photodb_add_photo() call. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1338 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb_artwork.c: added support for UYVY format for iPod Video andJorg Schuler2006-11-126-67/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | iPod Photo TV output. Code adapted from the GPixPod project. (itdb_thumb_get_byteorder): return the byte order for the current thumbnail (internal function). * itdb_device.[hc]: added thumbnail storage format to the Itdb_ArtworkFormat image information. Currently the following are defined: THUMB_FORMAT_UYVY THUMB_FORMAT_RGB565_LE THUMB_FORMAT_RGB565_BE THUMB_FORMAT_RGB565_BE_90 THUMB_FORMAT_RGB565_LE_90 THUMB_FORMAT_RGB565_LE_90 does not appear to be used by any iPod model. THUMB_FORMAT_RGB565_BE_90 is used for full screen iPod Photo photos but currently is handeled the same as THUMB_FORMAT_RGB565_BE pending input from iPod Photo users. * ithumb-writer.c: added support for UYVY format for iPod Video and iPod Photo TV output. Code adapted from the GPixPod project. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1337 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * ithumb-writer.c (itdb_write_ithumb_files):Jorg Schuler2006-11-122-63/+131
| | | | | | | | | | | | | | | | | | ITDB_THUMB_PHOTO_TV_SCREEN type thumbnails were not "rearranged" (i.e. deleted photos were not removed). (ipod_image_get_ithmb_filename, ithmb_writer_write_thumbnail): changed "F%u04_%d.ithmb" to "F%d_%d.ithmb" as this format string is used by the iPod. NEW: start new thumbnail file F%d_2/3/4... if the size of the current thumbnail file is larger than ITHUMB_MAX_SIZE (currently 500 MB). Existing thumbnail files with a length larger than this will NOT be truncated. Patches are welcome (probably add code at the end of ithumb_rearrange_thumbnail_file()) :-) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1336 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h: Itdb_Artwork:Jorg Schuler2006-11-116-156/+121
| | | | | | | | | | | | | | | | | | | | | | | - added unk028, unk036 and rating - added digitized_data timestamp - changed creation_date from gint32 to guint32 * db-itunes-parser.h: db-artwork-debug.c: MhiiHeader: - renamed unknown5 to rating - renamed digitised_date to digitized_date for conformity * db-artwork-writer.c (write_mhli): sanity check to avoid access of NULL pointer. (write_mhii): write unk028, rating, unk036, digitized_data * db-artwork_parser.c (parse_mhii): - parse unk028, rating, unk036, digitized data. - unified reading of DB_TYPE_PHOTO and DB_TYPE_ITUNES, got rid of parse_mhod() and parse_mhni(). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1335 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * itdb.h:Jorg Schuler2006-11-074-29/+77
| | | | | | | | | | | | | | | | | itdb_itunesdb.c: itdb_track.c: renamed some formerly unknown Itdb_Track entries and added comments: - unk184->pregap - samplecount: guint32 -> guint64. - unk192->(removed) - unk200->postgap - unk208->mediatype - unk212->season_nr - unk216->episode_nr git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1334 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * configure.ac, src/Makefile.am: new soname versioningJorg Schuler2006-10-313-16/+14
| | | | | | | scheme. Thanks to Todd Zullinger and Frank Lichtenheld. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1333 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* * src/itdb_photoalbum.c: fixed typo (Libarary -> Library).Jorg Schuler2006-10-312-4/+9
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1332 f01d2545-417e-4e96-918e-98f8d0dbbcb6
* Fix compiler error/warning. Thanks to Todd Zullinger.Jorg Schuler2006-10-291-2/+3
| | | | git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1331 f01d2545-417e-4e96-918e-98f8d0dbbcb6