J?rg Hohensohn | 1 Apr 07:46 2004
Picon
Picon

cvs: firmware/drivers ata.c,1.113,1.114

Update of /cvsroot/rockbox/firmware/drivers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28449/firmware/drivers

Modified Files:
	ata.c 
Log Message:
patch #922836 by Jens: way faster disk writing, in assembler. The code is in, but yet disabled by #define
PREFER_C_WRITING unless it's proven safe for all disks.

Index: ata.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/ata.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- ata.c	19 Mar 2004 13:26:43 -0000	1.113
+++ ata.c	1 Apr 2004 05:46:31 -0000	1.114
 <at>  <at>  -32,6 +32,8  <at>  <at> 

 /* use plain C code in copy_read_sectors(), instead of tweaked assembler */
 #define PREFER_C /* mystery: assembler caused problems with some disks */
+/* use plain C code in copy_write_sectors(), instead of tweaked assembler */
+#define PREFER_C_WRITING /* we don't know yet about this one */

 #define SECTOR_SIZE     512
 #define ATA_DATA        (*((volatile unsigned short*)0x06104100))
 <at>  <at>  -208,11 +210,9  <at>  <at> 
         "tst     #1,r0       \n"  /* 16-bit aligned ? */
         "bt      .aligned    \n"  /* yes, do word copy */

(Continue reading)

J?rg Hohensohn | 1 Apr 07:48 2004
Picon
Picon

cvs: apps/lang english.lang,1.108,1.109

Update of /cvsroot/rockbox/apps/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28673/apps/lang

Modified Files:
	english.lang 
Log Message:
minor typo

Index: english.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/english.lang,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -b -r1.108 -r1.109
--- english.lang	30 Mar 2004 15:04:14 -0000	1.108
+++ english.lang	1 Apr 2004 05:48:05 -0000	1.109
 <at>  <at>  -220,7 +220,7  <at>  <at> 
 id: LANG_FFRW_ACCEL
 desc: in settings_menu
 eng: "FF/RW Accel"
-voice: "Accelleration"
+voice: "Acceleration"
 new:

 id: LANG_FOLLOW
 <at>  <at>  -1390,7 +1390,7  <at>  <at> 
 id: LANG_MAX_FILES_IN_DIR
 desc: in settings_menu
 eng: "Max files in dir browser"
-voice: "Max files in dir browser"
(Continue reading)

Linus Nielsen Feltzing | 1 Apr 16:07 2004
Picon
Picon

cvs: firmware mpeg.c,1.269,1.270

Update of /cvsroot/rockbox/firmware
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22467/firmware

Modified Files:
	mpeg.c 
Log Message:
Some bug fixes in the recording code. The recorded frames weren't CRC protected as intended, and the first
frame could be incomplete. Also reduced the I2C communication by shadowing the MAS registers.

Index: mpeg.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mpeg.c,v
retrieving revision 1.269
retrieving revision 1.270
diff -u -b -r1.269 -r1.270
--- mpeg.c	30 Mar 2004 08:28:24 -0000	1.269
+++ mpeg.c	1 Apr 2004 14:07:56 -0000	1.270
 <at>  <at>  -16,6 +16,7  <at>  <at> 
  * KIND, either express or implied.
  *
  ****************************************************************************/
+#undef DEBUG
 #include <stdbool.h>
 #include "config.h"
 #include "debug.h"
 <at>  <at>  -304,6 +305,13  <at>  <at> 
 static int prerecording_max_seconds;   /* Max number of seconds to store */
 static int prerecord_count; /* Number of seconds in the prerecord buffer */
 static int prerecord_timeout; /* The tick count of the next prerecord data store */
+
(Continue reading)

J?rg Hohensohn | 3 Apr 22:52 2004
Picon
Picon

cvs: apps talk.c,1.7,1.8

Update of /cvsroot/rockbox/apps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10681/apps

