mailer | 1 Aug 2009 15:20
Favicon

teru: r22091 - trunk/apps/plugins

Date: 2009-08-01 15:20:20 +0200 (Sat, 01 Aug 2009)
New Revision: 22091

Log Message:
pegbox: Fix bug it restarts the level when user choosed "Resume Game" in the menu.
Simplify menu.

Modified:
   trunk/apps/plugins/pegbox.c

Modified: trunk/apps/plugins/pegbox.c
===================================================================
--- trunk/apps/plugins/pegbox.c	2009-07-30 18:33:17 UTC (rev 22090)
+++ trunk/apps/plugins/pegbox.c	2009-08-01 13:20:20 UTC (rev 22091)
 <at>  <at>  -44,7 +44,7  <at>  <at> 
 #define PLAYER    7

 #if CONFIG_KEYPAD == RECORDER_PAD
-#define PEGBOX_SAVE     BUTTON_ON
+#define PEGBOX_SELECT   BUTTON_ON
 #define PEGBOX_QUIT     BUTTON_OFF
 #define PEGBOX_RESTART  BUTTON_F2
 #define PEGBOX_LVL_UP   BUTTON_F1
 <at>  <at>  -54,14 +54,14  <at>  <at> 
 #define PEGBOX_RIGHT    BUTTON_RIGHT
 #define PEGBOX_LEFT     BUTTON_LEFT

-#define SAVE_TEXT "ON"
+#define SELECT_TEXT "ON"
 #define QUIT_TEXT "OFF"
(Continue reading)

mailer | 1 Aug 2009 15:42
Favicon

gevaerts: r22092 - trunk/manual/plugins

Date: 2009-08-01 15:42:51 +0200 (Sat, 01 Aug 2009)
New Revision: 22092

Log Message:
Add png viewer plugin documentation

Author: Christophe Gouiran
Flyspray: FS#10475

Added:
   trunk/manual/plugins/pngviewer.tex
Modified:
   trunk/manual/plugins/main.tex

Modified: trunk/manual/plugins/main.tex
===================================================================
--- trunk/manual/plugins/main.tex	2009-08-01 13:20:20 UTC (rev 22091)
+++ trunk/manual/plugins/main.tex	2009-08-01 13:42:51 UTC (rev 22092)
 <at>  <at>  -137,6 +137,8  <at>  <at> 

 \opt{lcd_bitmap}{\opt{swcodec}{\input{plugins/mpegplayer.tex}}}

+\opt{lcd_bitmap}{\opt{lcd_color}{\input{plugins/pngviewer.tex}}}
+
 \opt{lcd_color}{\input{plugins/ppmviewer.tex}}

 \opt{recorder,recorderv2fm,ondio}{\input{plugins/rockbox_flash.tex}}

Added: trunk/manual/plugins/pngviewer.tex
===================================================================
(Continue reading)

mailer | 1 Aug 2009 16:58
Favicon

bertrik: r22093 - in trunk/firmware: . target/arm/s5l8700/yps3

Date: 2009-08-01 16:58:52 +0200 (Sat, 01 Aug 2009)
New Revision: 22093

Log Message:
Samsung YP-S3: implement button driver for the touch keys (and the hold/power switch)

Added:
   trunk/firmware/target/arm/s5l8700/yps3/button-yps3.c
Modified:
   trunk/firmware/SOURCES

Modified: trunk/firmware/SOURCES
===================================================================
--- trunk/firmware/SOURCES	2009-08-01 13:42:51 UTC (rev 22092)
+++ trunk/firmware/SOURCES	2009-08-01 14:58:52 UTC (rev 22093)
 <at>  <at>  -1412,12 +1412,11  <at>  <at> 

 #ifdef SAMSUNG_YPS3
 /* TODO: currently including all files for the bootloader DFU test program */
-drivers/generic_i2c.c
-drivers/mcs3080.c
 target/arm/s5l8700/adc-s5l8700.c
 target/arm/s5l8700/i2c-s5l8700.c
 target/arm/s5l8700/kernel-s5l8700.c
 target/arm/s5l8700/timer-s5l8700.c
+target/arm/s5l8700/yps3/button-yps3.c
 target/arm/s5l8700/yps3/lcd-yps3.c
 target/arm/s5l8700/yps3/fmradio-i2c-yps3.c
 target/arm/s5l8700/yps3/backlight-yps3.c

(Continue reading)

mailer | 1 Aug 2009 17:23
Favicon

