mailer | 27 Jan 08:59
Favicon

Fix FS#12559: sigaltstack threads fortify failure

commit f4954c4a9bda0edbdc8e93314b713c036c4ebfdd
Author: Boris Gjenero <boris.gjenero <at> gmail.com>
Date:   Thu Jan 26 20:33:28 2012 -0500

    Fix FS#12559: sigaltstack threads fortify failure

    Ubuntu defines _FORTIFY_SOURCE=2, which causes glibc longjmp() to check sp
    when gcc optimization is enabled. The check does not allow longjmp() to be
    used for switching threads and results in a "longjmp causes uninitialized
    stack frame" error. This disables the check.

    Change-Id: Idb8877b43ce711df880ca88875ba5477445a577a

diff --git a/firmware/thread.c b/firmware/thread.c
index 5e543c5..4c15fcc 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -19,6 +19,15 @@
  *
  ****************************************************************************/
 #include "config.h"
+
+#ifdef HAVE_SIGALTSTACK_THREADS
+/*
+ * The sp check in glibc __longjmp_chk() will cause
+ * a fatal error when switching threads via longjmp().
+ */
+#undef _FORTIFY_SOURCE
+#endif
+
(Continue reading)

mailer | 24 Jan 16:58
Favicon

Update CONTRIBUTING to reflect our switch to git on gerrit.

commit fee6f80fb8bca110a03fc7693a17f4c5e4b798d2
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Tue Jan 24 13:05:25 2012 +0100

    Update CONTRIBUTING to reflect our switch to git on gerrit.

    Fixes FS#12536

    Change-Id: Iee4700ef01eb23c92a026df5074ffcf0257fe0ec

diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING
index 83f0aa6..f31b1a8 100644
--- a/docs/CONTRIBUTING
+++ b/docs/CONTRIBUTING
@@ -1,5 +1,3 @@
-$Id$
-
                __________               __   ___.
      Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
      Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
@@ -55,7 +53,7 @@ Braces for function declarations are put in a new line under the name, as in:
   }

 Always indent your code with four spaces. Don't use TAB characters, as that
-will mess up code display in CVS, printing, and a zillion other places.
+will mess up code display, printing, and a zillion other places.

 Keep lines below 80 columns length. Use whitespace and newlines to make the
 code easy to browse/read.
@@ -67,16 +65,18 @@ Use "unix style" line feeds: "LF" only. Do not use "CR+LF".
(Continue reading)

mailer | 9 Jan 22:19
Favicon

bertrik: r31646 - in trunk: apps/lang docs

Date: 2012-01-09 22:19:14 +0100 (Mon, 09 Jan 2012)
New Revision: 31646

Log Message:
FS#12511 - Polish translation by Artur Juraszek

Modified:
   trunk/apps/lang/polski.lang
   trunk/docs/CREDITS

Modified: trunk/apps/lang/polski.lang
===================================================================
--- trunk/apps/lang/polski.lang	2012-01-09 10:16:05 UTC (rev 31645)
+++ trunk/apps/lang/polski.lang	2012-01-09 21:19:14 UTC (rev 31646)
@@ -12075,15 +12075,15 @@
   user: core
   <source>
     *: none
-    gigabeats,mpiohd200,mpiohd300: "3-D Enhancement"
+    gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "3-D Enhancement"
   </source>
   <dest>
     *: none
-    gigabeats,mpiohd200,mpiohd300: "Dźwięk 3-D"
+    gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "Efekt 3D"
   </dest>
   <voice>
     *: none
-    gigabeats,mpiohd200,mpiohd300: "Dźwięk 3-D"
+    gigabeats,mpiohd200,mpiohd300,sansafuzeplus: "Efekt 3D"
(Continue reading)

mailer | 9 Jan 11:16
Favicon

jdgordon: r31645 - trunk/uisimulator/buttonmap

Date: 2012-01-09 11:16:05 +0100 (Mon, 09 Jan 2012)
New Revision: 31645

Log Message:
r31444 missed a file. make fuzeplus sim build again

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

Modified: trunk/uisimulator/buttonmap/sansa-fuzeplus.c
===================================================================
--- trunk/uisimulator/buttonmap/sansa-fuzeplus.c	2012-01-09 05:23:25 UTC (rev 31644)
+++ trunk/uisimulator/buttonmap/sansa-fuzeplus.c	2012-01-09 10:16:05 UTC (rev 31645)
@@ -49,9 +49,6 @@
         case SDLK_KP9:
             new_btn = BUTTON_PLAYPAUSE;
             break;
-        case SDLK_KP0:
-            new_btn = BUTTON_TWO_FINGERS;
-            break;
         case SDLK_KP7:
             new_btn = BUTTON_BACK;
             break;

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

(Continue reading)

mailer | 9 Jan 06:23
Favicon