Modified Files:
	talk.c 
Log Message:
Changed concept for voice IDs: the voice-only IDs now are in a separate range, don't generate an empty
language string. This saves memory, but requires a new voice file format with 2 tables.

Index: talk.c
===================================================================
RCS file: /cvsroot/rockbox/apps/talk.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- talk.c	29 Mar 2004 08:19:47 -0000	1.7
+++ talk.c	3 Apr 2004 20:52:22 -0000	1.8
 <at>  <at>  -51,9 +51,10  <at>  <at> 
 struct voicefont /* file format of our "voicefont" */
 {
     int version; /* version of the voicefont */
-    int headersize; /* size of the header, =offset to index */
-    int id_max; /* number of clips contained */
-    struct clip_entry index[]; /* followed by the index table */
+    int table;   /* offset to index table, (=header size) */
+    int id1_max; /* number of "normal" clips contained in above index */
+    int id2_max; /* number of "voice only" clips contained in above index */
+    struct clip_entry index[]; /* followed by the index tables */
     /* and finally the bitswapped mp3 clips, not visible here */
 };
(Continue reading)

J?rg Hohensohn | 3 Apr 22:52 2004
Picon
Picon

cvs: tools genlang,1.11,1.12

Update of /cvsroot/rockbox/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10681/tools

Modified Files:
	genlang 
Log Message:
Changed concept for voice IDs: the voice-only IDs now are in a separate range, don't generate an empty
language string. This saves memory, but requires a new voice file format with 2 tables.

