mailer | 1 Aug 2008 12:55
Favicon

dave: r18167 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 12:55:16 +0200 (Fri, 01 Aug 2008)
New Revision: 18167

Log Message:
A forgotten file.  Maybe we can change the site to not even require this file, but we'll probably at least need
a  setting for when we unzip uploaded themes to run checkwps on them

Added:
   themes.rockbox.org/trunk/PHP/ini.php

Added: themes.rockbox.org/trunk/PHP/ini.php
===================================================================
--- themes.rockbox.org/trunk/PHP/ini.php	                        (rev 0)
+++ themes.rockbox.org/trunk/PHP/ini.php	2008-08-01 10:55:16 UTC (rev 18167)
 <at>  <at>  -0,0 +1,7  <at>  <at> 
+<?php
+
+# Change this to where your local install is storing the themes.txt file
+
+$DATADIR="/home/linuxstb/themesdata";
+
+?>

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

mailer | 1 Aug 2008 13:19
Favicon

mcuelenaere: r18168 - trunk/tools

Date: 2008-08-01 13:19:29 +0200 (Fri, 01 Aug 2008)
New Revision: 18168

Log Message:
Commit second version of FS#9158 (Tomer Shalev) with spelling fix

Modified:
   trunk/tools/rockboxdev.sh

Modified: trunk/tools/rockboxdev.sh
===================================================================
--- trunk/tools/rockboxdev.sh	2008-08-01 10:55:16 UTC (rev 18167)
+++ trunk/tools/rockboxdev.sh	2008-08-01 11:19:29 UTC (rev 18168)
 <at>  <at>  -23,12 +23,6  <at>  <at> 
     make="make"
 fi

-# Use an alternative mirror in case you encounter a slow internet connection.
-# List of other GNU mirrors available in http://www.gnu.org/prep/ftp.html
-#
-# Usage example:
-#         # GNU_MIRROR=http://mirrors.kernel.org/gnu ./rockboxdev.sh 
-#
 if [ -z $GNU_MIRROR ] ; then
     GNU_MIRROR=ftp://ftp.gnu.org/pub/gnu
 fi
 <at>  <at>  -49,7 +43,7  <at>  <at> 
   IFS=":"
   for path in $PATH
   do
(Continue reading)

mailer | 1 Aug 2008 13:42
Favicon

dave: r18169 - in trunk: docs rbutil/sansapatcher

Date: 2008-08-01 13:42:33 +0200 (Fri, 01 Aug 2008)
New Revision: 18169

Log Message:
Improved README for sansapatcher, contributed by Ori Avtalion, slightly modified by me.

Modified:
   trunk/docs/CREDITS
   trunk/rbutil/sansapatcher/README

Modified: trunk/docs/CREDITS
===================================================================
--- trunk/docs/CREDITS	2008-08-01 11:19:29 UTC (rev 18168)
+++ trunk/docs/CREDITS	2008-08-01 11:42:33 UTC (rev 18169)
 <at>  <at>  -402,6 +402,7  <at>  <at> 
 William Poetra Yoga Hadisoeseno
 Adrian Osoianu
 Martin Pahl
+Ori Avtalion

 The libmad team
 The wavpack team

Modified: trunk/rbutil/sansapatcher/README
===================================================================
--- trunk/rbutil/sansapatcher/README	2008-08-01 11:19:29 UTC (rev 18168)
+++ trunk/rbutil/sansapatcher/README	2008-08-01 11:42:33 UTC (rev 18169)
 <at>  <at>  -8,3 +8,29  <at>  <at> 
 http://download.rockbox.org/bootloader/sandisk-sansa/c200/firmware.mi4

(Continue reading)

mailer | 1 Aug 2008 14:04
Favicon

mcuelenaere: r18170 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 14:04:34 +0200 (Fri, 01 Aug 2008)
New Revision: 18170

Log Message:
tools.php: simplify get_modelid()
index.php: fix notice
           make Size displaying work

Modified:
   themes.rockbox.org/trunk/PHP/index.php
   themes.rockbox.org/trunk/PHP/tools.php

