mailer | 1 May 05:18 2009

dreamlayers: r20834 - trunk/firmware

Date: 2009-05-01 05:18:20 +0200 (Fri, 01 May 2009)
New Revision: 20834

Log Message:
Fix another FS#10130 issue - Set backlight and button light brightness via the backlight thread to avoid
potential concurrency issues.

Modified:
   trunk/firmware/backlight.c

Modified: trunk/firmware/backlight.c
===================================================================
--- trunk/firmware/backlight.c	2009-04-30 19:52:34 UTC (rev 20833)
+++ trunk/firmware/backlight.c	2009-05-01 03:18:20 UTC (rev 20834)
 <at>  <at>  -64,6 +64,9  <at>  <at> 
     BACKLIGHT_ON,
     BACKLIGHT_OFF,
     BACKLIGHT_TMO_CHANGED,
+#ifdef HAVE_BACKLIGHT_BRIGHTNESS
+    BACKLIGHT_BRIGHTNESS_CHANGED,
+#endif
 #ifdef HAVE_REMOTE_LCD
     REMOTE_BACKLIGHT_ON,
     REMOTE_BACKLIGHT_OFF,
 <at>  <at>  -79,7 +82,10  <at>  <at> 
     BUTTON_LIGHT_ON,
     BUTTON_LIGHT_OFF,
     BUTTON_LIGHT_TMO_CHANGED,
+#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
+    BUTTON_LIGHT_BRIGHTNESS_CHANGED,
(Continue reading)

mailer | 1 May 23:35 2009

bluebrother: r20835 - in trunk/rbutil: ipodpatcher rbutilqt/base sansapatcher

Date: 2009-05-01 23:35:06 +0200 (Fri, 01 May 2009)
New Revision: 20835

Log Message:
Make sure the global buffers for ipodpatcher and sansapatcher get allocated and freed only once. Fixes
segfaults when the bootloader install class was instanciated multiple times.

Modified:
   trunk/rbutil/ipodpatcher/ipodpatcher.c
   trunk/rbutil/rbutilqt/base/bootloaderinstallipod.cpp
   trunk/rbutil/rbutilqt/base/bootloaderinstallsansa.cpp
   trunk/rbutil/sansapatcher/sansapatcher.c

Modified: trunk/rbutil/ipodpatcher/ipodpatcher.c
===================================================================
--- trunk/rbutil/ipodpatcher/ipodpatcher.c	2009-05-01 03:18:20 UTC (rev 20834)
+++ trunk/rbutil/ipodpatcher/ipodpatcher.c	2009-05-01 21:35:06 UTC (rev 20835)
 <at>  <at>  -50,7 +50,7  <at>  <at> 

 int ipod_verbose = 0;

-unsigned char* ipod_sectorbuf;
+unsigned char* ipod_sectorbuf = NULL;

 /* The following string appears at the start of the firmware partition */
 static const char *apple_stop_sign = "{{~~  /-----\\   "\

Modified: trunk/rbutil/rbutilqt/base/bootloaderinstallipod.cpp
===================================================================
--- trunk/rbutil/rbutilqt/base/bootloaderinstallipod.cpp	2009-05-01 03:18:20 UTC (rev 20834)
(Continue reading)

mailer | 2 May 01:24 2009

unhelpful: r20836 - in trunk/apps: . plugins plugins/jpeg recorder

Date: 2009-05-02 01:24:23 +0200 (Sat, 02 May 2009)
New Revision: 20836

Log Message:
Add core JPEG reader, adapted from the JPEG plugin's decoder, with some changes to prevent include conflicts between the two decoders.


Added:
   trunk/apps/plugins/test_core_jpeg.c
   trunk/apps/recorder/jpeg_common.h
   trunk/apps/recorder/jpeg_load.c
   trunk/apps/recorder/jpeg_load.h
Modified:
   trunk/apps/SOURCES
   trunk/apps/plugin.c
   trunk/apps/plugin.h
   trunk/apps/plugins/jpeg/jpeg_decoder.h
   trunk/apps/plugins/viewers.config

Modified: trunk/apps/SOURCES
===================================================================
--- trunk/apps/SOURCES	2009-05-01 21:35:06 UTC (rev 20835)
+++ trunk/apps/SOURCES	2009-05-01 23:24:23 UTC (rev 20836)
 <at>  <at>  -89,6 +89,7  <at>  <at> 
 #if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
 gui/backdrop.c
 recorder/resize.c