jethead71: r31644 - trunk/firmware/export/config

Date: 2012-01-09 06:23:25 +0100 (Mon, 09 Jan 2012)
New Revision: 31644

Log Message:
Fix Clip Zip bootloader build.

Modified:
   trunk/firmware/export/config/sansaclipzip.h

Modified: trunk/firmware/export/config/sansaclipzip.h
===================================================================
--- trunk/firmware/export/config/sansaclipzip.h	2012-01-09 03:26:03 UTC (rev 31643)
+++ trunk/firmware/export/config/sansaclipzip.h	2012-01-09 05:23:25 UTC (rev 31644)
@@ -13,6 +13,7 @@
 #define HAVE_MULTIDRIVE
 #define NUM_DRIVES 2
 #define HAVE_HOTSWAP
+#define HAVE_RDS_CAP
 #endif

 #define HW_SAMPR_CAPS       SAMPR_CAP_ALL
@@ -33,8 +34,6 @@
    explicitly if different */
 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)

-#define HAVE_RDS_CAP
-
 /* define this if you have a bitmap LCD display */
 #define HAVE_LCD_BITMAP
 /* define this if you have a colour LCD */
(Continue reading)

mailer | 9 Jan 04:26
Favicon

saratoga: r31643 - in trunk: apps firmware

Date: 2012-01-09 04:26:03 +0100 (Mon, 09 Jan 2012)
New Revision: 31643

Log Message:
Commit FS#12454 - Faster line scroll speed by Martin Sagmuller.

Modified:
   trunk/apps/settings_list.c
   trunk/firmware/scroll_engine.c

Modified: trunk/apps/settings_list.c
===================================================================
--- trunk/apps/settings_list.c	2012-01-08 22:29:25 UTC (rev 31642)
+++ trunk/apps/settings_list.c	2012-01-09 03:26:03 UTC (rev 31643)
@@ -967,7 +967,7 @@
 #endif
 #endif /* HAVE_BACKLIGHT */
     INT_SETTING(F_PADTITLE, scroll_speed, LANG_SCROLL_SPEED, 9,"scroll speed",
-                UNIT_INT, 0, 15, 1, NULL, NULL, lcd_scroll_speed),
+                UNIT_INT, 0, 17, 1, NULL, NULL, lcd_scroll_speed),
     INT_SETTING(F_PADTITLE, scroll_delay, LANG_SCROLL_DELAY, 1000,
                 "scroll delay", UNIT_MS, 0, 2500, 100, NULL,
                 NULL, lcd_scroll_delay),
@@ -975,7 +975,7 @@
                 UNIT_PERCENT, 0, 200, 25, NULL, NULL, lcd_bidir_scroll),
 #ifdef HAVE_REMOTE_LCD
     INT_SETTING(0, remote_scroll_speed, LANG_SCROLL_SPEED, 9,
-                "remote scroll speed", UNIT_INT, 0,15, 1,
+                "remote scroll speed", UNIT_INT, 0,17, 1,
                 NULL, NULL, lcd_remote_scroll_speed),
(Continue reading)

mailer | 8 Jan 23:29
Favicon

jethead71: r31642 - in trunk/firmware: . target/arm target/arm/as3525 target/arm/as3525/sansa-fuzev2

Date: 2012-01-08 23:29:25 +0100 (Sun, 08 Jan 2012)
New Revision: 31642

Log Message:
AS3525v1/2: Enable nested handling of interrupts

Mostly for the sake of reducing latency for audio servicing where other service
routines can take a long time to complete, leading to occasional drops of a
few samples, especially in recording, where they are fairly frequent.

One mystery that remains is GPIOA IRQ being interrupted causes strange
undefined instruction exceptions, most easily produced on my Fuze V2 with a
scrollwheel. Making GPIOA the top ISR for now, thus not interruptible, cures it.

SVC mode is used during the actual calls. Hopefully the SVC stack size is
sufficient. Prologue and epilogue code only uses the IRQ stack and is large
enough.

Any routine code that should not be interrupted should disable IRQ itself from
here on in.

Modified:
   trunk/firmware/kernel.c
   trunk/firmware/target/arm/as3525/fmradio-i2c-as3525.c
   trunk/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
   trunk/firmware/target/arm/as3525/sd-as3525.c
   trunk/firmware/target/arm/as3525/sd-as3525v2.c
   trunk/firmware/target/arm/as3525/system-as3525.c
   trunk/firmware/target/arm/crt0.S
   trunk/firmware/target/arm/system-arm.h
(Continue reading)

mailer | 8 Jan 21:09
Favicon

bluebrother: r31641 - trunk/tools

Date: 2012-01-08 21:09:59 +0100 (Sun, 08 Jan 2012)
New Revision: 31641

Log Message:
Rename snprintf when building with MSVC to link with CRT.

