cvs | 3 Jun 01:53 2004
Picon

amiconn: apps/plugins/lib gray.c,1.5,1.6 gray.h,1.4,1.5

Update of /cvsroot/rockbox/apps/plugins/lib
In directory labb.contactor.se:/var/tmp/cvs-serv2166

Modified Files:
	gray.c gray.h 
Log Message:
Major rework of the grayscale framework:
* api change - all drawing functions now use draw mode, foreground and
  background shades set globally by separate functions
* There are now 4 draw modes for all drawing functions, no more separate
  functions for inverse drawing
* Significant speedup of 1-bit bitmap (and font) drawing (2..3 times)
* Some more speed tweaks
* Additional functions for horizontal and vertical lines
* Copied describing comments to the header file for easier reference
* The safety net against an uninitialized grayscale buffer is gone

Index: gray.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/lib/gray.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gray.c	21 May 2004 20:48:35 -0000	1.5
+++ gray.c	2 Jun 2004 23:53:27 -0000	1.6
 <at>  <at>  -9,6 +9,9  <at>  <at> 
 *
 * Grayscale framework
 *
+* This is a generic framework to use grayscale display within Rockbox
(Continue reading)

cvs | 3 Jun 01:54 2004
Picon

amiconn: apps/plugins grayscale.c,1.7,1.8

Update of /cvsroot/rockbox/apps/plugins
In directory labb.contactor.se:/var/tmp/cvs-serv2200

Modified Files:
	grayscale.c 
Log Message:
Adapted to new grayscale framework

Index: grayscale.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/grayscale.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- grayscale.c	19 May 2004 17:04:08 -0000	1.7
+++ grayscale.c	2 Jun 2004 23:54:18 -0000	1.8
 <at>  <at>  -139,33 +139,41  <at>  <at> 

     time = *rb->current_tick; /* start time measurement */

-    gray_fillrect(0, 0, 111, 55, 150); /* fill everything with gray 150 */
+    gray_set_foreground(150);
+    gray_fillrect(0, 0, 112, 56); /* fill everything with gray 150 */

     /* draw a dark gray line star background */