+recorder/jpeg_load.c
 #endif
 
(Continue reading)

mailer | 2 May 01:31 2009

unhelpful: r20837 - in trunk/apps: . recorder

Date: 2009-05-02 01:31:43 +0200 (Sat, 02 May 2009)
New Revision: 20837

Log Message:
Search for, and load, JPEG album art files.

Modified:
   trunk/apps/buffering.c
   trunk/apps/recorder/albumart.c

Modified: trunk/apps/buffering.c
===================================================================
--- trunk/apps/buffering.c	2009-05-01 23:24:23 UTC (rev 20836)
+++ trunk/apps/buffering.c	2009-05-01 23:31:43 UTC (rev 20837)
 <at>  <at>  -53,6 +53,7  <at>  <at> 
 #include "metadata.h"
 #ifdef HAVE_ALBUMART
 #include "albumart.h"
+#include "jpeg_load.h"
 #endif

 #define GUARD_BUFSIZE   (32*1024)
 <at>  <at>  -830,9 +831,10  <at>  <at> 
 /* Given a file descriptor to a bitmap file, write the bitmap data to the
    buffer, with a struct bitmap and the actual data immediately following.
    Return value is the total size (struct + data). */
-static int load_bitmap(int fd)
+static int load_image(int fd, const char *path)
 {
     int rc;
(Continue reading)

mailer | 2 May 01:46 2009

unhelpful: r20838 - trunk/apps/recorder

Date: 2009-05-02 01:46:51 +0200 (Sat, 02 May 2009)
New Revision: 20838

Log Message:
Fix AA search for file with same basename to test all extensions.

Modified:
   trunk/apps/recorder/albumart.c

Modified: trunk/apps/recorder/albumart.c
===================================================================
--- trunk/apps/recorder/albumart.c	2009-05-01 23:31:43 UTC (rev 20837)
+++ trunk/apps/recorder/albumart.c	2009-05-01 23:46:51 UTC (rev 20838)
 <at>  <at>  -153,8 +153,14  <at>  <at> 
     /* the first file we look for is one specific to the track playing */
     strip_extension(path, sizeof(path) - strlen(size_string) - 4, trackname);
     strcat(path, size_string);
+#if LCD_DEPTH > 1
+    strcat(path, ".");
+    pathlen = strlen(path);
+    found = try_exts(path, pathlen);
+#else
     strcat(path, ".bmp");
     found = file_exists(path);
+#endif
     if (!found && albumlen > 0)
     {
         /* if it doesn't exist,

_______________________________________________
(Continue reading)

mailer | 2 May 04:39 2009

unhelpful: r20839 - trunk/apps/plugins/lib

Date: 2009-05-02 04:39:13 +0200 (Sat, 02 May 2009)
New Revision: 20839

Log Message:
Add read_jpeg_* to feature_wrappers.h, add import-from-core for jpeg_load.c on mono targets.

Added:
   trunk/apps/plugins/lib/pluginlib_jpeg_load.c
Modified:
   trunk/apps/plugins/lib/SOURCES
   trunk/apps/plugins/lib/feature_wrappers.h

Modified: trunk/apps/plugins/lib/SOURCES
===================================================================
--- trunk/apps/plugins/lib/SOURCES	2009-05-01 23:46:51 UTC (rev 20838)
+++ trunk/apps/plugins/lib/SOURCES	2009-05-02 02:39:13 UTC (rev 20839)
 <at>  <at>  -12,6 +12,7  <at>  <at> 
 */
 #if LCD_DEPTH == 1
 pluginlib_resize.c
+pluginlib_jpeg_load.c
 #endif
 grey_core.c
 grey_draw.c

Modified: trunk/apps/plugins/lib/feature_wrappers.h
===================================================================
--- trunk/apps/plugins/lib/feature_wrappers.h	2009-05-01 23:46:51 UTC (rev 20838)
+++ trunk/apps/plugins/lib/feature_wrappers.h	2009-05-02 02:39:13 UTC (rev 20839)
 <at>  <at>  -32,6 +32,8  <at>  <at> 
(Continue reading)

mailer | 2 May 05:47 2009

unhelpful: r20840 - in trunk/apps: . plugins/lib

Date: 2009-05-02 05:47:46 +0200 (Sat, 02 May 2009)
New Revision: 20840

Log Message:
Add read_<image>_fd functions to plugin API, add feature_wrappers.h handling for them, and add
read_image.[ch] wrapper for reading image files with automatic type detection.

Added:
   trunk/apps/plugins/lib/read_image.c
   trunk/apps/plugins/lib/read_image.h
Modified:
   trunk/apps/plugin.c
   trunk/apps/plugin.h
   trunk/apps/plugins/lib/SOURCES
   trunk/apps/plugins/lib/feature_wrappers.h

Modified: trunk/apps/plugin.c
===================================================================
--- trunk/apps/plugin.c	2009-05-02 02:39:13 UTC (rev 20839)
+++ trunk/apps/plugin.c	2009-05-02 03:47:46 UTC (rev 20840)
 <at>  <at>  -643,9 +643,13  <at>  <at> 
 	lcd_pal256_update_pal,
 #endif
 #endif
-#if defined(HAVE_LCD_BITMAP) && LCD_DEPTH > 1
+#ifdef HAVE_LCD_BITMAP
+#if LCD_DEPTH > 1
     read_jpeg_file,
+    read_jpeg_fd,
 #endif
(Continue reading)

mailer | 2 May 06:06 2009

unhelpful: r20841 - trunk/apps/plugins

Date: 2009-05-02 06:06:49 +0200 (Sat, 02 May 2009)
New Revision: 20841

Log Message:
PictureFlow JPEG AA support for all non-mono targets (mono targets will need overlay for this).

Modified:
   trunk/apps/plugins/pictureflow.c

Modified: trunk/apps/plugins/pictureflow.c
===================================================================
--- trunk/apps/plugins/pictureflow.c	2009-05-02 03:47:46 UTC (rev 20840)
+++ trunk/apps/plugins/pictureflow.c	2009-05-02 04:06:49 UTC (rev 20841)
 <at>  <at>  -25,6 +25,7  <at>  <at> 

 #include "plugin.h"
 #include <albumart.h>
+#include "lib/read_image.h"
 #include "lib/pluginlib_actions.h"
 #include "lib/helper.h"
 #include "lib/configfile.h"
 <at>  <at>  -926,8 +927,8  <at>  <at> 
         input_bmp.data = buf;
         input_bmp.width = DISPLAY_WIDTH;
         input_bmp.height = DISPLAY_HEIGHT;
-        ret = scaled_read_bmp_file(albumart_file, &input_bmp,
-                                buf_size, format, &format_transposed);
+        ret = read_image_file(albumart_file, &input_bmp,
+                              buf_size, format, &format_transposed);
         if (ret <= 0) {
(Continue reading)

tracker | 2 May 06:15 2009

Rockbox Blame Game

The builds are now red thanks to these fine hacker(s):

Andrew Mahone (unhelpful), 1 commit

The entire thing of course visible here: http://build.rockbox.org/dev.cgi

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

mailer | 2 May 06:36 2009

unhelpful: r20842 - trunk/apps/plugins/lib

Date: 2009-05-02 06:36:24 +0200 (Sat, 02 May 2009)
New Revision: 20842

Log Message:
Fix red.

Modified:
   trunk/apps/plugins/lib/feature_wrappers.h

Modified: trunk/apps/plugins/lib/feature_wrappers.h
===================================================================
--- trunk/apps/plugins/lib/feature_wrappers.h	2009-05-02 04:06:49 UTC (rev 20841)
+++ trunk/apps/plugins/lib/feature_wrappers.h	2009-05-02 04:36:24 UTC (rev 20842)
 <at>  <at>  -32,8 +32,6  <at>  <at> 
  */
 #ifdef HAVE_ALBUMART
 #define search_albumart_files rb->search_albumart_files
-#define read_jpeg_file rb->read_jpeg_file
-#define read_jpeg_fd rb->read_jpeg_fd
 #endif

 /* This should only be used when loading scaled bitmaps, or using custom output
 <at>  <at>  -44,6 +42,8  <at>  <at> 
 #if LCD_DEPTH > 1
 #define scaled_read_bmp_file rb->read_bmp_file
 #define scaled_read_bmp_fd rb->read_bmp_fd
+#define read_jpeg_file rb->read_jpeg_file
+#define read_jpeg_fd rb->read_jpeg_fd
 #else
 #define scaled_read_bmp_file read_bmp_file
(Continue reading)


Gmane