Index: genlang
===================================================================
RCS file: /cvsroot/rockbox/tools/genlang,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- genlang	31 Jan 2003 09:04:34 -0000	1.11
+++ genlang	3 Apr 2004 20:52:24 -0000	1.12
 <at>  <at>  -62,6 +62,7  <at>  <at> 
         $set{$var} = $value;

         if( (($var eq "new") && $value && ($value !~ /^\"(.*)\"\W*$/)) ||
+            (($var eq "voice") && $value && ($value !~ /^\"(.*)\"\W*$/)) ||
             (($var eq "eng") && ($value !~ /^\"(.*)\"\W*$/)) ) {
             print "$input:$line:missing quotes for ".$set{'id'}."\n";
             $errors++;
 <at>  <at>  -75,9 +76,15  <at>  <at> 
                 # if not set, get the english version
                 $value = $set{'eng'};
             }
-
(Continue reading)

Henrik Backe | 4 Apr 18:44 2004
Picon
Picon

cvs: apps bookmark.c,1.12,1.13

Update of /cvsroot/rockbox/apps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv342

Modified Files:
	bookmark.c 
Log Message:
Restore lcd margins after selecting bookmark

Index: bookmark.c
===================================================================
RCS file: /cvsroot/rockbox/apps/bookmark.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- bookmark.c	21 Mar 2004 13:42:18 -0000	1.12
+++ bookmark.c	4 Apr 2004 16:44:40 -0000	1.13
 <at>  <at>  -704,6 +704,12  <at>  <at> 

             case BUTTON_LEFT:
             case BUTTON_OFF:
+#ifdef HAVE_LCD_BITMAP
+                if (global_settings.statusbar)
+                    lcd_setmargins(0, STATUSBAR_HEIGHT);
+                else
+                    lcd_setmargins(0, 0);
+#endif
                 return NULL;
 #else
             case BUTTON_LEFT:

(Continue reading)

J?rg Hohensohn | 4 Apr 21:08 2004
Picon
Picon

cvs: apps/lang english.lang,1.109,1.110

Update of /cvsroot/rockbox/apps/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27676/apps/lang

Modified Files:
	english.lang 
Log Message:
Voice UI: option to spell dirs/files, say (known) extension with file number, minor fixes

Index: english.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/english.lang,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- english.lang	1 Apr 2004 05:48:05 -0000	1.109
+++ english.lang	4 Apr 2004 19:08:44 -0000	1.110
 <at>  <at>  -2427,3 +2427,219  <at>  <at> 
 voice: "folder"
 new:

+id: LANG_VOICE_SPELL
+desc: "talkbox" mode for files+directories
+eng: "Spell"
+voice: "Spell"
+new:
+
+id: VOICE_CHAR_A
+desc: spoken only, for spelling
+eng: ""
+voice: "A"
(Continue reading)

J?rg Hohensohn | 4 Apr 21:09 2004
Picon
Picon

cvs: apps settings.c, 1.196, 1.197 settings_menu.c, 1.137, 1.138 talk.c, 1.8, 1.9 talk.h, 1.3, 1.4 tree.c, 1.238, 1.239

Update of /cvsroot/rockbox/apps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27676/apps

Modified Files:
	settings.c settings_menu.c talk.c talk.h tree.c 
Log Message:
Voice UI: option to spell dirs/files, say (known) extension with file number, minor fixes

Index: settings.c
===================================================================
RCS file: /cvsroot/rockbox/apps/settings.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -b -r1.196 -r1.197
--- settings.c	27 Mar 2004 00:11:01 -0000	1.196
+++ settings.c	4 Apr 2004 19:08:44 -0000	1.197
 <at>  <at>  -1203,13 +1203,13  <at>  <at> 
         }
         else if (!strcasecmp(name, "talk dir"))
         {
-            static char* options[] = {"off", "number", "enter", "hover"};
-            set_cfg_option(&global_settings.talk_dir, value, options, 4);
+            static char* options[] = {"off", "number", "spell", "enter", "hover"};
+            set_cfg_option(&global_settings.talk_dir, value, options, 5);
         }
         else if (!strcasecmp(name, "talk file"))
         {
-            static char* options[] = {"off", "number"};
-            set_cfg_option(&global_settings.talk_dir, value, options, 2);
+            static char* options[] = {"off", "number", "spell"};
(Continue reading)

J?rg Hohensohn | 4 Apr 22:34 2004
Picon
Picon

cvs: uisimulator/common stubs.c,1.41,1.42

Update of /cvsroot/rockbox/uisimulator/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11419/uisimulator/common

Modified Files:
	stubs.c 
Log Message:
warning and simulator build fix

Index: stubs.c
===================================================================
RCS file: /cvsroot/rockbox/uisimulator/common/stubs.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- stubs.c	27 Mar 2004 00:42:32 -0000	1.41
+++ stubs.c	4 Apr 2004 20:34:28 -0000	1.42
 <at>  <at>  -260,4 +260,11  <at>  <at> 
     return 0;
 }

+int talk_spell(char* spell, bool enqueue) 
+{
+    (void)spell;
+    (void)enqueue;
+    return 0;
+}
+
 const char* dir_thumbnail_name = ".dirname.mp3";

_______________________________________________
(Continue reading)

J?rg Hohensohn | 4 Apr 22:34 2004
Picon
Picon

cvs: apps tree.c,1.239,1.240

Update of /cvsroot/rockbox/apps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11419/apps

Modified Files:
	tree.c 
Log Message:
warning and simulator build fix

Index: tree.c
===================================================================
RCS file: /cvsroot/rockbox/apps/tree.c,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -b -r1.239 -r1.240
--- tree.c	4 Apr 2004 19:08:44 -0000	1.239
+++ tree.c	4 Apr 2004 20:34:28 -0000	1.240
 <at>  <at>  -1511,7 +1511,7  <at>  <at> 
                 else if (global_settings.talk_file == 1) /* files as numbers */
                 {
                     /* try to find a voice ID for the extension, if known */
-                    int j;
+                    unsigned int j;
                     int ext_id = -1; /* default to none */
                     for (j=0; j<sizeof(filetypes)/sizeof(*filetypes); j++)
                     {

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

(Continue reading)


Gmane