cvs | 1 Feb 2005 02:24
Picon
Favicon

amiconn: tools genlang,1.17,1.18

Update of /cvsroot/rockbox/tools
In directory labb:/tmp/cvs-serv14045/tools

Modified Files:
	genlang 
Log Message:
Bug fix: The trailing null byte wasn't added when there was whitespace after the closing quote in the .lang
file, leading to garbled strings when doing non-english builds. Thanks to quelsaruk for tracking this down.

Index: genlang
===================================================================
RCS file: /cvsroot/rockbox/tools/genlang,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- genlang	31 Jan 2005 00:34:32 -0000	1.17
+++ genlang	1 Feb 2005 01:23:58 -0000	1.18
 <at>  <at>  -91,7 +91,7  <at>  <at> 
             }
             else {
                 push  <at> hfile, $set{'id'};
-                $value =~ s/\"$/\\0\"/;
+                $value =~ s/^\"(.*)\"\W*$/\"$1\\0\"/;
                 print CFILE "    $value\n";
             }

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

(Continue reading)

cvs | 1 Feb 2005 02:35
Picon
Favicon

amiconn: tools uplang,1.5,1.6

Update of /cvsroot/rockbox/tools
In directory labb:/tmp/cvs-serv14306/tools

Modified Files:
	uplang 
Log Message:
Bug fixes & enhancements: (1) Don't change voice: strings back to english just because they are different.
They are supposed to be that way. (2) Instead, put a comment and set voice: back to english if one of the
following conditions are met: (2a) It's a voice only id, and the description changed (2b) It's a standard
id, the eng: string changed, and the english and/or translated voice: string is not empty. (3) Append new
ids in the same order as they appear in english.lang, for better maintenance.

Index: uplang
===================================================================
RCS file: /cvsroot/rockbox/tools/uplang,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- uplang	30 Mar 2004 15:07:17 -0000	1.5
+++ uplang	1 Feb 2005 01:35:17 -0000	1.6
 <at>  <at>  -8,7 +8,7  <at>  <at> 
     exit;
 }

