Commit graph

30317 commits

Author SHA1 Message Date
Dominik Riebeling
d23d164b85 imxtools: use rand() instead of /dev/random.
On Windows /dev/random does not exist, so trying to open it will fail. Replace
it with rand() which is available on all supported platforms and sufficient.

Fixes mkimxboot not working, as well as Rockbox Utility "crashing" (which is in
fact its error handler calling exit(), thus terminating Rockbox Utility) on
Windows.

Change-Id: Ia164f937f329877e8f80f473f27be8c5df2a0a68
2012-02-08 21:28:20 +01:00
Michael Sevakis
1ab9d14c77 Move to compressor out of dsp.c and into its own source to reduce DSP clutter.
A bit of a rough job for the moment but all works.

Change-Id: Id40852e0dec99caee02f943d0da8a1cdc16f022a
2012-02-08 14:55:37 -05:00
Thomas Martitz
b0478726e4 Fix reds. No need for #ifdef to save buttons anymore.
Change-Id: I31833ecf0725bbfbdd2905390e2e9b63918cbe3a
2012-02-08 19:01:10 +01:00
Jean-Louis Biasini
a869d4a9ac LAMP plugin PLA integration (main code + manual)
1) this patch replace all keymaps with PLA ones. It also clean some optionnal
 compiling that are not needed anymore througt PLA
2) the patch also made required change to the manual in order to match code's
 change.

Change-Id: I54ec953f79a419a6bb2f78877ca8b82f572fb510
Reviewed-on: http://gerrit.rockbox.org/86
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
2012-02-08 18:32:53 +01:00
Wieland Hoffmann
51912c840c brickmania: Use short L: %d life indicator if needed
This is the case if either the player has lots of lifes or a high score

