summaryrefslogtreecommitdiff
path: root/uisimulator
AgeCommit message (Collapse)Author
2010-05-27Generate C file / header for svn version stringRafaël Carré
It's now easier to force rebuild of files depending on the svn revision version.c/version.h are generated once with new tools/genversion.sh Changes in the VCS are still not auto detected, so you'll have to remove builddir/version.* if you want to change the string in your binaries APPSVERSION is now called RBVERSION and is defined in the generated header instead of being defined by the Makefiles appsversion is now called rbversion (the plugin api number didn't change since old modules are still binary compatible) Change some bootloaders to use knwon-at-buildtime RBVERSION instead of "%s" + rbversion You'll need to run make clean to regenerate dependencies after the removal of apps/version.h To build binaries with a different version string, hand-edit tools/version.sh or tools/genversion.sh (which calls the former) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-22rtc_enable_alarm() needs no return valueRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26245 a1c6a512-1295-4272-9138-f99709370657
2010-05-18uisimulator/sdl only contains bitmaps, rename to 'bitmaps'Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26139 a1c6a512-1295-4272-9138-f99709370657
2010-05-18Rename sdl lcd initialization to (remote_)lcd_init_device which enables ↵Thomas Martitz
removing two #ifdef SIMULATOR and makes it happen as on target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26137 a1c6a512-1295-4272-9138-f99709370657
2010-05-15- Move uisimulator/sdl/*.[ch] into the target tree, under ↵Thomas Martitz
firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. - Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization). This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
2010-05-15Gigabeat S: Fully enable access to hardware tone controls and 3-D effect ↵Michael Sevakis
feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26051 a1c6a512-1295-4272-9138-f99709370657
2010-05-12Fix r25970 red and yellow *and* a bug uncovered for pp5002 where ↵Michael Sevakis
pcm_play_dma_start wasn't actually initializing the dma_play_data with the first buffer info (must've happened during pp502x DMA conversion). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25971 a1c6a512-1295-4272-9138-f99709370657
2010-05-12fix the last of the reds, and make RDS tags actually work (and add them to ↵Jonathan Gordon
the hardcoded radio skin) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25966 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Fix disastrous variable shadowing, change casts to unsigned in (cygwin ↵Thomas Martitz
doesn't like mode_t there, and unsigned int should be equally correct) and check the correct bitmask in sim_open(). Should repair filesystem accesses on the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25881 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix the remaining reds.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25858 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz
the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz
wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-04Make some internal things static, add logf line to sound.cJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25809 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - binary filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25726 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - changed filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Fix yellowsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25720 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP ↵Thomas Martitz
effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25719 a1c6a512-1295-4272-9138-f99709370657
2010-04-16Use API call instead of accessing a global variable for receiving the ↵Thomas Martitz
current thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25657 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: simulatorRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25361 a1c6a512-1295-4272-9138-f99709370657
2010-03-20Submit FS#11065. Introduce a new system setting for en-/disabling the ↵Andree Buschmann
Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25257 a1c6a512-1295-4272-9138-f99709370657
2010-03-20Switch to using statvfs for simulated fat_size(). This makes io.c build on ↵Jens Arnold
opensolaris, and also removes special ifdefing for freebsd and OS X. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25256 a1c6a512-1295-4272-9138-f99709370657
2010-03-15UIsimulator: iAudio M3 remote keys add.Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25204 a1c6a512-1295-4272-9138-f99709370657
2010-02-17Sansa Clip+: simulatorRafaël Carré
Add the Clipv1 bitmap for Clipv2 so it builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24731 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Turn the simulator background into a clickable area. i.e. you click on the ↵Frank Gevaerts
play button to press play. It also maps mouse scrollwheel events to rockbox scrollwheel events. This facilitates testing because you don't have to move your hand between the mouse and keyboard. Author: Fred Bauer Flyspray: FS#11008 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24696 a1c6a512-1295-4272-9138-f99709370657
2010-02-01FS#10954: fix rename under simulator by Alex BenneeAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24443 a1c6a512-1295-4272-9138-f99709370657
2010-02-01Packard Bell Vibe 500: add the simulatorSzymon Dziok
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24439 a1c6a512-1295-4272-9138-f99709370657
2010-01-19Fix red, moved around a bit to much.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24291 a1c6a512-1295-4272-9138-f99709370657
2010-01-19Fix FS#10867 and a few more potential issues by imitate target scrollwheel ↵Thomas Martitz
behavior more (although that behavior is suboptimal imo). Also, default for maximum backlight brightness in the sim and move stuff into sim.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24289 a1c6a512-1295-4272-9138-f99709370657
2010-01-16Simulator: Fix reds.Tomer Shalev
Add key mapping of touchscreen targets M-Robe 500 and Onda VX747 to avoid use of arrow keys. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24254 a1c6a512-1295-4272-9138-f99709370657
2010-01-16Simulator: Add key mappings for Cowon D2Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24253 a1c6a512-1295-4272-9138-f99709370657
2010-01-16Simulator: Make touchscreen targets usable on keyboards w/o numpad (laptops)Tomer Shalev
Use 7,8,9,u,i,o,j,k,l as equivalent to the numpad keys used to simulate touching in grid mode (3x3 buttons). These are the keys usually used on such keyboards for numpad keys when the Num Lock is enabled. The USB key on these targets is changed to 'c' (connect) to avoid conflict in key mappings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24252 a1c6a512-1295-4272-9138-f99709370657
2010-01-03More tabs removedAndree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24157 a1c6a512-1295-4272-9138-f99709370657
2010-01-01Simplify some expressions using the ? operatorBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
2009-12-31FS#10047 : Clipv2Rafaël Carré
Reuse some code from Clip (LCD) and a lot of code from AS3525 Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs) SD code still not working For an unknown reason LCD doesn't work anymore (to be investigated) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-17Enable backlight brightness in simulatorMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24042 a1c6a512-1295-4272-9138-f99709370657
2009-12-15Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev
to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-07A few more target rename fixesBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23887 a1c6a512-1295-4272-9138-f99709370657
2009-12-04FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables ↵Nils Wallménius
Backlight Only' setting in simulators git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23849 a1c6a512-1295-4272-9138-f99709370657
2009-11-23UISimulator - prevent multiple definition of usb_inserted when USB_NONE is ↵Michael Chicoine
defined This fixes simulator build errors on mini2440 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23723 a1c6a512-1295-4272-9138-f99709370657
2009-10-31Simulator: change the fix around so that it applies to all scrollwheel targets.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23439 a1c6a512-1295-4272-9138-f99709370657
2009-10-31Simulator: Fix scrollwheel targets without HAVE_WHEEL_ACCELERATION definedKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23438 a1c6a512-1295-4272-9138-f99709370657
2009-10-31FS#10746 - Ondavx777 sim doesn't build: add device pictureMichael Chicoine
Thanks to Yann Muller git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23435 a1c6a512-1295-4272-9138-f99709370657
2009-10-29Remove svn:executable from simulator UIMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23400 a1c6a512-1295-4272-9138-f99709370657
2009-10-28make the mini2440 simulator compile.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23379 a1c6a512-1295-4272-9138-f99709370657
2009-10-26FS#10700 - Add --noremote option to simulator.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23358 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-10-14Working Nano2G UI sim. UI-ipodnano2g.bmp courtesy of Marianne Arnold, based ↵Dave Chapman
on her SVG for the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23176 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Changes to make the Nano2G sim build. It is still missing a UI-ipodnano2g.bmpDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23163 a1c6a512-1295-4272-9138-f99709370657
2009-10-06Simulator: Fix scrollwheel targets.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22977 a1c6a512-1295-4272-9138-f99709370657