summaryrefslogtreecommitdiffstats
path: root/uisimulator
AgeCommit message (Collapse)AuthorFilesLines
2005-07-22Fixed the simulator.Miika Pekkarinen1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7219 a1c6a512-1295-4272-9138-f99709370657
2005-07-22More accurate playback position calculation.Miika Pekkarinen1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Fixed the simulator.Miika Pekkarinen1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7212 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Crossfade (and pcm buffer size) length is now configurable.Miika Pekkarinen1-5/+0
Implemented anti-skip buffer setting for iriver also. Settings block bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Check the correct thread handle.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
2005-07-20Don't hog the CPU, but keep sound playback working. (This might need some ↵Magnus Holmgren1-4/+16
tweaking...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7206 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Sound playback for the Win32 simulator, based on WaveOut. Not yet enabled by ↵Magnus Holmgren4-0/+190
default (edit autoconf.h). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7203 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Made Win32 thread management similar to the X11 one (previously yield() ↵Magnus Holmgren5-22/+27
could make a thread stop, seemingly forever). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7202 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Win32 needs the mode bits for open too.Magnus Holmgren1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
2005-07-15check for/use sys/soundcard.h instead (since it works for cygwin too)Daniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7162 a1c6a512-1295-4272-9138-f99709370657
2005-07-15Enable crossfade for simulator.Miika Pekkarinen1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7151 a1c6a512-1295-4272-9138-f99709370657
2005-07-14Win32 sim: better bitmap initialisation.Jens Arnold1-2/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7148 a1c6a512-1295-4272-9138-f99709370657
2005-07-14First take at PCM playback in the X11 sim on Linux.Daniel Stenberg5-2/+139
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
2005-07-14brought back drawdots() and drawrectangles() since the player sim needs themDaniel Stenberg1-0/+33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7138 a1c6a512-1295-4272-9138-f99709370657
2005-07-14introducing H1x0 style grayscale support in the X11 simDaniel Stenberg5-311/+96
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7137 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Win32 simulators: Fixed button repeat handling when releasing buttons.Jens Arnold1-45/+45
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7134 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Separated buffering stuff from pcm_playback to pcmbuf. Renamed someMiika Pekkarinen1-0/+29
function calls (audiobuffer -> pcmbuf etc.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Removed picky warningsLinus Nielsen Feltzing2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-07-10Fixed a simulator crash while trying to play a song. Fixed crossfadeMiika Pekkarinen1-0/+72
when selecting a new track to play. Most likely fixed a bug which caused playback to stop on track change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7094 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Simulator fixes: H120 Win32 simulator build working. H120 X11 simulator uses ↵Jens Arnold3-3/+3
correct LCD background colour. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7075 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Remote LCD support for the Win32 H1x0 simulator.Jens Arnold5-15/+120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7061 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold4-93/+132
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-06-25Core functions taking advantage of the new, optimised lcd_hline() and ↵Jens Arnold1-8/+6
lcd_vline() functions. Some cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-24Fix bug #1174245: Win32 simulator didn't keep track of pressed keys properly.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6852 a1c6a512-1295-4272-9138-f99709370657
2005-06-18make it build fine for H300 (keypads) as wellDaniel Stenberg1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6761 a1c6a512-1295-4272-9138-f99709370657
2005-06-17Simulator stub for remote lcd flip.Jens Arnold1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6740 a1c6a512-1295-4272-9138-f99709370657
2005-06-17Rename UI-v2.bmp to UI-recorderv2.bmp (Rec v2 win32 sim now builds)Dave Chapman1-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6736 a1c6a512-1295-4272-9138-f99709370657
2005-05-30Added dummy function and simulator stub.Jens Arnold1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
2005-05-24No second (explicit) call to build libcomsim.aJens Arnold1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6515 a1c6a512-1295-4272-9138-f99709370657
2005-05-23Remote LCD support added to the x11 simulator, take 1. The win32 simulatorDaniel Stenberg6-13/+187
still builds, but shows no remote LCD yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-11Simplification.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6456 a1c6a512-1295-4272-9138-f99709370657
2005-05-07Fixed makefiles for autoconf.g include.Daniel Stenberg3-7/+11
Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-04-04More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-03-19X11 simulator: Always restore the x11 button autorepeat setting, regardless ↵Jens Arnold1-3/+8
at which point exit() is called. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6216 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Major rework of the x11 simulator button handling. (1) Button repeat should ↵Jens Arnold8-159/+331
always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Extensive code policing (indentation levels, tab characters).Jens Arnold4-317/+309
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-09remove extra kludge we used to kill warnings on very old mingw cross-compileDaniel Stenberg1-7/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6178 a1c6a512-1295-4272-9138-f99709370657
2005-03-09Simulators: more efficient implementation of sim_filesize().Jens Arnold1-5/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6175 a1c6a512-1295-4272-9138-f99709370657
2005-03-08attempt to kill two annoying win32 cross-compiler warningsDaniel Stenberg1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
2005-03-07X11 simulator improvements: Proper thread stopping and realtime ticks, based ↵Jens Arnold1-33/+56
on patch #1048898. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6165 a1c6a512-1295-4272-9138-f99709370657
2005-03-06adjusted to use the new Make include file to create the SRC variable fromDaniel Stenberg3-6/+9
the SOURCES file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6155 a1c6a512-1295-4272-9138-f99709370657
2005-03-06Win32 simulator performance optimisation: Invalidate onle the part of the ↵Jens Arnold1-8/+21
window that actually changed in lcd_update() and lcd_update_rect(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6150 a1c6a512-1295-4272-9138-f99709370657
2005-03-05Simulator: sim_rename() must not use off_t in the argument for the same ↵Jens Arnold1-12/+13
reason as sim_lseek(). Removed parentheses around system function names as the function name mangling is done differently with the new build system. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6145 a1c6a512-1295-4272-9138-f99709370657
2005-03-03dummy button_hold() function to fix iriver sim builds.Michiel Van Der Kolk2-0/+14
(needs to be fixed to actually work on sims later) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6117 a1c6a512-1295-4272-9138-f99709370657
2005-02-28Simulators: lseek() working again for systems with an off_t datatype ↵Jens Arnold1-12/+12
differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
2005-02-28Added common simulator Makefile.Jens Arnold1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6076 a1c6a512-1295-4272-9138-f99709370657
2005-02-28Fix: really clear the button queue when it is meant to be cleared.Jens Arnold2-1/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6074 a1c6a512-1295-4272-9138-f99709370657
2005-02-24Win32 simulator also needs open() option manglingJens Arnold1-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6050 a1c6a512-1295-4272-9138-f99709370657
2005-02-22Proper disk statistics for the win32 simulator.Jens Arnold1-3/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6042 a1c6a512-1295-4272-9138-f99709370657
2005-02-22Killed some simulator warnings; proper plugin error reporting for Win32 ↵Jens Arnold2-10/+17
simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6039 a1c6a512-1295-4272-9138-f99709370657