You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(2) |
Apr
(4) |
May
(6) |
Jun
(56) |
Jul
(101) |
Aug
(14) |
Sep
|
Oct
(1) |
Nov
|
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(66) |
Feb
(106) |
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(7) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ny...@us...> - 2006-07-06 18:33:18
|
Revision: 125 Author: nyaochi Date: 2006-07-06 11:33:09 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=125&view=rev Log Message: ----------- Support plan for iriver E10, which employs a totally new database format (4th generation). Modified Paths: -------------- trunk/doc/roadmap.txt Modified: trunk/doc/roadmap.txt =================================================================== --- trunk/doc/roadmap.txt 2006-07-06 18:08:18 UTC (rev 124) +++ trunk/doc/roadmap.txt 2006-07-06 18:33:09 UTC (rev 125) @@ -5,7 +5,7 @@ Note that all plans listed here are subject to change! Version 0.13 -- Add the photo playlist support for iRiver U10/E10. +- Add the photo playlist support for iRiver U10. - Separate the source and destination directories for playlist conversion. Version 0.14 @@ -18,6 +18,8 @@ Long-term plan - Make the JavaScript engine an optional dependency (it's terrible trying to build easypmp without pre-built packages of this) +- Analyze database format (4th generation) used in iriver E10. Implement + database reader/writer for iriver E10. - Support tuner preset conversion. - Replace libid3tag, libogg, libvorbis with taglib. - Prepare a syncronization plugin for foobar2000 (or Winamp???). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-06 18:08:22
|
Revision: 124 Author: sucknblow Date: 2006-07-06 11:08:18 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=124&view=rev Log Message: ----------- Don't include the README file in the Debian package, it doesn't say anything that debian/copyright doesn't. Remove redundant call to dh_installexamples - there are none. Modified Paths: -------------- trunk/debian/rules Removed Paths: ------------- trunk/debian/docs Deleted: trunk/debian/docs =================================================================== --- trunk/debian/docs 2006-07-06 17:01:48 UTC (rev 123) +++ trunk/debian/docs 2006-07-06 18:08:18 UTC (rev 124) @@ -1 +0,0 @@ -README Modified: trunk/debian/rules =================================================================== --- trunk/debian/rules 2006-07-06 17:01:48 UTC (rev 123) +++ trunk/debian/rules 2006-07-06 18:08:18 UTC (rev 124) @@ -69,7 +69,6 @@ dh_testroot dh_installchangelogs ChangeLog dh_installdocs - dh_installexamples dh_install # dh_installmenu dh_installman This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-06 17:01:54
|
Revision: 123 Author: nyaochi Date: 2006-07-06 10:01:48 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=123&view=rev Log Message: ----------- Added ChangeLog entries for version 0.1 to 0.10. Please feel free to revise my English. Modified Paths: -------------- trunk/ChangeLog Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-07-06 11:06:04 UTC (rev 122) +++ trunk/ChangeLog 2006-07-06 17:01:48 UTC (rev 123) @@ -1,7 +1,7 @@ ChangeLog file for pmplib - Changes in 0.12 + Changes in 0.12 (TBD) - Command line options for easypmp have changed (now easier to type). - Easypmp now has a manual page. - Support for Samsung YH-920 added. @@ -15,11 +15,51 @@ - Bug fix for reading playists using iriverplus2 devices. - Information about copyright owners and licenses now more comprehensive. - Changes in 0.11 + Changes in 0.11 (2006-06-06) - POSIX code updated: now works on Linux. -- Bug-fix in playlist conversion for iRiver Plus2 -- Strip words in artist names -- Plugins installed into $(libdir)/pmplib +- Bug-fix in playlist conversion for iRiver Plus2. +- Strip words in artist names. +- Plugins installed into $(libdir)/pmplib. - Debian packaging scripts available (although not policy compliant). -- U10 1.65 supported +- U10 1.65 supported. + Changes in 0.10 (2006-05-25) +- U10 1.64 supported. + + Changes in 0.9 (2006-05-06) +- New JavaScript playlist (JSPL) specification for better flexibility. +- Bug fix for JSPL when database rebuild/update is not specified. +- Support for Samsung YH-820 added. +- Support for Samsung YH-925 added. +- PMPlib now has an official web site (http://pmplib.sourceforge.net/). + + Changes in 0.8 (2006-02-13) +- JavaScript playlist (JSPL) added. +- EasyPMP now utilizes folder/file names to obtain media information. +- Bug fix for playlist conversion using PortalPlayer devices. + + Changes in 0.7 (2006-02-11) +- Support for Medion MDJuke 440 and MDJuke220 added. + + Changes in 0.6 (2006-01-24) +- Bug fix in database writer for iriverplus2 devices. + + Changes in 0.5 (2006-01-09) +- EasyPMP now has Win32 GUI. + + Changes in 0.4 (2006-01-03) +- Update mode for media database and playlist conversion implemented. +- Command line options for EasyPMP have changed. +- License changes (GPL to LGPL) for some DLLs. + + Changes in 0.3 (2006-01-01) +- Support for iriver H10 UMS and MTP players added. +- Playlist conversion for all supported devices implemented. +- Bug fix in database writer for iriverplus2 devices. +- Internal libraries released as dynamic link libraries (DLLs). + + Changes in 0.2 (2006-12-24) +- Support for iriver H100/300 series (aka. iRivNavi.iDB) added. + + Changes in 0.1 (2006-12-23) +- Initial attempt to read/write media database for iriverplus2 devices. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-06 11:06:09
|
Revision: 122 Author: sucknblow Date: 2006-07-06 04:06:04 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=122&view=rev Log Message: ----------- Update FSF address Modified Paths: -------------- trunk/COPYING Modified: trunk/COPYING =================================================================== --- trunk/COPYING 2006-07-05 10:43:25 UTC (rev 121) +++ trunk/COPYING 2006-07-06 11:06:04 UTC (rev 122) @@ -2,7 +2,7 @@ Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -291,7 +291,7 @@ the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> - Copyright (C) 19yy <name of author> + Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -305,7 +305,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. @@ -313,7 +313,7 @@ If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-05 10:43:30
|
Revision: 121 Author: sucknblow Date: 2006-07-05 03:43:25 -0700 (Wed, 05 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=121&view=rev Log Message: ----------- Oh, what a lot of improvements we've made for 0.12. :o) Modified Paths: -------------- trunk/ChangeLog Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-07-05 10:20:27 UTC (rev 120) +++ trunk/ChangeLog 2006-07-05 10:43:25 UTC (rev 121) @@ -5,8 +5,15 @@ - Command line options for easypmp have changed (now easier to type). - Easypmp now has a manual page. - Support for Samsung YH-920 added. +- Support iriver H10 [5GB/6GB] UMS firmware 2.53. +- Store file timestamp in Samsung databases to improve database update. +- Automatically detect local character encoding. +- The --list-devices option now outputs to stdout, rather than stderr. +- Fixed crash when updating databases on Samsung devices. - Fixed crash when reading Ogg Vorbis tags. +- Fixed crash when using --strip-words on files with no artist tag. - Bug fix for reading playists using iriverplus2 devices. +- Information about copyright owners and licenses now more comprehensive. Changes in 0.11 - POSIX code updated: now works on Linux. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-05 10:20:30
|
Revision: 120 Author: sucknblow Date: 2006-07-05 03:20:27 -0700 (Wed, 05 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=120&view=rev Log Message: ----------- Add a build-system TODO Modified Paths: -------------- trunk/doc/roadmap.txt Modified: trunk/doc/roadmap.txt =================================================================== --- trunk/doc/roadmap.txt 2006-07-05 08:46:20 UTC (rev 119) +++ trunk/doc/roadmap.txt 2006-07-05 10:20:27 UTC (rev 120) @@ -16,6 +16,8 @@ - Write documents (build instruction, usage, programing interface, etc.) Long-term plan +- Make the JavaScript engine an optional dependency (it's terrible trying + to build easypmp without pre-built packages of this) - Support tuner preset conversion. - Replace libid3tag, libogg, libvorbis with taglib. - Prepare a syncronization plugin for foobar2000 (or Winamp???). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-05 08:46:27
|
Revision: 119 Author: sucknblow Date: 2006-07-05 01:46:20 -0700 (Wed, 05 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=119&view=rev Log Message: ----------- A rather lame makefile for creating snapshots. Added Paths: ----------- trunk/doc/snapshot Added: trunk/doc/snapshot =================================================================== --- trunk/doc/snapshot (rev 0) +++ trunk/doc/snapshot 2006-07-05 08:46:20 UTC (rev 119) @@ -0,0 +1,69 @@ +# Makefile for generating snapshots +# Run make from the directory above trunk: +# make -f trunk/doc/snapshot <target> +# +# It doesn't work very well yet, but +# the snapshot target should work fine. +BRANCH=trunk +FOO:='/AM_INIT_AUTOMAKE/{s/^[^0-9.]*\([0-9.]\+\))/\1/;p};d' +LASTVER:=$(shell sed $(FOO) $(BRANCH)/configure.in) +SNAPVER:=$(LASTVER).$(shell date +%Y%m%d) +SNAPSHOTS=snapshots + +# Used as destination in scp command +UPLOAD_TO=pmplib-upload:upload + +snapshot-export: + test -d $(SNAPSHOTS) || mkdir -p $(SNAPSHOTS) + rm -rf $(SNAPSHOTS)/pmplib-{snapshot,$(SNAPVER)} + svn export $(BRANCH) $(SNAPSHOTS)/pmplib-snapshot + +snapshot-version: + sed -i "s/\(AM_INIT_AUTOMAKE[^0-9.]*\)[0-9.]\+\(.*\)/\1$(SNAPVER)\2/" \ + $(SNAPSHOTS)/pmplib-snapshot/configure.in && \ + sed -i "s/\(#define[ \t]*VERSION_S[ \t]*\).*/\1\"$(SNAPVER) snapshot\"/" \ + $(SNAPSHOTS)/pmplib-snapshot/frontend/easypmp/cui/main.c && \ + cd $(SNAPSHOTS)/pmplib-snapshot && \ + dch -v $(SNAPVER)-1 "Auto-generated snapshot version" && \ + cd + +snapshot-dist: + cd $(SNAPSHOTS)/pmplib-snapshot && \ + ./autogen.sh && \ + ./configure && \ + make distcheck + +snapshot: snapshot-export snapshot-version snapshot-dist + mkdir -p $(SNAPSHOTS)/$(SNAPVER){,/debian} + cp $(SNAPSHOTS)/pmplib-snapshot/pmplib-$(SNAPVER).tar.gz \ + $(SNAPSHOTS)/$(SNAPVER) + +snapshot-upload: snapshot + scp $(SNAPSHOTS)/$(SNAPVER)/pmplib-$(SNAPVER).tar.gz $(UPLOAD_TO) + +debian-src-snapshot: snapshot + cp $(SNAPSHOTS)/pmplib-snapshot/pmplib-$(SNAPVER).tar.gz \ + $(SNAPSHOTS)/$(SNAPVER)/debian/pmplib_$(SNAPVER).orig.tar.gz + cd $(SNAPSHOTS)/$(SNAPVER)/debian && \ + tar -zxf pmplib_$(SNAPVER).orig.tar.gz + cp -r $(SNAPSHOTS)/pmplib-snapshot/debian \ + $(SNAPSHOTS)/$(SNAPVER)/debian/pmplib-$(SNAPVER) + cd $(SNAPSHOTS)/$(SNAPVER)/debian && dpkg-source -b pmplib-$(SNAPVER) + rm -r $(SNAPSHOTS)/$(SNAPVER)/debian/pmplib-$(SNAPVER) + +debian-snapshot: debian-src-snapshot + sudo pbuilder build \ + --buildresult $(SNAPSHOTS)/$(SNAPVER)/debian \ + $(SNAPSHOTS)/$(SNAPVER)/debian/pmplib_$(SNAPVER)-1.dsc + +debian-src-snapshot-upload: debian-src-snapshot snapshot-upload + scp $(SNAPSHOTS)/$(SNAPVER)/debian/* $(UPLOAD_TO) + +man2html: + sed '/AUTHOR/,//d' trunk/frontend/easypmp/cui/easypmp.1 | \ + man2html | \ + sed '1,2d; /^$$/d' > easypmp.html + echo -e "H\n/<A/\ns/<A.*//\n/\ns\nka\n/index/,/This.doc/-1m\nw" | \ + ed easypmp.html + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-05 03:18:04
|
Revision: 118 Author: nyaochi Date: 2006-07-04 20:18:00 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=118&view=rev Log Message: ----------- [Samsung players only] Use PP1DB_DATFIELD_UNKNOWN4 (#14) field to store timestamps (last-modified time) of media files. I forgot to test the possibility of using this field for storing timestamps. In other words, the update mode for Samsung players had not been implemented properly. Although this field seems to be unused (set to zero), this change might cause a trouble to players if this field were actually used. Modified Paths: -------------- trunk/lib/pmp_portalplayer1/model_samsung.c Modified: trunk/lib/pmp_portalplayer1/model_samsung.c =================================================================== --- trunk/lib/pmp_portalplayer1/model_samsung.c 2006-07-04 15:02:28 UTC (rev 117) +++ trunk/lib/pmp_portalplayer1/model_samsung.c 2006-07-05 03:18:00 UTC (rev 118) @@ -110,7 +110,7 @@ dst->fields[PP1DB_DATFIELD_YEAR].value.dword = ucs2toi(src->date); } dst->fields[PP1DB_DATFIELD_FILESIZE].value.dword = src->filesize; - dst->fields[PP1DB_DATFIELD_UNKNOWN4].value.dword = 0; + dst->fields[PP1DB_DATFIELD_UNKNOWN4].value.dword = src->ts_update; dst->fields[PP1DB_DATFIELD_UNKNOWN5].value.str = ucs2dup(ucs2cs_empty); dst->fields[PP1DB_DATFIELD_UNKNOWN6].value.str = ucs2dup(ucs2cs_empty); dst->fields[PP1DB_DATFIELD_UNKNOWN7].value.str = ucs2dup(ucs2cs_empty); @@ -159,6 +159,7 @@ itoucs2(src->fields[PP1DB_DATFIELD_YEAR].value.dword, tmp, 10); dst->date = ucs2dup(tmp); dst->filesize = src->fields[PP1DB_DATFIELD_FILESIZE].value.dword; + dst->ts_update = src->fields[PP1DB_DATFIELD_UNKNOWN4].value.dword; return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-04 15:02:35
|
Revision: 117 Author: sucknblow Date: 2006-07-04 08:02:28 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=117&view=rev Log Message: ----------- Fix crash bug when using --update option on samsung devices. The duration of the track seems to be stored as a dword, but we were treating it as a ucs2 string. #0 0xb7f482ff in ucs2len (string=0x49) at ucs2char.c:75 #1 0xb7f48c6e in ucs2dupmbs (ucs2str=0x47) at ucs2char.c:389 #2 0xb7f48fc7 in ucs2toi (str=0x47) at ucs2char_iconv.c:148 #3 0xb7b92145 in samsung_dat_get (dst=0x8082698, src=0x806b428, path_to_root=0x8076010) at model_samsung.c:142 Modified Paths: -------------- trunk/lib/pmp_portalplayer1/model_samsung.c Modified: trunk/lib/pmp_portalplayer1/model_samsung.c =================================================================== --- trunk/lib/pmp_portalplayer1/model_samsung.c 2006-07-04 14:39:38 UTC (rev 116) +++ trunk/lib/pmp_portalplayer1/model_samsung.c 2006-07-04 15:02:28 UTC (rev 117) @@ -139,7 +139,7 @@ dst->bitrate = src->fields[PP1DB_DATFIELD_BITRATE].value.dword; dst->sample_rate = src->fields[PP1DB_DATFIELD_SAMPLERATE].value.dword; - dst->duration = ucs2toi(src->fields[PP1DB_DATFIELD_DURATION].value.str); + dst->duration = src->fields[PP1DB_DATFIELD_DURATION].value.dword; dst->artist = ucs2dup(src->fields[PP1DB_DATFIELD_ARTIST].value.str); dst->album = ucs2dup(src->fields[PP1DB_DATFIELD_ALBUM].value.str); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-04 14:39:51
|
Revision: 116 Author: nyaochi Date: 2006-07-04 07:39:38 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=116&view=rev Log Message: ----------- Supported iriver H10 [5GB/6GB] UMS firmware 2.53. Modified Paths: -------------- trunk/lib/pmp_portalplayer1/hdr_template.h trunk/lib/pmp_portalplayer1/model_iriver_h10.c trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c Modified: trunk/lib/pmp_portalplayer1/hdr_template.h =================================================================== --- trunk/lib/pmp_portalplayer1/hdr_template.h 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/hdr_template.h 2006-07-04 14:39:38 UTC (rev 116) @@ -59,7 +59,7 @@ int apply_template(hdr_t* hdr, const hdr_template_t* tmpl); int compare_version(const char *x, const char *y); -int hdr_init_h10_5gb_ums_0205_0252(hdr_t* hdr); +int hdr_init_h10_5gb_ums_0205_0253(hdr_t* hdr); int hdr_init_h10_5gb_mtp_0203_0210(hdr_t* hdr); int hdr_init_h10_5gb_mtp_0251(hdr_t* hdr); int hdr_init_h10_20gb_mtp_0100_0102(hdr_t* hdr); Modified: trunk/lib/pmp_portalplayer1/model_iriver_h10.c =================================================================== --- trunk/lib/pmp_portalplayer1/model_iriver_h10.c 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/model_iriver_h10.c 2006-07-04 14:39:38 UTC (rev 116) @@ -273,17 +273,17 @@ {8, 12, 268, 524, 528, 608, 688, 768, 808, 812, 816, 820, 824, 828, 832, 836, 840, 844, 848, 852, 932, 936}; -/********** H10 5GB/6GB UMS firmware 2.05-2.52 **********/ -static hdr_template_t hdrtmpl_h10_5gb_ums_0205_0252 = { +/********** H10 5GB/6GB UMS firmware 2.05-2.53 **********/ +static hdr_template_t hdrtmpl_h10_5gb_ums_0205_0253 = { 0, 0, "System\\DATA\\H10DB.dat", 1, "System\\DATA\\H10DB.hdr", 0x00000428, 0, 0, 22, hdrtmpl_fd_h10_ums, hdrtmpl_max_dat_field_size_h10_ums, 0, 0, {206148, 22, 4000, 1032, 0, iriver_h10_dat_repr, iriver_h10_dat_set, iriver_h10_dat_get}, }; -int hdr_init_h10_5gb_ums_0205_0252(hdr_t* hdr) +int hdr_init_h10_5gb_ums_0205_0253(hdr_t* hdr) { - return apply_template(hdr, &hdrtmpl_h10_5gb_ums_0205_0252); + return apply_template(hdr, &hdrtmpl_h10_5gb_ums_0205_0253); } Modified: trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c =================================================================== --- trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c 2006-07-04 14:39:38 UTC (rev 116) @@ -64,12 +64,12 @@ static const pp1model_descriptor_t g_model_descriptions[] = { { - "iriver_h10_5/6gb_ums_2.04-2.52", "H10 5GB/6GB UMS", + "iriver_h10_5/6gb_ums_2.04-2.53", "H10 5GB/6GB UMS", 5, "UM", - "2.04", "2.52", + "2.04", "2.53", "System\\H10.mi4", "System\\DATA\\H10DB.hdr", "Media\\Music\\", "Media\\Playlist\\", ".plp", - hdr_init_h10_5gb_ums_0205_0252, iriver_h10_parse_model + hdr_init_h10_5gb_ums_0205_0253, iriver_h10_parse_model }, { "iriver_h10pure_5/6gb_ums_2.04-2.51", "H10Pure 5GB/6GB UMS", @@ -77,7 +77,7 @@ "2.04", "2.51", "System\\H10_5GP.mi4", "System\\DATA\\H10DB.hdr", "Media\\Music\\", "Media\\Playlist\\", ".plp", - hdr_init_h10_5gb_ums_0205_0252, iriver_h10_parse_model + hdr_init_h10_5gb_ums_0205_0253, iriver_h10_parse_model }, { "iriver_h10_5/6gb_mtp_2.03-2.10", "H10 5GB/6GB MTP", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-03 19:10:32
|
Revision: 115 Author: sucknblow Date: 2006-07-03 12:10:22 -0700 (Mon, 03 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=115&view=rev Log Message: ----------- Add a watch file - used to automatically detect when a newer source tarball is available on sourceforge. Not really useful for us, but Debian policy recommends including the file. Added Paths: ----------- trunk/debian/watch Added: trunk/debian/watch =================================================================== --- trunk/debian/watch (rev 0) +++ trunk/debian/watch 2006-07-03 19:10:22 UTC (rev 115) @@ -0,0 +1,3 @@ +# See uscan(1) for format +version=3 +http://sf.net/pmplib/pmplib-(.*)\.tar\.gz This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-03 18:05:59
|
Revision: 114 Author: sucknblow Date: 2006-07-03 11:05:50 -0700 (Mon, 03 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=114&view=rev Log Message: ----------- Kester's problem seems to be caused by using --strip-words in conjuction with an mp3 file that has some tags, but no artist tag. This lead to a null pointer being dereferenced: #0 0xb7fe28c3 in ucs2incmp (x=0x0, y=0x8062df8, n=7) at ucs2char.c:198 #1 0xb7fdc83e in gmi_get (info=0x97c5728, filename=0xbfdf1f00, path_to_music=0x806b190, flag=Variable "flag" is not available. ) at gmi.c:226 #2 0x08049784 in easypmp_database (fl=0xbfdf9004, pmp=0x8068f00, opt=0xbfdf3f5c, ptr_records=0xbfdf9010, ptr_num_records=0xbfdf900c, progress=0x804af00 <easypmp_progress>, instance=0x0) at ../common/database.c:194 #3 0x0804b67d in main (argc=5, argv=0xbfdf90b4) at main.c:330 Modified Paths: -------------- trunk/lib/gmi/gmi.c Modified: trunk/lib/gmi/gmi.c =================================================================== --- trunk/lib/gmi/gmi.c 2006-07-03 06:57:30 UTC (rev 113) +++ trunk/lib/gmi/gmi.c 2006-07-03 18:05:50 UTC (rev 114) @@ -220,7 +220,7 @@ } /* Strip specific words in artist names. */ - if ((flag & GMIF_STRIP_ARTIST) && strip_words) { + if ((flag & GMIF_STRIP_ARTIST) && strip_words && info->artist) { int i; for (i = 0;i < num_strip_words;++i) { if (ucs2incmp(info->artist, strip_words[i], ucs2len(strip_words[i])) == 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-03 06:57:43
|
Revision: 113 Author: nyaochi Date: 2006-07-02 23:57:30 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=113&view=rev Log Message: ----------- -l/--list-devices option to output to STDOUT. Modified Paths: -------------- trunk/frontend/easypmp/cui/device.c Modified: trunk/frontend/easypmp/cui/device.c =================================================================== --- trunk/frontend/easypmp/cui/device.c 2006-07-02 21:19:28 UTC (rev 112) +++ trunk/frontend/easypmp/cui/device.c 2006-07-03 06:57:30 UTC (rev 113) @@ -75,7 +75,7 @@ ucs2char_t ucs2cs_empty[] = {0}; pmphelp_create(pmphelp, &pmp, ucs2cs_empty, devid); - device_show_information(pmp, stderr); + device_show_information(pmp, stdout); fprintf(stderr, "\n"); pmp->release(pmp); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-02 21:19:32
|
Revision: 112 Author: sucknblow Date: 2006-07-02 14:19:28 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=112&view=rev Log Message: ----------- Use the new FSF address. Modified Paths: -------------- trunk/README trunk/debian/copyright Modified: trunk/README =================================================================== --- trunk/README 2006-07-02 21:01:53 UTC (rev 111) +++ trunk/README 2006-07-02 21:19:28 UTC (rev 112) @@ -31,8 +31,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA The following notice applies to the libraries found in the lib/pmp_portalplayer1, lib/pmp_iriverplus2, lib/pmp_irivnavi, Modified: trunk/debian/copyright =================================================================== --- trunk/debian/copyright 2006-07-02 21:01:53 UTC (rev 111) +++ trunk/debian/copyright 2006-07-02 21:19:28 UTC (rev 112) @@ -35,8 +35,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA On Debian systems the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL'. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-02 21:01:58
|
Revision: 111 Author: sucknblow Date: 2006-07-02 14:01:53 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=111&view=rev Log Message: ----------- Clarify copyright information Modified Paths: -------------- trunk/README trunk/debian/copyright Modified: trunk/README =================================================================== --- trunk/README 2006-07-02 13:08:55 UTC (rev 110) +++ trunk/README 2006-07-02 21:01:53 UTC (rev 111) @@ -10,10 +10,12 @@ The programs that comprise PMPLib are released under the GNU General Public License (GPL). These may be found in the frontend directory. -The library for retrieving tags from music files in the lib/gmi -directory is also licensed under the GNU General Public License. -The following text applies to the programs and the gmi library. +The support library for these frontends in the lib/pmp directory, and +the library for retrieving tags from music files in the lib/gmi +directory are also licensed under the GNU General Public License. +The following text applies to the programs and the pmp and gmi +libraries. Copyright (c) 2005-2006 Nyaochi <ny...@ny...> Copyright (c) 2006 Martin Ellis <mar...@kd...> @@ -32,7 +34,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -The following notice applies to the libraries found in the lib/pmp, +The following notice applies to the libraries found in the lib/pmp_portalplayer1, lib/pmp_iriverplus2, lib/pmp_irivnavi, lib/ucs2, lib/filepath, and lib/playlist directories. @@ -53,3 +55,31 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +The following notice applies to the rel2abs.c file in the lib/filepath +directory. + +Copyright (c) 1997 Shigio Yamaguchi. All rights reserved. +Copyright (c) 1999 Tama Communications Corporation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. Modified: trunk/debian/copyright =================================================================== --- trunk/debian/copyright 2006-07-02 13:08:55 UTC (rev 110) +++ trunk/debian/copyright 2006-07-02 21:01:53 UTC (rev 111) @@ -11,22 +11,91 @@ Copyright: - Copyright (C) 2006 Nyaochi <ny...@ny...> - Copyright (C) 2006 Martin Ellis <mar...@kd...> +The programs that comprise PMPLib are released under the GNU General +Public License (GPL). These may be found in the frontend directory of +the source distribution. The support library for these frontends in +the lib/pmp directory, and the library for retrieving tags from music +files in the lib/gmi directory are also licensed under the GNU General +Public License. - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. +The following text applies to the programs and the pmp and gmi +libraries. + Copyright (c) 2005-2006 Nyaochi <ny...@ny...> + Copyright (c) 2006 Martin Ellis <mar...@kd...> - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA + On Debian systems the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL'. + +The following notice applies to the libraries found in the +lib/pmp_portalplayer1, lib/pmp_iriverplus2, lib/pmp_irivnavi, +lib/ucs2, lib/filepath, and lib/playlist directories. + + Copyright (c) 2005-2006 Nyaochi <ny...@ny...> + Copyright (c) 2006 Martin Ellis <mar...@kd...> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +The following notice applies to the rel2abs.c file in the lib/filepath +directory. + +Copyright (c) 1997 Shigio Yamaguchi. All rights reserved. +Copyright (c) 1999 Tama Communications Corporation. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +The Debian packaging is + Copyright (c) 2006 Martin Ellis <mar...@kd...> +and is licensed under the GPL, see above. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 13:09:14
|
Revision: 110 Author: nyaochi Date: 2006-07-02 06:08:55 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=110&view=rev Log Message: ----------- reduced warnings Modified Paths: -------------- trunk/frontend/easypmp/common/database.c trunk/include/gmi.h trunk/lib/gmi/gmi.c Modified: trunk/frontend/easypmp/common/database.c =================================================================== --- trunk/frontend/easypmp/common/database.c 2006-07-02 12:37:13 UTC (rev 109) +++ trunk/frontend/easypmp/common/database.c 2006-07-02 13:08:55 UTC (rev 110) @@ -50,8 +50,10 @@ return (uint32_t)time(NULL); } -static int comp_filename(const pmp_record_t *x, const pmp_record_t *y) +static int comp_filename(const void *_x, const void *_y) { + const pmp_record_t *x = (const pmp_record_t*)_x; + const pmp_record_t *y = (const pmp_record_t*)_y; return COMP_STR(x->filename, y->filename); } Modified: trunk/include/gmi.h =================================================================== --- trunk/include/gmi.h 2006-07-02 12:37:13 UTC (rev 109) +++ trunk/include/gmi.h 2006-07-02 13:08:55 UTC (rev 110) @@ -57,7 +57,7 @@ const ucs2char_t *filename, const ucs2char_t* path_to_music, int flag, - const ucs2char_t** strip_words, + ucs2char_t **strip_words, int num_strip_words ); Modified: trunk/lib/gmi/gmi.c =================================================================== --- trunk/lib/gmi/gmi.c 2006-07-02 12:37:13 UTC (rev 109) +++ trunk/lib/gmi/gmi.c 2006-07-02 13:08:55 UTC (rev 110) @@ -192,7 +192,7 @@ const ucs2char_t *filename, const ucs2char_t* path_to_music, int flag, - const ucs2char_t* strip_words[], + ucs2char_t **strip_words, int num_strip_words ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 12:37:18
|
Revision: 109 Author: nyaochi Date: 2006-07-02 05:37:13 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=109&view=rev Log Message: ----------- Updated the configure script for nl_langinfo() Modified Paths: -------------- trunk/configure.in Added Paths: ----------- trunk/m4/codeset.m4 Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2006-07-02 12:26:56 UTC (rev 108) +++ trunk/configure.in 2006-07-02 12:37:13 UTC (rev 109) @@ -150,6 +150,7 @@ dnl Check for iconv library AM_ICONV +AM_LANGINFO_CODESET dnl Checks for id3tag AC_ARG_WITH( Added: trunk/m4/codeset.m4 =================================================================== --- trunk/m4/codeset.m4 (rev 0) +++ trunk/m4/codeset.m4 2006-07-02 12:37:13 UTC (rev 109) @@ -0,0 +1,21 @@ +# codeset.m4 serial AM1 (gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Bruno Haible. + +AC_DEFUN([AM_LANGINFO_CODESET], +[ + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, + [AC_TRY_LINK([#include <langinfo.h>], + [char* cs = nl_langinfo(CODESET);], + am_cv_langinfo_codeset=yes, + am_cv_langinfo_codeset=no) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE(HAVE_LANGINFO_CODESET, 1, + [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) + fi +]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 12:27:00
|
Revision: 108 Author: nyaochi Date: 2006-07-02 05:26:56 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=108&view=rev Log Message: ----------- Added automatic detection of the current encoding used in a system. Modified Paths: -------------- trunk/frontend/easypmp/cui/option.c Modified: trunk/frontend/easypmp/cui/option.c =================================================================== --- trunk/frontend/easypmp/cui/option.c 2006-07-02 12:04:58 UTC (rev 107) +++ trunk/frontend/easypmp/cui/option.c 2006-07-02 12:26:56 UTC (rev 108) @@ -36,6 +36,10 @@ #include <direct.h> /* getcwd() */ #endif/*_MSC_VER*/ +#ifdef HAVE_LANGINFO_CODESET +#include <langinfo.h> +#endif + #include <ucs2char.h> #include <filepath.h> #include <gmi.h> @@ -101,6 +105,18 @@ easypmp_set_strip_words(opt, ucs2str); } +static char *get_default_encoding() +{ + const char *encoding = getenv("CHARSET"); + +#ifdef HAVE_LANGINFO_CODESET + if (!encoding) { + encoding = nl_langinfo(CODESET); + } +#endif + return encoding ? strdup(encoding) : strdup("UTF-8"); +} + void option_init(option_t* opt) { memset(opt, 0, sizeof(*opt)); @@ -108,6 +124,8 @@ // Set default values here. opt->media_info_source |= (GMIF_TAG | GMIF_STRIP_ARTIST); set_strip_words(opt, "the "); + opt->system_encoding = get_default_encoding(); + opt->music_encoding = get_default_encoding(); } void option_finish(option_t* opt) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 12:05:08
|
Revision: 107 Author: nyaochi Date: 2006-07-02 05:04:58 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=107&view=rev Log Message: ----------- Added initialization interface for option_t. Modified Paths: -------------- trunk/frontend/easypmp/cui/main.c trunk/frontend/easypmp/cui/option.c trunk/frontend/easypmp/cui/option.h trunk/frontend/easypmp/win32gui/easypmp_win32gui.vcproj Modified: trunk/frontend/easypmp/cui/main.c =================================================================== --- trunk/frontend/easypmp/cui/main.c 2006-07-02 11:51:36 UTC (rev 106) +++ trunk/frontend/easypmp/cui/main.c 2006-07-02 12:04:58 UTC (rev 107) @@ -204,6 +204,9 @@ setlocale(LC_ALL, ""); + // Initialize option values. + option_init(&opt); + // Show copyright information. fprintf(fpe, APPLICATION_S " " VERSION_S " " COPYRIGHT_S "\n"); fprintf(fpe, "\n"); @@ -348,6 +351,7 @@ pmp->release(pmp); pmphelp_finish(pmphelp); + option_finish(&opt); return ret; @@ -360,5 +364,6 @@ pmphelp_finish(pmphelp); pmphelp = NULL; } + option_finish(&opt); return ret; } Modified: trunk/frontend/easypmp/cui/option.c =================================================================== --- trunk/frontend/easypmp/cui/option.c 2006-07-02 11:51:36 UTC (rev 106) +++ trunk/frontend/easypmp/cui/option.c 2006-07-02 12:04:58 UTC (rev 107) @@ -101,15 +101,32 @@ easypmp_set_strip_words(opt, ucs2str); } -int option_parse(option_t* opt, int argc, char *argv[], FILE *fpe) +void option_init(option_t* opt) { - int used_args = 0; - memset(opt, 0, sizeof(*opt)); + // Set default values here. opt->media_info_source |= (GMIF_TAG | GMIF_STRIP_ARTIST); set_strip_words(opt, "the "); +} +void option_finish(option_t* opt) +{ + int i; + + for (i = 0;i < opt->num_strip_words;++i) { + ucs2free(opt->strip_words[i]); + } + ucs2free(opt->strip_words); + free(opt->system_encoding); + free(opt->music_encoding); + memset(opt, 0, sizeof(*opt)); +} + +int option_parse(option_t* opt, int argc, char *argv[], FILE *fpe) +{ + int used_args = 0; + /* Parse the command-line arguments. */ for (;;) { int this_option_optind = optind ? optind : 1; Modified: trunk/frontend/easypmp/cui/option.h =================================================================== --- trunk/frontend/easypmp/cui/option.h 2006-07-02 11:51:36 UTC (rev 106) +++ trunk/frontend/easypmp/cui/option.h 2006-07-02 12:04:58 UTC (rev 107) @@ -25,7 +25,9 @@ #ifndef __OPTION_H__ #define __OPTION_H__ +void option_init(option_t* opt); +void option_finish(option_t* opt); +int option_parse(option_t* opt, int argc, char *argv[], FILE *fpe); void option_usage(FILE *fp, const char *argv0); -int option_parse(option_t* opt, int argc, char *argv[], FILE *fpe); #endif/*__OPTION_H__*/ Modified: trunk/frontend/easypmp/win32gui/easypmp_win32gui.vcproj =================================================================== --- trunk/frontend/easypmp/win32gui/easypmp_win32gui.vcproj 2006-07-02 11:51:36 UTC (rev 106) +++ trunk/frontend/easypmp/win32gui/easypmp_win32gui.vcproj 2006-07-02 12:04:58 UTC (rev 107) @@ -201,6 +201,9 @@ <File RelativePath=".\res\processing.ico"> </File> + <File + RelativePath=".\res\queuing.ico"> + </File> </Filter> <Filter Name="common"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 11:51:42
|
Revision: 106 Author: nyaochi Date: 2006-07-02 04:51:36 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=106&view=rev Log Message: ----------- I was surprised to see that the code did not use the character encodings specified by -w and -e options. The previous code was fixed to CP932 (Shift_JIS Japanese) encoding, which is compatible with US-ASCII. Modified Paths: -------------- trunk/frontend/easypmp/cui/main.c trunk/frontend/easypmp/cui/option.c Modified: trunk/frontend/easypmp/cui/main.c =================================================================== --- trunk/frontend/easypmp/cui/main.c 2006-07-02 11:21:46 UTC (rev 105) +++ trunk/frontend/easypmp/cui/main.c 2006-07-02 11:51:36 UTC (rev 106) @@ -217,11 +217,11 @@ #ifndef _WIN32 if (opt.system_encoding) { + set_encoding(opt.system_encoding); } - set_encoding("CP932"); if (opt.music_encoding) { + set_encoding_music(opt.music_encoding); } - set_encoding_music("CP932"); #endif/*_WIN32*/ /* Obtain the path to root directory (path_to_root) from the command line if any. */ Modified: trunk/frontend/easypmp/cui/option.c =================================================================== --- trunk/frontend/easypmp/cui/option.c 2006-07-02 11:21:46 UTC (rev 105) +++ trunk/frontend/easypmp/cui/option.c 2006-07-02 11:51:36 UTC (rev 106) @@ -203,9 +203,11 @@ break; #ifndef _WIN32 case 'e': - opt->system_encoding = optarg; + free(opt->system_encoding); + opt->system_encoding = strdup(optarg); break; case 'w': + free(opt->music_encoding); opt->music_encoding = optarg; break; #endif/*_WIN32*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 11:21:53
|
Revision: 105 Author: nyaochi Date: 2006-07-02 04:21:46 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=105&view=rev Log Message: ----------- Added a missing file. Modified Paths: -------------- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc Added Paths: ----------- trunk/frontend/easypmp/win32gui/res/queuing.ico Modified: trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc =================================================================== --- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-07-02 11:16:45 UTC (rev 104) +++ trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-07-02 11:21:46 UTC (rev 105) @@ -51,7 +51,7 @@ // remains consistent on all systems. IDR_MAINFRAME ICON "res\\easypmp_win32gui.ico" IDI_PROCESSING ICON "res\\processing.ico" -IDI_QUEUING ICON "res\\icon1.ico" +IDI_QUEUING ICON "res\\queuing.ico" #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// Added: trunk/frontend/easypmp/win32gui/res/queuing.ico =================================================================== (Binary files differ) Property changes on: trunk/frontend/easypmp/win32gui/res/queuing.ico ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 11:16:50
|
Revision: 104 Author: nyaochi Date: 2006-07-02 04:16:45 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=104&view=rev Log Message: ----------- Fixed a build problem (ssize_t -> size_t). Modified Paths: -------------- trunk/frontend/easypmp/common/enumerate.c Modified: trunk/frontend/easypmp/common/enumerate.c =================================================================== --- trunk/frontend/easypmp/common/enumerate.c 2006-07-02 02:38:18 UTC (rev 103) +++ trunk/frontend/easypmp/common/enumerate.c 2006-07-02 11:16:45 UTC (rev 104) @@ -95,7 +95,7 @@ enumerate_dat_t ed; // Decode the music path prefix for system path separators - ssize_t prefix_length = ucs2len(pmp->env.path_to_music.path); + size_t prefix_length = ucs2len(pmp->env.path_to_music.path); ucs2char_t *music_path = alloca(sizeof(ucs2char_t) * (prefix_length + 1)); ucs2cpy(music_path, pmp->env.path_to_music.path); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-02 02:38:22
|
Revision: 103 Author: sucknblow Date: 2006-07-01 19:38:18 -0700 (Sat, 01 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=103&view=rev Log Message: ----------- Add -d and -l to command synopsis. Modified Paths: -------------- trunk/frontend/easypmp/cui/easypmp.1 Modified: trunk/frontend/easypmp/cui/easypmp.1 =================================================================== --- trunk/frontend/easypmp/cui/easypmp.1 2006-07-02 02:35:37 UTC (rev 102) +++ trunk/frontend/easypmp/cui/easypmp.1 2006-07-02 02:38:18 UTC (rev 103) @@ -18,9 +18,11 @@ .B easypmp .RB [ -c | -u "] [" -p "] [" -m "] [" -R " [" -L .IR level "] ]" +.RB [ -d +.IR device-id ] .RI [ mount-point ] .br -.BR "easypmp " [ -h | -v ] +.BR "easypmp " [ -h | -v | -l ] .SH DESCRIPTION \fBeasypmp\fP is a command line utility used to create and maintain the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-02 02:35:45
|
Revision: 102 Author: sucknblow Date: 2006-07-01 19:35:37 -0700 (Sat, 01 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=102&view=rev Log Message: ----------- Document the --list-device and --device options. Modified Paths: -------------- trunk/frontend/easypmp/cui/easypmp.1 Modified: trunk/frontend/easypmp/cui/easypmp.1 =================================================================== --- trunk/frontend/easypmp/cui/easypmp.1 2006-07-02 01:29:23 UTC (rev 101) +++ trunk/frontend/easypmp/cui/easypmp.1 2006-07-02 02:35:37 UTC (rev 102) @@ -50,6 +50,8 @@ expects to find music and playlists on that device. If the device is not recognised, an error message to this effect is shown. +For a quick introduction on how to use \fBeasypmp\fP, see the +\fBEXAMPLES\fP section below. .SH DEVICE SUPPORT \fBeasypmp\fP currently only works with media players that can be @@ -87,7 +89,7 @@ .SH OPTIONS \fBeasypmp\fP follows the usual GNU command line syntax, with long options starting with two dashes (`-'). -.\"A summary of options is included below." +A summary of options is included below. .TP .B \-c, \-\-create Create a new music database from scratch. The music files in the @@ -99,7 +101,7 @@ .TP .B \-u, \-\-update Update the music database stored on the device. This is similar to -the \fB-d\fP option, with the exception that, when an entry for a +the \fB-c\fP option, with the exception that, when an entry for a given music file already exists in the database stored on the device, the meta-data already stored in the database is not updated. @@ -145,6 +147,21 @@ depends on the type of media player in use. Currently, the only values of \fIlevel\fP that may produce different results are 0 and 1. .TP +.B \-l, \-\-list-device +Shows the list of supported devices. This includes the names of the +directories where music and playlists are expected to be found and the +playlist extension used by each device. The list also includes the +`device identifier' for each device. For more information on the +device identifier, see the \fB-d\fR option. +.TP +.B \-d \fIdevice\-id\fP, \-\-device=\fIdevice\-id\fP +Specifies a device identifier for the player. The device identifier +is used to determine where \fBeasypmp\fP looks for music files and +playlists, and the location and format of the database that it +creates. It is not normally necessary to specify the device +identifier because it is normally detected automatically, based on the +names of system files and directories on the device. +.TP .B \-h, \-\-help Show summary of options. .TP @@ -161,10 +178,10 @@ If \fBeasypmp\fP supports your device, this will show the paths where music and playlists should be copied to, prior to creating the -database. Once music and playlists have been copied into these +database. Once music and playlists have been copied into these directories, the music database can be constructed as follows: -.B easypmp -D /media/sda +.B easypmp -c /media/sda Note that, if the current directory is the mount point. it is not necessary to specify this on the command line. Therefore, when @@ -172,11 +189,18 @@ mount point directory first, in order to avoid having to specify it repeatedly. +After adding or removing tracks from the media player, the database no +longer reflect the files stored on the device. The database can be +updated, without reading tags for files that already exist in the +database: + +.B easypmp -u /media/sda + .br .SH AUTHOR -\fBeasypmp\fP was written by Nyaochi <nyaochi@ny...@sa...>. who -also wrote an initial POSIX port using the Cygwin environment. +\fBeasypmp\fP was written by Nyaochi <nyaochi@ny...@sa...>, +who also wrote an initial POSIX port using the Cygwin environment. This manual page was written by Martin Ellis -<mar...@kd...>, who also updated the POSIX port to improve -portability. +<mar...@kd...>, who also contributed bug fixes for the +POSIX port. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Martin E. <m.a...@nc...> - 2006-07-02 01:30:53
|
On Sunday 02 July 2006 02:22, suc...@us... wrote: > warnings-- > > Mostly removing warnings due to memset/memcpy/etc. being declared > implicitly due to not including string.h. The remaining warnings > might want some attention. Mental note: vc-mode in emacs doesn't work in any sensible way :o( Sorry. Martin |