+    gray_set_foreground(80);
     for (y = 0; y < 56; y += 8)        /* horizontal part */
     {
-        gray_drawline(0, y, 111, 55 - y, 80); /* gray lines */
+        gray_drawline(0, y, 111, 55 - y); /* gray lines */
(Continue reading)

cvs | 3 Jun 10:23 2004
Picon

linus: tools binlang,1.13,1.14 genlang,1.13,1.14

Update of /cvsroot/rockbox/tools
In directory labb.contactor.se:/var/tmp/cvs-serv16570/tools

Modified Files:
	binlang genlang 
Log Message:
binlang and genlang couldn't handle deprecated strings

Index: binlang
===================================================================
RCS file: /cvsroot/rockbox/tools/binlang,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- binlang	21 Apr 2004 06:39:52 -0000	1.13
+++ binlang	3 Jun 2004 08:23:05 -0000	1.14
 <at>  <at>  -70,7 +70,7  <at>  <at> 

             if($value =~ s/^\"(.*)\"\s*$/$1/g) {
                 # Skip voice-only entries
-                if(!$value && $set{'voice'}) {
+                if(!$value && $set{'voice'} ne "\"\"") {
                     $idnum{$set{'id'}} = '_done_';
                     next;
                 }

Index: genlang
===================================================================
RCS file: /cvsroot/rockbox/tools/genlang,v
retrieving revision 1.13
(Continue reading)

cvs | 3 Jun 10:29 2004
Picon

linus: apps/lang english.lang,1.117,1.118

Update of /cvsroot/rockbox/apps/lang
In directory labb.contactor.se:/var/tmp/cvs-serv16970/apps/lang

Modified Files:
	english.lang 
Log Message:
Removed obsolete sokoban string

Index: english.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/english.lang,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -b -r1.117 -r1.118
--- english.lang	23 May 2004 09:03:19 -0000	1.117
+++ english.lang	3 Jun 2004 08:29:09 -0000	1.118
 <at>  <at>  -1262,8 +1262,8  <at>  <at> 
 new:

 id: LANG_SOKOBAN_ON
-desc: how to undo move 
-eng: "[ON] To Undo"
+desc: DEPRECATED
+eng: ""
 voice: ""
 new:

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

(Continue reading)

cvs | 3 Jun 14:10 2004
Picon

linus: firmware/export mpeg.h,1.16,1.17

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/var/tmp/cvs-serv12136/firmware/export

Modified Files:
	mpeg.h 
Log Message:
The Play button now acts as a Pause button during recording instead of opening a new file. The new-file
feature is moved to the F3 button.

Index: mpeg.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/mpeg.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- mpeg.h	15 Jan 2004 15:32:49 -0000	1.16
+++ mpeg.h	3 Jun 2004 12:10:40 -0000	1.17
 <at>  <at>  -85,6 +85,8  <at>  <at> 
 void mpeg_set_recording_gain(int left, int right, bool use_mic);
 unsigned long mpeg_recorded_time(void);
 unsigned long mpeg_num_recorded_bytes(void);
+void mpeg_pause_recording(void);
+void mpeg_resume_recording(void);
 #endif
 void mpeg_get_debugdata(struct mpeg_debug *dbgdata);
 void mpeg_set_buffer_margin(int seconds);

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

(Continue reading)

cvs | 3 Jun 14:10 2004
Picon

linus: apps/recorder recording.c,1.45,1.46

Update of /cvsroot/rockbox/apps/recorder
In directory labb.contactor.se:/var/tmp/cvs-serv12136/apps/recorder

Modified Files:
	recording.c 
Log Message:
The Play button now acts as a Pause button during recording instead of opening a new file. The new-file
feature is moved to the F3 button.

Index: recording.c
===================================================================
RCS file: /cvsroot/rockbox/apps/recorder/recording.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- recording.c	19 Mar 2004 22:15:52 -0000	1.45
+++ recording.c	3 Jun 2004 12:10:39 -0000	1.46
 <at>  <at>  -231,13 +231,22  <at>  <at> 
                     mpeg_record(rec_create_filename(path_buffer));
                     status_set_playmode(STATUS_RECORD);
                     update_countdown = 1; /* Update immediately */
+                    last_seconds = 0;
                 }
                 else
                 {
-                    mpeg_new_file(rec_create_filename(path_buffer));
+                    if(mpeg_status() & MPEG_STATUS_PAUSE)
+                    {
+                        mpeg_resume_recording();
+                        status_set_playmode(STATUS_RECORD);
(Continue reading)

cvs | 3 Jun 14:10 2004
Picon

linus: firmware mpeg.c,1.274,1.275

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv12136/firmware

Modified Files:
	mpeg.c 
Log Message:
The Play button now acts as a Pause button during recording instead of opening a new file. The new-file
feature is moved to the F3 button.

Index: mpeg.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mpeg.c,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -b -r1.274 -r1.275
--- mpeg.c	9 May 2004 09:36:58 -0000	1.274
+++ mpeg.c	3 Jun 2004 12:10:39 -0000	1.275
 <at>  <at>  -48,6 +48,8  <at>  <at> 
 static void start_recording(void);
 static void stop_recording(void);
 static int get_unsaved_space(void);
+static void pause_recording(void);
+static void resume_recording(void);
 #endif /* #ifdef HAVE_MAS3587F */

 #ifndef SIMULATOR
 <at>  <at>  -68,6 +70,8  <at>  <at> 
 #define MPEG_INIT_RECORDING 10
 #define MPEG_INIT_PLAYBACK 11
 #define MPEG_NEW_FILE    12
(Continue reading)

cvs | 3 Jun 21:10 2004
Picon

amiconn: apps/lang deutsch.lang,1.40,1.41

Update of /cvsroot/rockbox/apps/lang
In directory labb.contactor.se:/var/tmp/cvs-serv25112

Modified Files:
	deutsch.lang 
Log Message:
Synced

Index: deutsch.lang
===================================================================
RCS file: /cvsroot/rockbox/apps/lang/deutsch.lang,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- deutsch.lang	23 May 2004 09:03:19 -0000	1.40
+++ deutsch.lang	3 Jun 2004 19:10:25 -0000	1.41
 <at>  <at>  -1249,10 +1249,10  <at>  <at> 
 new: "Blenden bei Stop/Pause"

 id: LANG_SOKOBAN_ON
-desc: how to undo move 
-eng: "[ON] To Undo"
+desc: DEPRECATED
+eng: ""
 voice: ""
-new: "[ON] = Rückgängig"
+new:

 id: LANG_INVERT
 desc: in settings_menu
(Continue reading)

cvs | 4 Jun 12:40 2004
Picon

linus: firmware mpeg.c,1.275,1.276

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv4252/firmware

Modified Files:
	mpeg.c 
Log Message:
The MAS3587F data sheet was wrong about having to validate the pause bit setting by writing to d0:7f1. When I
removed the validation, the MAS doesn't give us corrupt frames when pausing, or at the end of the recording.

Index: mpeg.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mpeg.c,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -b -r1.275 -r1.276
--- mpeg.c	3 Jun 2004 12:10:39 -0000	1.275
+++ mpeg.c	4 Jun 2004 10:40:26 -0000	1.276
 <at>  <at>  -2247,16 +2247,6  <at>  <at> 
     shadow_7f9 |= 2;
     mas_writemem(MAS_BANK_D0, 0x7f9, &shadow_7f9, 1);

-    /* Tell the MAS that something has changed */
-    mas_writemem(MAS_BANK_D0, 0x7f1, &shadow_7f1, 1);
-    DEBUGF("mas_writemem(MAS_BANK_D0, 0x7f1, %x)\n", shadow_7f1);
-    
-    /* Wait until the DSP has accepted the settings */
-    do
-    {
-        mas_readmem(MAS_BANK_D0, 0x7f1, &val,1);
-    } while(val & 1);
(Continue reading)

cvs | 4 Jun 12:45 2004
Picon

linus: firmware mpeg.c,1.276,1.277

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv4624/firmware

Modified Files:
	mpeg.c 
Log Message:
Removed unused variables

Index: mpeg.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mpeg.c,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -b -r1.276 -r1.277
--- mpeg.c	4 Jun 2004 10:40:26 -0000	1.276
+++ mpeg.c	4 Jun 2004 10:45:38 -0000	1.277
 <at>  <at>  -2239,8 +2239,6  <at>  <at> 

 static void pause_recording(void)
 {
-    unsigned long val;
-
     pause_start_time = current_tick;

     /* Set the pause bit */
 <at>  <at>  -2252,8 +2250,6  <at>  <at> 

 static void resume_recording(void)
 {
-    unsigned long val;
(Continue reading)


Gmane