kugel: r22094 - trunk/apps

Date: 2009-08-01 17:23:06 +0200 (Sat, 01 Aug 2009)
New Revision: 22094

Log Message:
Fix FS#10478 - Used wrong directory in Browse theme files by explicitely setting current[] to '\0' in an
else case.

current[] was used unitialized, so browsing themes actually used current[] from a previous call to rockbox_browse()

Modified:
   trunk/apps/tree.c

Modified: trunk/apps/tree.c
===================================================================
--- trunk/apps/tree.c	2009-08-01 14:58:52 UTC (rev 22093)
+++ trunk/apps/tree.c	2009-08-01 15:23:06 UTC (rev 22094)
 <at>  <at>  -956,7 +956,9  <at>  <at> 
                     global_settings.fmr_file);
         }
 #endif
-        
+        else /* reset current[] */
+            current[0] = '\0';
+
         /* If we've found a file to center on, do it */
         if (current[0] == '/')
         {

_______________________________________________
rockbox-cvs mailing list
(Continue reading)

mailer | 1 Aug 2009 17:41
Favicon

kkurbjun: r22095 - in trunk/firmware: drivers target/arm/tms320dm320

Date: 2009-08-01 17:41:40 +0200 (Sat, 01 Aug 2009)
New Revision: 22095

Log Message:
M:Robe 500/M66591: Add support for full-speed USB transfers, and fix the UART interrupt clearing.

Modified:
   trunk/firmware/drivers/m66591.c
   trunk/firmware/target/arm/tms320dm320/uart-dm320.c

Modified: trunk/firmware/drivers/m66591.c
===================================================================
--- trunk/firmware/drivers/m66591.c	2009-08-01 15:23:06 UTC (rev 22094)
+++ trunk/firmware/drivers/m66591.c	2009-08-01 15:41:40 UTC (rev 22095)
 <at>  <at>  -41,6 +41,11  <at>  <at> 
 /*******************************************************************************
  *  These are the driver specific defines.
  ******************************************************************************/
+
+/* This define is primarily intended for testing, using HISPEED all the time
+ *  should be acceptable since the defice should down-train if the host does not
+ *  support HISPEED.
+ */
 #define HISPEED

 /* Right now sending blocks till the full transfer has completed, this needs to
 <at>  <at>  -134,24 +139,43  <at>  <at> 
 }
 #endif

(Continue reading)

mailer | 1 Aug 2009 18:06
Favicon

mcuelenaere: r22096 - trunk/firmware/target/mips/ingenic_jz47xx

Date: 2009-08-01 18:06:41 +0200 (Sat, 01 Aug 2009)
New Revision: 22096

Log Message:
Ingenic Jz4740 timer driver: fix stupid mistake

Modified:
   trunk/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c

Modified: trunk/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c
===================================================================
--- trunk/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c	2009-08-01 15:41:40 UTC (rev 22095)
+++ trunk/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c	2009-08-01 16:06:41 UTC (rev 22096)
 <at>  <at>  -49,7 +49,7  <at>  <at> 
     /* Increase prescale values starting from 0 to make the cycle count fit */
     while(divider > 65535 && prescaler <= 1024)
     {
-        prescaler >>= 2; /* 1, 4, 16, 64, 256, 1024 */
+        prescaler <<= 2; /* 1, 4, 16, 64, 256, 1024 */
         prescaler_bit++;
         divider = cycles / prescaler;
     }

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs

mailer | 1 Aug 2009 18:07
Favicon

mcuelenaere: r22097 - trunk/apps/plugins/doom

Date: 2009-08-01 18:07:03 +0200 (Sat, 01 Aug 2009)
New Revision: 22097

Log Message:
Doom: prevent division by zero

Modified:
   trunk/apps/plugins/doom/rockdoom.c

Modified: trunk/apps/plugins/doom/rockdoom.c
===================================================================
--- trunk/apps/plugins/doom/rockdoom.c	2009-08-01 16:06:41 UTC (rev 22096)
+++ trunk/apps/plugins/doom/rockdoom.c	2009-08-01 16:07:03 UTC (rev 22097)
 <at>  <at>  -714,7 +714,10  <at>  <at> 

    rb->lcd_clear_display();

-   systemvol= rb->global_settings->volume-rb-≥global_settings->volume%((rb->sound_max(SOUND_VOLUME)-rb-≥sound_min(SOUND_VOLUME))/15);
+   int mod = (rb->sound_max(SOUND_VOLUME)-rb-≥sound_min(SOUND_VOLUME))/15;
+   if(mod == 0)
+       mod = rb->global_settings->volume;
+   systemvol= rb->global_settings->volume-rb-≥global_settings->volume;
    general_translucency = default_translucency;                    // phares

    backlight_force_on();

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
(Continue reading)

mailer | 1 Aug 2009 18:10
Favicon

mcuelenaere: r22098 - trunk/apps/plugins/doom

Date: 2009-08-01 18:10:25 +0200 (Sat, 01 Aug 2009)
New Revision: 22098

Log Message:
Doom: re-add the missing modulus operation I removed in r22097

Modified:
   trunk/apps/plugins/doom/rockdoom.c

Modified: trunk/apps/plugins/doom/rockdoom.c
===================================================================
--- trunk/apps/plugins/doom/rockdoom.c	2009-08-01 16:07:03 UTC (rev 22097)
+++ trunk/apps/plugins/doom/rockdoom.c	2009-08-01 16:10:25 UTC (rev 22098)
 <at>  <at>  -717,7 +717,7  <at>  <at> 
    int mod = (rb->sound_max(SOUND_VOLUME)-rb-≥sound_min(SOUND_VOLUME))/15;
    if(mod == 0)
        mod = rb->global_settings->volume;
-   systemvol= rb->global_settings->volume-rb-≥global_settings->volume;
+   systemvol= rb->global_settings->volume-rb-≥global_settings->volume%mod;
    general_translucency = default_translucency;                    // phares

    backlight_force_on();

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs

mailer | 1 Aug 2009 19:13
Favicon

bertrik: r22099 - trunk/firmware/target/arm/s5l8700/yps3

Date: 2009-08-01 19:13:47 +0200 (Sat, 01 Aug 2009)
New Revision: 22099

Log Message:
Samsung YP-S3: implement headphones detection

Modified:
   trunk/firmware/target/arm/s5l8700/yps3/button-yps3.c

Modified: trunk/firmware/target/arm/s5l8700/yps3/button-yps3.c
===================================================================
--- trunk/firmware/target/arm/s5l8700/yps3/button-yps3.c	2009-08-01 16:10:25 UTC (rev 22098)
+++ trunk/firmware/target/arm/s5l8700/yps3/button-yps3.c	2009-08-01 17:13:47 UTC (rev 22099)
 <at>  <at>  -48,6 +48,9  <at>  <at> 
     /* P0.5/P1.0 power switch input */
     PCON0 &= ~(3 << 10);    
     PCON1 &= ~0x0000000F;
+    
+    /* P1.3 headphones detect input */
+    PCON1 &= ~0x0000F000;

     /* P1.5 DATA, P1.6 DRDY inputs (touch key controller) */
     PCON1 &= ~0x0FF00000; 
 <at>  <at>  -144,3 +147,8  <at>  <at> 
     return (PDAT4 & (1 << 3));
 }