Modified: themes.rockbox.org/trunk/PHP/index.php
===================================================================
--- themes.rockbox.org/trunk/PHP/index.php	2008-08-01 11:42:33 UTC (rev 18169)
+++ themes.rockbox.org/trunk/PHP/index.php	2008-08-01 12:04:34 UTC (rev 18170)
 <at>  <at>  -4,9 +4,12  <at>  <at> 

 include('tools.php');

-$modelid = get_modelid($_GET['model']);
+if(isset($_GET['model']))
+	$modelid = get_modelid($_GET['model']);
+else
+	$modelid = false;

-if ($modelid=='')
+if ($modelid == false)
 {
     # HOME PAGE
(Continue reading)

mailer | 1 Aug 2008 15:46
Favicon

mcuelenaere: r18171 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 15:46:17 +0200 (Fri, 01 Aug 2008)
New Revision: 18171

Log Message:
* Convert tables to divs based on pixelma's idea
* Add theme CSS
* Add URL rewriting
* Fix other things

Added:
   themes.rockbox.org/trunk/PHP/.htaccess
   themes.rockbox.org/trunk/PHP/theme_site_style.css
Modified:
   themes.rockbox.org/trunk/PHP/index.php
   themes.rockbox.org/trunk/PHP/ini.php
   themes.rockbox.org/trunk/PHP/tools.php
   themes.rockbox.org/trunk/PHP/top.php

Added: themes.rockbox.org/trunk/PHP/.htaccess
===================================================================
--- themes.rockbox.org/trunk/PHP/.htaccess	                        (rev 0)
+++ themes.rockbox.org/trunk/PHP/.htaccess	2008-08-01 13:46:17 UTC (rev 18171)
 <at>  <at>  -0,0 +1,3  <at>  <at> 
+RewriteEngine On
+RewriteRule ^models/(.*)/ index.php?model=$1
+Options -Indexes
\ No newline at end of file

Property changes on: themes.rockbox.org/trunk/PHP/.htaccess
___________________________________________________________________
(Continue reading)

mailer | 1 Aug 2008 17:08
Favicon

mcuelenaere: r18172 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 17:08:17 +0200 (Fri, 01 Aug 2008)
New Revision: 18172

Log Message:
Fix TAB's
Go back to TABLE structures
Add select column size option

Modified:
   themes.rockbox.org/trunk/PHP/index.php
   themes.rockbox.org/trunk/PHP/theme_site_style.css
   themes.rockbox.org/trunk/PHP/tools.php
   themes.rockbox.org/trunk/PHP/top.php

Modified: themes.rockbox.org/trunk/PHP/index.php
===================================================================
--- themes.rockbox.org/trunk/PHP/index.php	2008-08-01 13:46:17 UTC (rev 18171)
+++ themes.rockbox.org/trunk/PHP/index.php	2008-08-01 15:08:17 UTC (rev 18172)
 <at>  <at>  -6,9 +6,9  <at>  <at> 
 require_once('ini.php');

 if(isset($_GET['model']))
-	$modelid = get_modelid($_GET['model']);
+    $modelid = get_modelid($_GET['model']);
 else
-	$modelid = -1;
+    $modelid = -1;

 if ($modelid == -1)
 {
(Continue reading)

mailer | 1 Aug 2008 17:38
Favicon

mcuelenaere: r18173 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 17:38:21 +0200 (Fri, 01 Aug 2008)
New Revision: 18173

Log Message:
Some basic validation

Modified:
   themes.rockbox.org/trunk/PHP/theme_site_style.css
   themes.rockbox.org/trunk/PHP/upload.php

Modified: themes.rockbox.org/trunk/PHP/theme_site_style.css
===================================================================
--- themes.rockbox.org/trunk/PHP/theme_site_style.css	2008-08-01 15:08:17 UTC (rev 18172)
+++ themes.rockbox.org/trunk/PHP/theme_site_style.css	2008-08-01 15:38:21 UTC (rev 18173)
 <at>  <at>  -40,3 +40,16  <at>  <at> 
  color:           black;
  text-decoration: none;
 }
+
+.error
+{
+ border:          red solid 2px;
+ font-style:      italic;
+}
+
+.error_desc
+{
+ color:          red;
+ font-weight:    bold;
+ font-size:      16px;
(Continue reading)

mailer | 1 Aug 2008 18:14
Favicon

mcuelenaere: r18174 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 18:14:21 +0200 (Fri, 01 Aug 2008)
New Revision: 18174

Log Message:
PNG file checking
Upgrade max file size to 5MB and max files in zip to 150

Modified:
   themes.rockbox.org/trunk/PHP/.htaccess
   themes.rockbox.org/trunk/PHP/ini.php
   themes.rockbox.org/trunk/PHP/theme_site_style.css
   themes.rockbox.org/trunk/PHP/tools.php
   themes.rockbox.org/trunk/PHP/upload.php

Modified: themes.rockbox.org/trunk/PHP/.htaccess
===================================================================
--- themes.rockbox.org/trunk/PHP/.htaccess	2008-08-01 15:38:21 UTC (rev 18173)
+++ themes.rockbox.org/trunk/PHP/.htaccess	2008-08-01 16:14:21 UTC (rev 18174)
 <at>  <at>  -1,3 +1,4  <at>  <at> 
 RewriteEngine On
 RewriteRule ^models/(.*)/ index.php?model=$1
-Options -Indexes
\ No newline at end of file
+Options -Indexes
+php_value max_upload_size 10MB
\ No newline at end of file

Modified: themes.rockbox.org/trunk/PHP/ini.php
===================================================================
--- themes.rockbox.org/trunk/PHP/ini.php	2008-08-01 15:38:21 UTC (rev 18173)
(Continue reading)

mailer | 1 Aug 2008 19:47
Favicon

mcuelenaere: r18175 - themes.rockbox.org/trunk/PHP

Date: 2008-08-01 19:47:46 +0200 (Fri, 01 Aug 2008)
New Revision: 18175

Log Message:
Further validation

Modified:
   themes.rockbox.org/trunk/PHP/index.php
   themes.rockbox.org/trunk/PHP/tools.php
   themes.rockbox.org/trunk/PHP/upload.php

Modified: themes.rockbox.org/trunk/PHP/index.php
===================================================================
--- themes.rockbox.org/trunk/PHP/index.php	2008-08-01 16:14:21 UTC (rev 18174)
+++ themes.rockbox.org/trunk/PHP/index.php	2008-08-01 17:47:46 UTC (rev 18175)
 <at>  <at>  -85,7 +85,7  <at>  <at> 
                 print "<h2><a name='$modelnames[$modelid]' id='$shortname'></a><a href=\"#$shortname\">$name</a></h2>\n";

                 print "<p align='center'>\n";
-                print "<a href=\"data/$lcd/$shortname.zip\" ";
+                print "<a href=\"".SITEURL."/data/$lcd/$shortname.zip\" ";
                 if ($img2)
                 {
                     print "onmouseout=\"MM_swapImgRestore()\" ";

Modified: themes.rockbox.org/trunk/PHP/tools.php
===================================================================
--- themes.rockbox.org/trunk/PHP/tools.php	2008-08-01 16:14:21 UTC (rev 18174)
+++ themes.rockbox.org/trunk/PHP/tools.php	2008-08-01 17:47:46 UTC (rev 18175)
 <at>  <at>  -45,25 +45,22  <at>  <at> 
(Continue reading)

mailer | 1 Aug 2008 21:33
Favicon

bertrik: r18176 - trunk/apps/plugins

Date: 2008-08-01 21:33:55 +0200 (Fri, 01 Aug 2008)
New Revision: 18176

Log Message:
Apply FS#9217 - Rockpaint line-drawing function, replace line-drawing algorithm by better looking
bresenham algorithm

Modified:
   trunk/apps/plugins/rockpaint.c

Modified: trunk/apps/plugins/rockpaint.c
===================================================================
--- trunk/apps/plugins/rockpaint.c	2008-08-01 17:47:46 UTC (rev 18175)
+++ trunk/apps/plugins/rockpaint.c	2008-08-01 19:33:55 UTC (rev 18176)
 <at>  <at>  -1610,65 +1610,59  <at>  <at> 
     }
 }

+/* This is an implementation of Bresenham's line algorithm.
+ * See http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm.
+ */
 static void draw_line( int x1, int y1, int x2, int y2 )
 {
-    x1 = x1<<1;
-    y1 = y1<<1;
-    x2 = x2<<1;
-    y2 = y2<<1;
-    int w = x1 - x2;
-    int h = y1 - y2;
-
(Continue reading)


Gmane