Change-Id: Ic4c7011e9fa582d2ae552b28474ba260f2b4cab0
Reviewed-on: http://gerrit.rockbox.org/88
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2012-02-08 13:50:50 +01:00
Frank Gevaerts
513c5ad3d0 SVG Image for Philips GoGear SA9200 (FS#12407)
Change-Id: Ia663350e1609ae1843b474fc50dbc189188b0e81
2012-02-07 19:22:15 +01:00
Michael Sevakis
71e35ed446 Fix FS#12580 - Elapsed time nit reset after track change when playing AC3 files.
It wasn't only a52 but also a52_rm that didn't reset the elapsed counter on
each new track. The problems seemed obvious enough so fixes are being added
blind. Will leave task open for feedback from bug reporter.

Change-Id: Ic6d8eb98690ff4be47547d13b6bbafeadf4da745
2012-02-07 12:25:23 -05:00
Jonathan Gordon
a2f28452e1 Fix FS#9391 - playback engine gets confused by multiple simultaneous button presses
Change-Id: Ie08f9dabc814adfe92c382d2e770808839cd6dd2
2012-02-07 22:06:09 +11:00
Jonathan Gordon
40ecdf6811 skin engine: New logical 'and' and 'or' tags to evaluate multiple tags in a single conditional.
Use these tags to stop having multiple conditionals.. e.g:
OLD: %?C<%?Ia<something>>
NEW: %?and(%C, %Ia)<something>

Change-Id: Ia3bbe4611cf808e87dcd1b1147181461fa08294a
2012-02-07 21:41:18 +11:00
Dominik Riebeling
f1eedb80a2 Don't try to save settings if none available.
Fixes a crash when leaving the encoder settings dialog with the Ok button but
the dynamically loaded library missing, in which case no settings will be
available.

Change-Id: I889a0bbcde6bed2df658b5df57341edf6802daad
2012-02-06 22:35:08 +01:00
Dominik Riebeling
779c2f3eb1 chinachippatcher: allow additional CFLAGS from the command line.
Fixes building 32bit linux binary on 64bit systems.

Change-Id: Ib58114a979e6aa426370477169a0875a66c9a9c2
2012-02-06 20:24:35 +01:00
Marko Pahlke
32326e3bd3 SVG Image for Samsung YP-R0 (FS#12577)
Change-Id: I1433cdff2c7f007d437300b103059f18099faf7d
2012-02-06 18:42:33 +01:00
Frank Gevaerts
a969c4df88 rocklife is much more a demo than a game.
Change-Id: Ibf80637cd9c6001a636a9f92c72223ec56dad780
Reviewed-on: http://gerrit.rockbox.org/82
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Boris Gjenero <boris.gjenero@gmail.com>
Tested-by: Boris Gjenero <boris.gjenero@gmail.com>
2012-02-06 09:29:39 +01:00
Michael Sevakis
43e6d7aef8 Urgh...actually change all the stuff I'm supposed to.
Goofed a couple fn params.

Change-Id: I2474d10fe08d2629ada54c83e201ee91c596d854
2012-02-05 22:48:47 -05:00
Michael Sevakis
691c7a7614 Make generic pcm-mixer.c more generic in the way it writes output.
Also remove unused firmmware/asm/generic directory.

Change-Id: If1961f96f4292f00227a9b0148181152ac405e51
2012-02-05 22:35:23 -05:00
Dominik Riebeling
64f71e66b2 When writing data from repository open file as binary.
Windows requires files to be explicitly opened as binaries, otherwise it will
perform line ending translations. We really don't want the OS to mess with
that.

Change-Id: Id56de354b7ad0e5b056540755f7108456f3263ed
2012-02-06 00:14:25 +01:00
Dominik Riebeling
13e640c2d6 Update version to 1.2.12, OS X specific file.
Change-Id: I08cd0939bfc7a7d3650ef0918524fb7d986172a9
2012-02-05 22:12:09 +01:00
Dominik Riebeling
3131dd529e Bump version to 1.2.12.
Remove svn information from the version string as well, since we don't have
this information anymore.

Change-Id: I0055e6cd9e5e6cb1aaf678d91db183f4bc2117fe
2012-02-05 22:06:30 +01:00
Dominik Riebeling
001eb3b211 Update deployment script for git.
First and rather rough adjustment for git. There are still a lot of places
referring to svn, and various functionality might be broken which needs fixing
later.

Change-Id: Ia628f06e99f527e01f131ce674746fba77d97d23
2012-02-05 22:00:57 +01:00
Dominik Riebeling
909b96fa70 Python module to get (some) files from the repository.
With git it's not possible to simply export a set of paths from the server
directly. This module offers a similar functionality, but requires a local
clone of the repository. It calls git directly for maximum portability.

This is a prerequisite to making the deployment script used for Rockbox Utility
work again.

Change-Id: I1aca8ddd40d16b6268c1d6a2fc23ac59e964c3c6
2012-02-05 21:26:57 +01:00
Rafaël Carré
db3afb03a2 Make sure we use POSIX/C99 printf() when building for windows
Change-Id: I429ed40dc2b9d4fb238762113bd40936df896df0
Reviewed-on: http://gerrit.rockbox.org/85
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2012-02-05 20:36:31 +01:00
Amaury Pouly
e67a1af35f fuze+: the radio chip needs a few milliseconds to power up
Change-Id: I7e7f3bf86ab69d6c7e94e8b16c1a26f74a76f1a2
2012-02-05 18:14:12 +01:00
Boris Gjenero
4b85c93cd8 Improve rockbox_flash messages
- For V2 and FM Recorders, don't recommend bootloader upgrade
  due to FS#12426 BootBox bugs.
- When rockbox.ucl can't fit and the bootloader is old, the
  bootloader needs to be upgraded.
- When RomBox start address differs, the bootloader is
  not compatible with RomBox.

Change-Id: I7ca910805a64eb81faa21b2dde4842cd3b640f5a
Reviewed-on: http://gerrit.rockbox.org/71
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-02-05 16:26:09 +01:00
Amaury Pouly
0aca81d807 imx233: add audioin init code, add adc dma interrupts, fix register defines
Change-Id: I204afbd3390f8dcde6ea1315ea6aa8dde12d3749
2012-02-05 16:05:07 +01:00
Boris Gjenero
cd89b31133 Fix Fuze+ bootloader red
Change-Id: I434e3f4930e6ab7f8d9f5ba43a5bfe0a387e0f09
2012-02-04 22:40:51 -05:00
Boris Gjenero
0a8235d052 Use commit_dcache() instead of commit_discard_idcache() where possible
- PCM playback DMA doesn't need the discard. Only recording DMA would
  need it.
- When creating threads for another core, the core creating the thread only
  needs to commit. The discard on the other core is handled elsewhere.

Change-Id: I864a0777e22f221a66218efd2c02ff3ad3889736
2012-02-04 22:27:42 -05:00
Michael Sevakis
67dd4d6995 Generic find_first_set_bit can use __builtin_ctz instead of __builtin_ffs
The former gives 0-based indexes, which is what our implementation returns,
making the "- 1" unnecessary.

Change-Id: I172ab5e06695be62e4a18d4fd0415b8314f5dc26
2012-02-04 18:08:17 -05:00
Amaury Pouly
1a083cdacc imx233/fuze+: fix a typo, handle volume differently because of the line1/dac mode difference.
The headphone volume register value reads differently in Line1 and DAC mode.
Since the volume is not set again when switching between playback and radio,
we need to remember the hp volume and reapply setting when changing the mode.

Change-Id: I8fbd344f78653c19d81a39dd3f680ec6885cb1ec
2012-02-03 20:04:39 +01:00
Bertrik Sikken
7d54ff069b Add graphics for solitaire/blackjack plugins for the sansa clip zip by Nathan Korth
Change-Id: Ic87bf074f2d60687a2933b05fcad1c0d27dfd9ec
Reviewed-on: http://gerrit.rockbox.org/79
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
Tested-by: Bertrik Sikken <bertrik@sikken.nl>
2012-02-03 13:50:20 +01:00
Marcin Bukat
e362e34d51 HD200: fix typo in goban keymap
Change-Id: If93370317eaddb970dc5f30ddbb49f8a6c49aea0
2012-02-02 16:07:50 +01:00
Marcin Bukat
230caaaff6 HD300: fix messages in blackjack
Change-Id: If6fa39609b8ededaea37187e7d9d48e3f36d85c0
2012-02-02 14:55:51 +01:00
Marcin Bukat
ae7d40f89a HD300: manual graphics
Change-Id: Icf224fb225ab3a1869196c0479677c19a3145807
2012-02-02 14:55:51 +01:00
Marcin Bukat
4bbc9f68ea MPIOs: manual work
Change-Id: Ief46eabf3611d6d21594f52f73292f2be5831b87
2012-02-02 14:55:51 +01:00
Marcin Bukat
5863361fbf MPIOs: keymap tweaks
Change-Id: Ic96900c83ffb90df4f6c68a26238f0543cba61cd
2012-02-02 14:55:51 +01:00
Amaury Pouly
3511435ee3 fuze+: don't use the DCP to copy the framebuffer since it can yield and then several lcd udpates could run concurrently with undefined behaviour
Change-Id: I39167188f354859fc8e4f9f979c97343b40beb7d
2012-02-02 11:20:00 +01:00
Amaury Pouly
ac4d648958 fuze+: use the si4700 internal oscillator and set a pin on power down (seems important)
Change-Id: If737438ddb726e51e0a725e27bc93950eb3657bd
2012-02-01 17:51:01 +01:00
Amaury Pouly
0f02da208c fuze+: check rectangle coordinates in lcd_update_rect
Change-Id: I5f23063751d7650b8eefd0f37393498d9a27bd19
2012-02-01 15:02:22 +01:00
Amaury Pouly
ca104755f5 fuze+: add basi pinctrl debug screen
Change-Id: I999d55a00a03eecc88d726ed33b2edaf339a138c
2012-02-01 15:02:22 +01:00
Amaury Pouly
b1702a569a fuze+: pin B1P30 is volume down key and has no relation with SD
Change-Id: Iee93e90d3054442ae873c55c05c030ed690ccbd6
2012-02-01 15:02:22 +01:00
Amaury Pouly
289440605a imx233/fuze+: set a few recommended power bits by Freescale, remove some uneeded headers, implement audio path selection for playback and radio
Change-Id: If926ead9b776504a58eb102fcc0e9acadf4f7379
2012-02-01 15:02:22 +01:00
Amaury Pouly
c18a4e6316 fuze+: update builds.pm to reflect the fact that we have icons
Change-Id: I7542b05b851d5a3b9353c48550a6de290ca33037
2012-02-01 15:02:21 +01:00
Jonathan Gordon
f417312a71 skin parser: Allow the first character after conditional seperators to be \n
This hopefully makes difficult conditionals more easy to read: i.e
OLD: %?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
NEW:
%?bp<
	%?bc<
		%xd(Ba)|%xd(Bb)
	>|
	%?bl<|%xd(Bc)|%xd(Bd)|
		%xd(Be)|%xd(Bf)|
		%xd(Bg)|%xd(Bh)|
		%xd(Bi)|%xd(Bj)
	>
>

Change-Id: Ic89d2c95562b27e7427c3a5d528340f9aec55cf2
2012-02-01 22:05:06 +11:00
Jonathan Gordon
5f387c28ce skin parser: skip \t characters at the begining of lines to allow for more readable skins
Change-Id: I8f3154d17807ad202fc65d462e85da2195ce605c
2012-02-01 21:27:18 +11:00
Rafaël Carré
88cda7eb26 mkamsboot: fix some Clipv2 that we used to brick
On those models the software bootloader is entered through the SWI vector,
not through the reset vector like we thought.

Use put_uint32le() instead of memcpy
Use mov pc, #0x200 instead of b 0x200, so we can use the same instruction
for both vectors.

Tested on Clipv2 and Clip Zip

Change-Id: I99dc24167dde5558d34fe9795c65b44ff91aa665
2012-01-31 14:23:53 -05:00
Thomas Martitz
54044fd6e9 Apply "Skip to outro" and specific skip lengths to individual tracks in a cuesheet.
Previously it applied to the whole file and you couldn't skip betweenn the
subtracks. Now it behaves consistently with real seperated tracks.

Change-Id: Ic1730ace142a05d9726b8c9afd67e94823651b60
2012-01-30 21:25:31 +01:00
Rafaël Carré
d1b47c2eeb Clipv2: fix button reading on some models
We neet to setup the XPD to work as GPIO
storage unaffected
Tested on working-already Clipv2 and on a 'brickable' clipv2

Change-Id: Idcbdfb6bd50d51b7f6f7e00b21df24fac9b3a6d8
2012-01-30 00:13:51 -05:00
Thomas Martitz
e7892c9851 clix: Remove redundant touchscreen mode setting. Remove blocks on touch release (to avoid accidental moves).
Change-Id: Ie758e64bff5e7e4ae0f3ffe9e954b533cafb4bed
2012-01-30 01:03:22 +01:00
Thomas Martitz
3e13fcddc6 clix: Add cells for 320x480. Enable for touchscreen RaaA.
Change-Id: Ic002cddb0ffdaa239d21c5b6ba016ab4cec32400
2012-01-30 00:51:43 +01:00
Thomas Martitz
8222388252 reversi: Fix viewport initialization. Improve button layout for portrait. Enable for toucschreen RaaA.
Change-Id: Ief0937693dc2056ed442f68a5ab76a006eaa1209
2012-01-30 00:17:47 +01:00
Thomas Martitz
d216cc7654 Remove touchscreen mode setting from reversi. It's now done in do_menu().
Change-Id: I82e1f0050d7102d6191422b268a1a3acdd71501c
2012-01-29 23:18:35 +01:00