+bool headphones_inserted(void)
+{
+    return ((PDAT1 & (1 << 3)) == 0);
(Continue reading)

mailer | 1 Aug 2009 19:27
Favicon

bertrik: r22100 - in trunk/firmware: export target/arm/s5l8700/yps3

Date: 2009-08-01 19:27:22 +0200 (Sat, 01 Aug 2009)
New Revision: 22100

Log Message:
Samsung YP-S3: implement button lights

Modified:
   trunk/firmware/export/config-yps3.h
   trunk/firmware/target/arm/s5l8700/yps3/backlight-yps3.c

Modified: trunk/firmware/export/config-yps3.h
===================================================================
--- trunk/firmware/export/config-yps3.h	2009-08-01 17:13:47 UTC (rev 22099)
+++ trunk/firmware/export/config-yps3.h	2009-08-01 17:27:22 UTC (rev 22100)
 <at>  <at>  -72,8 +72,14  <at>  <at> 
    should be defined as well. */
 //#define HAVE_LCD_SLEEP

+/* We have button lights */
+#define HAVE_BUTTON_LIGHT
+
 #define CONFIG_KEYPAD MEIZU_M3_PAD

+/* We have headphone detection */
+#define HAVE_HEADPHONE_DETECTION
+
 //#define AB_REPEAT_ENABLE 1
 //#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE

Modified: trunk/firmware/target/arm/s5l8700/yps3/backlight-yps3.c
(Continue reading)


Gmane