-my %ids;
+my %ids,  <at> ids;
 open(ENG, "<$ARGV[0]");
 while(<ENG>) {
     if($_ =~ /^ *\#/) {
 <at>  <at>  -29,6 +29,7  <at>  <at> 
(Continue reading)

cvs | 1 Feb 2005 02:51
Picon
Favicon

quelsaruk: apps/lang espanol.lang,1.17,1.18

Update of /cvsroot/rockbox/apps/lang
In directory labb:/tmp/cvs-serv8033

Modified Files:
	espanol.lang 
Log Message:
Fixed Deprecated strings

Index: espanol.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/espanol.lang,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- espanol.lang	31 Jan 2005 23:01:58 -0000	1.17
+++ espanol.lang	1 Feb 2005 01:51:44 -0000	1.18
 <at>  <at>  -243,7 +243,7  <at>  <at> 
 desc: DEPRECATED
 eng: ""
 voice: ""
-new: ""  
+new:

 id: LANG_SCROLL_MENU
 desc: in display_settings_menu()
 <at>  <at>  -315,7 +315,7  <at>  <at> 
 desc: DEPRECATED
 eng: ""
 voice: ""
-new: "" 
(Continue reading)

cvs | 1 Feb 2005 15:22
Picon
Favicon

zagor: apps dbtree.c,1.12,1.13 dbtree.h,1.6,1.7

Update of /cvsroot/rockbox/apps
In directory labb:/tmp/cvs-serv4781

Modified Files:
	dbtree.c dbtree.h 
Log Message:
Added an <All songs> virtual folder to artist album list

Index: dbtree.h
===================================================================
RCS file: /cvsroot/rockbox/apps/dbtree.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dbtree.h	27 Jan 2005 22:21:07 -0000	1.6
+++ dbtree.h	1 Feb 2005 14:22:27 -0000	1.7
 <at>  <at>  -22,7 +22,7  <at>  <at> 
 #include "tree.h"

 enum table { invalid, root, allsongs, allalbums, allartists,
-             albums4artist, songs4album,
+             albums4artist, songs4album, songs4artist,
              search, searchartists, searchalbums, searchsongs };

 int db_init(void);

Index: dbtree.c
===================================================================
RCS file: /cvsroot/rockbox/apps/dbtree.c,v
retrieving revision 1.12
(Continue reading)

cvs | 1 Feb 2005 15:22
Picon
Favicon

zagor: apps/lang english.lang,1.144,1.145

Update of /cvsroot/rockbox/apps/lang
In directory labb:/tmp/cvs-serv4781/lang

Modified Files:
	english.lang 
Log Message:
Added an <All songs> virtual folder to artist album list

Index: english.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/english.lang,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- english.lang	31 Jan 2005 00:39:20 -0000	1.144
+++ english.lang	1 Feb 2005 14:22:27 -0000	1.145
 <at>  <at>  -2986,3 +2986,8  <at>  <at> 
 voice: "Free diskspace:"
 new:

+id: LANG_ID3DB_ALL_SONGS
+desc: ID3 virtual folder name
+eng: "<All songs>"
+voice: ""
+new:

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

(Continue reading)

cvs | 1 Feb 2005 19:00
Picon
Favicon

amiconn: firmware powermgmt.c,1.59,1.60

Update of /cvsroot/rockbox/firmware
In directory labb:/tmp/cvs-serv32697/firmware

Modified Files:
	powermgmt.c 
Log Message:
Only reset battery level if battery type really changed.

Index: powermgmt.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/powermgmt.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- powermgmt.c	30 Jan 2005 16:25:46 -0000	1.59
+++ powermgmt.c	1 Feb 2005 18:00:15 -0000	1.60
 <at>  <at>  -121,8 +121,10  <at>  <at> 

 void set_battery_type(int type)
 {
-    battery_type = type;
-    battery_level_cached = -1; /* reset on type change */
+    if (type != battery_type) {
+        battery_type = type;
+        battery_level_cached = -1; /* reset on type change */
+    }
 }
 #endif

_______________________________________________
(Continue reading)

cvs | 1 Feb 2005 20:00
Picon
Favicon

amiconn: tools uplang,1.6,1.7

Update of /cvsroot/rockbox/tools
In directory labb:/tmp/cvs-serv30075/tools

Modified Files:
	uplang 
Log Message:
Keep comments other than the special ### comments.

Index: uplang
===================================================================
RCS file: /cvsroot/rockbox/tools/uplang,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- uplang	1 Feb 2005 01:35:17 -0000	1.6
+++ uplang	1 Feb 2005 19:00:37 -0000	1.7
 <at>  <at>  -37,13 +37,24  <at>  <at> 
 close(ENG);

 undef %set;
+my $cblock = 1;
 open(NEW, "<$ARGV[1]");
 while(<NEW>) {
+    $_ =~ s/\r//g;
+
     if($_ =~ /^ *\#/) {
         # comment
+        if($_ !~ /^ *\#\#\#/) {
+            # no special ### comment -> keep it
+            if(!$cblock) {
(Continue reading)

cvs | 1 Feb 2005 20:01
Picon
Favicon

amiconn: apps/lang deutsch.lang,1.62,1.63

Update of /cvsroot/rockbox/apps/lang
In directory labb:/tmp/cvs-serv30112/apps/lang

Modified Files:
	deutsch.lang 
Log Message:
Synced.

Index: deutsch.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/deutsch.lang,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- deutsch.lang	31 Jan 2005 01:25:19 -0000	1.62
+++ deutsch.lang	1 Feb 2005 19:01:23 -0000	1.63
 <at>  <at>  -316,7 +316,7  <at>  <at> 
 desc: DEPRECATED
 eng: ""
 voice: ""
-new:
+new: 

 id: LANG_DECAY
 desc: in sound_settings
 <at>  <at>  -695,7 +695,7  <at>  <at> 
 eng: "PLAY=Reset"
 voice: ""
[...997 lines suppressed...]
 id: LANG_STEREO_WIDTH
(Continue reading)

cvs | 2 Feb 2005 10:07
Picon
Favicon

zagor: apps dbtree.c,1.13,1.14

Update of /cvsroot/rockbox/apps
In directory labb:/tmp/cvs-serv32475

Modified Files:
	dbtree.c 
Log Message:
Forgot to add playing <All songs> list...

Index: dbtree.c
===================================================================
RCS file: /cvsroot/rockbox/apps/dbtree.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- dbtree.c	1 Feb 2005 14:22:27 -0000	1.13
+++ dbtree.c	2 Feb 2005 09:07:24 -0000	1.14
 <at>  <at>  -271,7 +271,7  <at>  <at> 

         case songs4artist:
             /* 'extra' is offset to the artist, used as filter */
-            offset = songstart;
+            offset = songstart + c->firstpos * (songlen + 12);
             itemcount = songcount;
             stringlen = songlen;
             break;
 <at>  <at>  -507,6 +507,7  <at>  <at> 

         case allsongs:
         case songs4album:
+        case songs4artist:
(Continue reading)

cvs | 2 Feb 2005 16:38
Picon
Favicon

jyp: firmware/drivers button.c,1.69,1.70

Update of /cvsroot/rockbox/firmware/drivers
In directory labb:/tmp/cvs-serv8595/firmware/drivers

Modified Files:
	button.c 
Log Message:
Added ON button support for gmini

Index: button.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/button.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- button.c	27 Jan 2005 11:53:13 -0000	1.69
+++ button.c	2 Feb 2005 15:38:56 -0000	1.70
 <at>  <at>  -480,7 +480,10  <at>  <at> 
     else if (adc_read(6) < 0x300)
         btn |= BUTTON_MENU;

-
+    data = P7;
+    if (data & 0x01)
+        btn |= BUTTON_ON;
+    
 #endif /* CONFIG_KEYPAD */

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

(Continue reading)


Gmane