Modified:
   trunk/tools/wavtrim.c

Modified: trunk/tools/wavtrim.c
===================================================================
--- trunk/tools/wavtrim.c	2012-01-08 19:51:11 UTC (rev 31640)
+++ trunk/tools/wavtrim.c	2012-01-08 20:09:59 UTC (rev 31641)
@@ -27,6 +27,10 @@

 #include "wavtrim.h"

+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
+
 /* place a 32 bit value into memory, little endian */
 void Write32(unsigned char* pByte, unsigned long value)
 {

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

(Continue reading)

mailer | 8 Jan 20:51
Favicon

bluebrother: r31640 - in trunk/rbutil: ipodpatcher sansapatcher

Date: 2012-01-08 20:51:11 +0100 (Sun, 08 Jan 2012)
New Revision: 31640

Log Message:
MSVC compatibility adjustments.

When using a global variable from a DLL with MSVC special handling is necessary
to avoid going through additional redirection.

Modified:
   trunk/rbutil/ipodpatcher/ipodpatcher.h
   trunk/rbutil/sansapatcher/sansapatcher.h

Modified: trunk/rbutil/ipodpatcher/ipodpatcher.h
===================================================================
--- trunk/rbutil/ipodpatcher/ipodpatcher.h	2012-01-08 17:59:52 UTC (rev 31639)
+++ trunk/rbutil/ipodpatcher/ipodpatcher.h	2012-01-08 19:51:11 UTC (rev 31640)
@@ -31,7 +31,17 @@
 /* Size of buffer for disk I/O - 8MB is large enough for any version
    of the Apple firmware, but not the Nano's RSRC image. */
 #define BUFFER_SIZE 8*1024*1024
+
+#ifndef _MSC_VER
 extern unsigned char* ipod_sectorbuf;
+#else
+/* MSVC needs to use dllimport to allow using it directly from a DLL.
+ * See http://support.microsoft.com/kb/90530
+ * Building with MSVC is only when using as DLL.
+ */
+_declspec(dllimport) unsigned char* ipod_sectorbuf;
(Continue reading)

mailer | 8 Jan 18:59
Favicon

amiconn: r31639 - trunk/tools

Date: 2012-01-08 18:59:52 +0100 (Sun, 08 Jan 2012)
New Revision: 31639

Log Message:
Add missing languages from configure, and sort them in exactly the same order for easier maintenance.

Modified:
   trunk/tools/sapi_voice.vbs

Modified: trunk/tools/sapi_voice.vbs
===================================================================
--- trunk/tools/sapi_voice.vbs	2012-01-08 17:38:40 UTC (rev 31638)
+++ trunk/tools/sapi_voice.vbs	2012-01-08 17:59:52 UTC (rev 31639)
@@ -270,6 +270,8 @@
     Dim aIDs

     Select Case sLanguage
+        Case "afrikaans"
+            LangIDs = Array(&h436)
         Case "arabic"
             LangIDs = Array( &h401,  &h801,  &hc01, &h1001, &h1401, &h1801, _
                             &h1c01, &h2001, &h2401, &h2801, &h2c01, &h3001, _
@@ -277,8 +279,8 @@
             ' Saudi Arabia, Iraq, Egypt, Libya, Algeria, Morocco, Tunisia,
             ' Oman, Yemen, Syria, Jordan, Lebanon, Kuwait, U.A.E., Bahrain,
             ' Qatar
-        Case "afrikaans"
-            LangIDs = Array(&h436)
+        Case "basque"
+            LangIDs = Array(&h42d)
(Continue reading)

mailer | 8 Jan 18:38
Favicon

amiconn: r31638 - trunk/tools

Date: 2012-01-08 18:38:40 +0100 (Sun, 08 Jan 2012)
New Revision: 31638

Log Message:
Remove outdated (and buggy) configuration option for the 8MB mod. This is configured by selecting memory
size directly.

Modified:
   trunk/tools/configure

Modified: trunk/tools/configure
===================================================================
--- trunk/tools/configure	2012-01-08 13:59:15 UTC (rev 31637)
+++ trunk/tools/configure	2012-01-08 17:38:40 UTC (rev 31638)
@@ -720,9 +720,6 @@
     printf "Enter your developer options (press only enter when done)\n\
 (D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (W)in32 crosscompile,\n\
 (T)est plugins, S(m)all C lib:"
-    if [ "$memory" = "2" ]; then
-      printf ", (8)MB MOD"
-    fi
     if [ "$modelname" = "archosplayer" ]; then
       printf ", Use (A)TA poweroff"
     fi
@@ -789,12 +786,6 @@
         echo "Voice build selected"
         voice="yes"
         ;;
-      8)
-        if [ "$memory" = "2" ]; then
(Continue reading)


Gmane