mailer | 1 Dec 08:02
Favicon

kugel: r31101 - trunk/firmware

Date: 2011-12-01 08:02:18 +0100 (Thu, 01 Dec 2011)
New Revision: 31101

Log Message:
Address some weaknesses and bugs of buflib_compact() and make the code prettier. Thanks to Boris Gjenero
for his great investigation.

Flyspray: FS#12409
Author: myself

Modified:
   trunk/firmware/buflib.c

Modified: trunk/firmware/buflib.c
===================================================================
--- trunk/firmware/buflib.c	2011-11-30 18:47:31 UTC (rev 31100)
+++ trunk/firmware/buflib.c	2011-12-01 07:02:18 UTC (rev 31101)
@@ -237,12 +237,25 @@
 {
     BDEBUGF("%s(): Compacting!\n", __func__);
     union buflib_data *block,
-                      *first_free = find_first_free(ctx);
+                      *hole = NULL;
     int shift = 0, len;
     /* Store the results of attempting to shrink the handle table */
     bool ret = handle_table_shrink(ctx);
-    for(block = first_free; block < ctx->alloc_end; block += len)
+    /* compaction has basically two modes of operation:
+     *  1) the buffer is nicely movable: In this mode, blocks can be simply
+     * moved towards the beginning. Free blocks add to a shift value,
(Continue reading)

mailer | 1 Dec 14:41
Favicon

desowin: r31102 - in trunk: firmware/target/arm/tms320dm320/sansa-connect firmware/target/hosted/sdl uisimulator/bitmaps uisimulator/buttonmap

Date: 2011-12-01 14:41:59 +0100 (Thu, 01 Dec 2011)
New Revision: 31102

Log Message:
Sansa Connect: Make simulator compile. UI-sansaconnect.bmp by Martin S?\195?\164gm?\195?\188ller
(based on press image).

Added:
   trunk/uisimulator/bitmaps/UI-sansaconnect.bmp
   trunk/uisimulator/buttonmap/sansa-connect.c
Modified:
   trunk/firmware/target/arm/tms320dm320/sansa-connect/avr-sansaconnect.c
   trunk/firmware/target/hosted/sdl/sim-ui-defines.h
   trunk/uisimulator/buttonmap/SOURCES

Modified: trunk/firmware/target/arm/tms320dm320/sansa-connect/avr-sansaconnect.c
===================================================================
--- trunk/firmware/target/arm/tms320dm320/sansa-connect/avr-sansaconnect.c	2011-12-01
07:02:18 UTC (rev 31101)
+++ trunk/firmware/target/arm/tms320dm320/sansa-connect/avr-sansaconnect.c	2011-12-01
13:41:59 UTC (rev 31102)
@@ -254,7 +254,7 @@
         if (buf_rx != NULL)
             buf_rx[i] = rxdata & 0xFF;

-        //udelay(100);
+        udelay(100);
     }

     select_hid(false);
(Continue reading)

mailer | 1 Dec 14:51
Favicon

torne: r31103 - trunk/tools

Date: 2011-12-01 14:51:34 +0100 (Thu, 01 Dec 2011)
New Revision: 31103

Log Message:
Convert one more file to LF line endings.

Unset svn:eol-style=CRLF on this vbs file and convert it to LF line endings.
VBScript is perfectly happy to run with LFs and this removes the last
inconsistent line ending in our repo :)

Modified:
   trunk/tools/sapi_voice.vbs

Modified: trunk/tools/sapi_voice.vbs
===================================================================
--- trunk/tools/sapi_voice.vbs	2011-12-01 13:41:59 UTC (rev 31102)
+++ trunk/tools/sapi_voice.vbs	2011-12-01 13:51:34 UTC (rev 31103)
@@ -1,380 +1,380 @@
-'***************************************************************************
-'             __________               __   ___.
-'   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
-'   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
-'   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
-'   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
-'                     \/            \/     \/    \/            \/
-' $Id$
-'
-' Copyright (C) 2007 Steve Bavin, Jens Arnold, Mesar Hameed
-'
-' All files in this archive are subject to the GNU General Public License.
(Continue reading)

mailer | 1 Dec 15:14
Favicon

torne: r31104 - trunk

Date: 2011-12-01 15:14:59 +0100 (Thu, 01 Dec 2011)
New Revision: 31104

Log Message:
Add a gitattributes file for the migration.

When we start using git, we will be doing automatic line ending conversion
in a nice uniform way: everything is expected to have LFs, rather than the
current odd patchwork of svn:eol-style attributes.

This .gitattributes file configures git to normalise all line endings to LF
on checkin in files it believes are text (and its heuristics appear to be
very good). It also explicitly declares a number of file types to be binary
(which both disables line ending conversion for them and also prevents git
attempting to display a textual diff of them).

I have already normalised all files in the repository now to have the correct
line endings, so this should not do anything bad for anyone who is already
using git.

Added:
   trunk/.gitattributes

Added: trunk/.gitattributes
===================================================================
--- trunk/.gitattributes	                        (rev 0)
+++ trunk/.gitattributes	2011-12-01 14:14:59 UTC (rev 31104)
@@ -0,0 +1,16 @@
+*               text=auto
+*.bmp           binary
(Continue reading)

mailer | 1 Dec 15:18
Favicon

gevaerts: r31105 - www/buildserver

Date: 2011-12-01 15:18:05 +0100 (Thu, 01 Dec 2011)
New Revision: 31105

Log Message:
Add Sansa Connect simulator to the build system

Modified:
   www/buildserver/builds

Modified: www/buildserver/builds
===================================================================
--- www/buildserver/builds	2011-12-01 14:14:59 UTC (rev 31104)
+++ www/buildserver/builds	2011-12-01 14:18:05 UTC (rev 31105)
@@ -26,6 +26,7 @@
 sdl:0:zenvisionm30sim:Creative Zen Vision M 30GB - Simulator:rockboxui:17183:../tools/configure
--target=zenvisionm30gb --type=s && make
 sdl:0:sansaclipsim:SanDisk Sansa Clip - Simulator:rockboxui:11711:../tools/configure
--target=sansaclip --type=s && make
 sdl:0:sansaclipzipsim:SanDisk Sansa Clip Zip - Simulator:rockboxui:7811:../tools/configure
--target=sansaclipzip --type=s && make
+sdl:0:sansaconnectsim:SanDisk Sansa Connect - Simulator:rockboxui:17572:../tools/configure
--target=sansaconnect --type=s && make
 sdl:0:sansafuzesim:SanDisk Sansa Fuze - Simulator:rockboxui:20030:../tools/configure
--target=sansafuze --type=s && make
 sdl:0:sansam200v4sim:SanDisk Sansa m200v4 - Simulator:rockboxui:11202:../tools/configure
--target=sansam200v4 --type=s && make
 sdl:0:gogearhdd1630sim:Philips HDD1630 - Simulator:rockboxui:17842:../tools/configure
--target=gogearhdd1630 --type=s && make

_______________________________________________
(Continue reading)

mailer | 1 Dec 15:18
Favicon

desowin: r31106 - trunk/uisimulator/buttonmap

Date: 2011-12-01 15:18:28 +0100 (Thu, 01 Dec 2011)
New Revision: 31106

Log Message:
Sansa Connect Simulator: Fix button sizes, add hold button support

Modified:
   trunk/uisimulator/buttonmap/sansa-connect.c

Modified: trunk/uisimulator/buttonmap/sansa-connect.c
===================================================================
--- trunk/uisimulator/buttonmap/sansa-connect.c	2011-12-01 14:18:05 UTC (rev 31105)
+++ trunk/uisimulator/buttonmap/sansa-connect.c	2011-12-01 14:18:28 UTC (rev 31106)
@@ -52,7 +52,7 @@
         case SDLK_KP9:
             new_btn = BUTTON_NEXT;
             break;
-        case SDLK_KP0:
+        case SDLK_KP_DIVIDE:
             new_btn = BUTTON_POWER;
             break;
         case SDLK_KP5:
@@ -75,22 +75,26 @@
         case SDLK_KP1:
             new_btn = BUTTON_SCROLL_BACK;
             break;
+        case SDLK_h:
+            new_btn = BUTTON_HOLD;
+            break;
     }
(Continue reading)

mailer | 2 Dec 02:58
Favicon

dreamlayers: r31107 - trunk/apps/plugins

Date: 2011-12-02 02:58:07 +0100 (Fri, 02 Dec 2011)
New Revision: 31107

Log Message:
Fix FS#11675 : LED resistor calculator does not wait for keypress. Thanks to Michael Chicoine for
reporting the bug.

Modified:
   trunk/apps/plugins/resistor.c

Modified: trunk/apps/plugins/resistor.c
===================================================================
--- trunk/apps/plugins/resistor.c	2011-12-01 14:18:28 UTC (rev 31106)
+++ trunk/apps/plugins/resistor.c	2011-12-02 01:58:07 UTC (rev 31107)
@@ -760,7 +760,7 @@

         rb->lcd_update();

-        button_press = rb->button_get(true);
+        while ((button_press = rb->button_get(true)) & BUTTON_REL);
         switch(button_press) {
             case PLA_SELECT:
                 break;

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

(Continue reading)

mailer | 2 Dec 13:56
Favicon

zagor: r31108 - www/playerpics

Date: 2011-12-02 13:56:25 +0100 (Fri, 02 Dec 2011)
New Revision: 31108

Log Message:
Added player images.

Added:
   www/playerpics/gogearsa9200-small.png
   www/playerpics/sansaclipzip-small.png
   www/playerpics/sansaconnect-small.png
   www/playerpics/sansafuzeplus-small.png

Added: www/playerpics/gogearsa9200-small.png
===================================================================
(Binary files differ)

Property changes on: www/playerpics/gogearsa9200-small.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: www/playerpics/sansaclipzip-small.png
===================================================================
(Binary files differ)

Property changes on: www/playerpics/sansaclipzip-small.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

(Continue reading)

mailer | 2 Dec 16:34
Favicon

mc2739: r31109 - branches/v3_10/apps/plugins

Date: 2011-12-02 16:34:50 +0100 (Fri, 02 Dec 2011)
New Revision: 31109

Log Message:
Backport r31107 - Fix FS #11675 : LED resistor calculator does not wait for keypress.

Modified:
   branches/v3_10/apps/plugins/resistor.c

Modified: branches/v3_10/apps/plugins/resistor.c
===================================================================
--- branches/v3_10/apps/plugins/resistor.c	2011-12-02 12:56:25 UTC (rev 31108)
+++ branches/v3_10/apps/plugins/resistor.c	2011-12-02 15:34:50 UTC (rev 31109)
@@ -760,7 +760,7 @@

         rb->lcd_update();

-        button_press = rb->button_get(true);
+        while ((button_press = rb->button_get(true)) & BUTTON_REL);
         switch(button_press) {
             case PLA_SELECT:
                 break;

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

mailer | 2 Dec 17:41
Favicon

mc2739: r31110 - branches/v3_10/apps

Date: 2011-12-02 17:41:36 +0100 (Fri, 02 Dec 2011)
New Revision: 31110

Log Message:
Backport r31083 - playlist handling: revert part of r30177.

loading a .m3u from the filebrowser now just runs it like it used to, selecting a playlist from inside the
catalogue viewer opens it instead.

Modified:
   branches/v3_10/apps/filetree.c

Modified: branches/v3_10/apps/filetree.c
===================================================================
--- branches/v3_10/apps/filetree.c	2011-12-02 15:34:50 UTC (rev 31109)
+++ branches/v3_10/apps/filetree.c	2011-12-02 16:41:36 UTC (rev 31110)
@@ -44,7 +44,6 @@
 #include "filetree.h"
 #include "misc.h"
 #include "strnatcmp.h"
-#include "playlist_viewer.h"
 #ifdef HAVE_LCD_BITMAP
 #include "keyboard.h"
 #endif
@@ -461,8 +460,13 @@

         switch ( file_attr & FILE_ATTR_MASK ) {
             case FILE_ATTR_M3U:
-                if (!bookmark_autoload(buf))
-                    playlist_viewer_ex(buf);
(Continue reading)


Gmane