Commit graph

22635 commits

Author SHA1 Message Date
Maurus Cuelenaere
fecac647d8 Only expose pcmbuf_beep on SWCODEC targets (aka fix red).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23406 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 17:16:31 +00:00
Maurus Cuelenaere
5ca112b21e Lua: return nil when function failed instead of returning nothing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23405 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 17:13:36 +00:00
Maurus Cuelenaere
8fb258856c Expose pcmbuf_beep() to plugins (based on FS#10608 by Christophe Gragnic)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23404 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 16:52:12 +00:00
Maurus Cuelenaere
b1a7511990 Also expose functions having (s)size_t or off_t as argument/return type to Lua.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23403 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 16:52:09 +00:00
Nils Wallménius
67f616478a Const correctness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23402 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 15:09:09 +00:00
Michael Chicoine
f31c1ffd8c Remove svn:executable from wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23401 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 12:33:33 +00:00
Maurus Cuelenaere
fb4921a7fe Remove svn:executable from simulator UI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23400 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 12:06:41 +00:00
Robert Kukla
3fa2e88b3f Fix FS#10734 - scoring in boomshine.lua is broken (r23391)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23399 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 11:15:14 +00:00
Kevin Ferrare
8d376d03be Boomshine plugin : make speed and ball sizes adapt to the target screen size to get a constant gameplay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23398 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 08:40:08 +00:00
Kevin Ferrare
19c3e77fa0 Boomshine plugin : port to Greyscale and B/W targets, and targets without touchscreen (currently using the virtual keyboard keymap)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23397 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 07:48:26 +00:00
Jonathan Gordon
9f0cbb5a36 minor changes...
* demonstrate how to give options using conditional viewports (some people like text battery and volume!?)
* specify the UI area viewport


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23396 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 07:33:09 +00:00
Tomer Shalev
98a9d9a7a5 Don't break line too early
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23395 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 05:06:13 +00:00
Kevin Ferrare
c8f9f9cef8 Boomshine plugin : Better messages at the end of the game (fixes the nblevel+1 being displayed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23394 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 04:18:29 +00:00
Jonathan Gordon
0aa035d73e * code police on a macro which has no reason for being
* add the TOKEN_RTC_PRESENT value to the skin debugger listing
* Allow the width and height of a viewport to be negative values (so width -50 means extend to 50pixels inside from the right edge)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23393 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 03:27:13 +00:00
Kevin Ferrare
c4079e0b12 Fixed the Boomshine plugin not to crash when there are no more levels to play
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23392 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 02:21:47 +00:00
Maurus Cuelenaere
db8d79db7e Remove unused #define and correct comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23391 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:31:45 +00:00
Maurus Cuelenaere
d789e41884 Add support for running Lua games/apps from the Plugins menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23390 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:31:42 +00:00
Maurus Cuelenaere
97881c1a62 Add Boomshine to the games category
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23389 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:05:11 +00:00
Maurus Cuelenaere
78e98fdeef Add support to buildzip.pl for Lua scripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23388 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:05:02 +00:00
Maurus Cuelenaere
4d668c7ae1 Add new Lua touchscreen-only game: Boomshine
Flyspray: FS#10727
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23387 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:25 +00:00
Maurus Cuelenaere
21bca65d04 Add Lua support to plugins Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23386 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:22 +00:00
Dave Hooper
494fd9673d Committing FS#10717 by Tomasz Kowalyczyk: add PLAYLIST_INSERT_LAST_SHUFFLED (appends the inserted folder into shuffled order to end of playlist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23385 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:27:38 +00:00
Maurus Cuelenaere
7b1d12e067 Touchscreen targets: fix software hold not locking touchscreen
Flyspray: FS#10733
Author: Yann Muller

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23384 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:36:24 +00:00
Maurus Cuelenaere
e415395c5b The Onda VX777 has only one button, add it to the keymap.
Also fix a typo that erroneously enabled button_hold in button-target.h

Flyspray: FS#10732
Author: Yann Muller

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23383 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:16:45 +00:00
Dave Chapman
48430bfabd Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but with no functional changes to code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:11:43 +00:00
Dominik Riebeling
1992c389ae Update bootloader download location and add a note about building with VS2005.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23381 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 20:51:41 +00:00
Nils Wallménius
ff197a4706 Use array for quickscreen item settings to simplify some logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23380 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 20:41:34 +00:00
Dominik Wenger
e5086076a0 make the mini2440 simulator compile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23379 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 17:56:00 +00:00
Jonathan Gordon
bee5900032 Allow the x and y pixel values of viewports to be a negative number..
%V|-50|0|-|..... will position that viewport 50 pixels from the right of the display at the top.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23378 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 06:44:37 +00:00
Jonathan Gordon
a30f25ddd4 fix the charging icon so it will actually display correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23377 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 05:39:04 +00:00
Jonathan Gordon
f0acf02be7 First go at converting the inbuilt statusbar into a skin, right now its only perfect for 176pixel wide displays (and not liked to the build system so you have to copy things yourself if you want it) and needs RTC build.
Whats the easiest way to get this going for all displays/targets without doing 28+ .sbs files?


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23376 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 05:07:49 +00:00
Jonas Häggqvist
cd2a4df5f1 Don't rely on {} expansion since not all shells have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23375 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 23:40:46 +00:00
Jonas Häggqvist
35ee2fdd45 Copy SDL.dll from the SDL dir which was used, rather than relying on PATH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23374 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 23:24:04 +00:00
Jonas Häggqvist
06027214c8 Adapt to the new method of building w32 sims (adds a -w flag).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23373 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 22:57:23 +00:00
Dominik Riebeling
b82963bd9d Move mknkboot.[ch] to beastpatcher folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23372 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 21:15:21 +00:00
Dominik Wenger
806bc7947b remove accidentally commited spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23371 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 20:59:26 +00:00
Dominik Wenger
04ebf48fe4 Initial touchscreen support for mini2440. Based on D2 touchscreen driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23370 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 20:25:40 +00:00
Dominik Riebeling
6f9724706f Show status about downloading build information in the status bar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23369 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 19:28:51 +00:00
Dominik Wenger
740562d419 Add mini2440 support to scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23368 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 19:01:28 +00:00
Teruaki Kawashima
478afc3d62 FS#10722: some improvements for gui/list.c
* Add function list_get_nb_lines and replace duplicated codes to calculate number of lines by it.
* Refine calculation of start_item in function gui_list_put_selection_on_screen.
- displays as many items as possible. hopefully fix FS#10054.
* Fix checking bounds in function gui_synclist_item_is_onscreen.
* Remove trailing spaces and fix indents.

Flyspray: FS#10722
Author: myself


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23367 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 13:18:54 +00:00
Rafaël Carré
03f88d53ee Replace amsinfo by another version which:
- supports Clipv2/Fuzev2 firmwares
- dumps firmware and library blocks in current directory
- adds assertions and boundaries checks about the firmware format
- has nice colors !

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23366 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 11:19:49 +00:00
Michael Sparmann
c9667e6d23 Fix iPod Nano 2G UI sluggishness (thanks to JdGordon for spotting this)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23365 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 22:22:01 +00:00
Dominik Riebeling
18e6547ffa Add a pointer to the manual and wiki for finding an OF file for AMS bootloader installation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23364 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 22:18:27 +00:00
Tomer Shalev
9e004746cd tools: delete mk500boot upon make clean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23363 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:19:47 +00:00
Dominik Wenger
90b576f55e Many more drivers for mini2440. Now the main binary compiles and runs.
Flyspray: FS#10725
Author: Bob Cousins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:16:58 +00:00
Jack Halpin
6d20102a9c AMS Sansa: Change some #defines in debug-as3525 from "(SANSA_E200V2) || defined(SANSA_FUZE) || defined(SANSA_C200V2)" to HAVE_MULTIDRIVE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23361 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 17:22:05 +00:00
Maurus Cuelenaere
8dbef6d8d0 Lua: add lib/helper.c wrappers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23360 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 17:07:56 +00:00
Michael Chicoine
10f46b3c8a fix an off-by-one error in lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23359 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 15:42:26 +00:00
Steve Bavin
b341f5d594 FS#10700 - Add --noremote option to simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23358 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 09:58:39 +00:00
Jonathan Gordon
58c07fbfa8 FS#10724 - fix alignment issue in Codebuster by Clément Pit--Claudel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 07:21:05 +00:00