Commit graph

901 commits

Author SHA1 Message Date
Robert Kukla
a07e93938c fix yellow and some house cleaning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 21:28:51 +00:00
Robert Kukla
fd3fe45bc1 FS#7487 - mpegplayer - video start time seek with resume
by John S. Gwynne & Brian J. Morey
This should stop the patch from breaking again and give them opportunity to improve it further.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 20:42:20 +00:00
Jonas Häggqvist
b24631c07f Fix crosscompiling the uisim with mingw32 by adding a definition of CLOSE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15047 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 17:51:02 +00:00
Nicolas Pennequin
ef9abe4385 Keep track of the number of opened files in the sim to enforce the same limit as on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 15:15:00 +00:00
Michael Sevakis
32f8c402de Fix some yellow that went unnoticed earlier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15010 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 06:13:05 +00:00
Michael Sevakis
6077e5b7c8 Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 22:27:27 +00:00
Michael Sevakis
035529c487 Enable auto reply for queue messages sent with queue_send. It's only nescessary to use queue_reply to return a value other than zero or to return a result before waiting on the queue again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14923 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 17:23:13 +00:00
Michael Sevakis
287d6223d3 Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 02:59:42 +00:00
Michael Sevakis
4117c64917 UISIMULATOR: Trying to make it snappy for everyone. Remove forced thread yield in switch_thread which starves threads that call it alot especially on fast 64-bit machines (which could yield _alot_ of time away). I suspect that was a way to get I/O to run better before having an I/O thread...and it did help before that addition. No longer needed it seems and the OS seems to handle scheduling without hints just fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14685 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 21:40:56 +00:00
Jens Arnold
5128080328 FS #7752 by Catalin Patulea: Stop 'Rockbox Info' from crashing multivolume target simulators (Ondio, Sansa).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14684 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 20:53:32 +00:00
Peter D'Hoye
3afaec3ead Accept FS #7750: simulator: add missing newlines after SDL errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14666 a1c6a512-1295-4272-9138-f99709370657
2007-09-10 21:18:19 +00:00
Michael Sevakis
c4a7631eb9 UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) problems caused by not worrying about states. Have rockbox objects initialized only by rockbox threads save for the main 'gui' thread which is a needed exception.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14660 a1c6a512-1295-4272-9138-f99709370657
2007-09-10 03:49:12 +00:00
Michael Sevakis
3a45faa6a8 More Simulator tweaking. Back to the counter but with 0 delay. Forget the semaphore; it makes for too much kernel thread yielding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14649 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 08:28:42 +00:00
Michael Sevakis
0107dfc827 UISIMULATOR: Give the host OS some needed context switching hints (which _is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14646 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 01:59:07 +00:00
Jens Arnold
424750ea95 Make sleep(0) in the sim behave more like on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14645 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 23:50:36 +00:00
Michael Sevakis
174ce90371 Fix some warnings in sim kernel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14640 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 12:32:41 +00:00
Michael Sevakis
f64ebb1c1f Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 12:20:53 +00:00
Mark Arigo
69b4654ea2 Allow the volume keys to be used in lists. Fix the sim buttons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14638 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 03:30:32 +00:00
Mark Arigo
e14a76093d Make the uisim build for the Sansa c200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14637 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 03:10:22 +00:00
Jonas Häggqvist
9305893e05 More FILES updating.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14611 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 22:19:40 +00:00
Jens Arnold
8a177345ce Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:06:23 +00:00
Nils Wallménius
414ee9fcc5 Fix wheel in sansa simulator, closes FS#7591
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14308 a1c6a512-1295-4272-9138-f99709370657
2007-08-13 09:43:50 +00:00
Nils Wallménius
f28da1a35a Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 19:49:03 +00:00
Jens Arnold
ea88571493 Fix red simulator builds. queue_broadcast() was missing...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14293 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 11:59:06 +00:00
Nils Wallménius
ff2a93f723 Remove the 'USB' menu item from the sim system menu, press the 'u' key to display the USB screen instead, will break binary lng files and voice files for the sims only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14269 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 14:10:50 +00:00
Jens Arnold
729b25c326 Added iPod 1st/2nd gen simulator bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14202 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 20:43:54 +00:00
Steve Bavin
abf3435ca7 Slightly less hacky sim queue_send(), fixes simulator crashes FS#7051 and FS#7245.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14113 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 09:07:09 +00:00
Jonathan Gordon
fe142f1803 not to self: should recompile after adding comments...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14098 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 11:50:56 +00:00
Jonathan Gordon
42e42226b8 working volume control in the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14097 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 11:41:42 +00:00
Kevin Ferrare
81aac2a430 Use multi-screen api for metronome plugin, and made it run in the simulator by implementing the timer functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 03:43:37 +00:00
Michael Sevakis
8584a6bb5d Sim needs a duplicate of the button_get_data implementation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13961 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 21:17:19 +00:00
Nicolas Pennequin
3213d4a0f5 Add a verbosity level command line option to the chackwps tool. This should make life easier for the themes.rockbox.org people.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13958 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 17:17:53 +00:00
Michael Sevakis
680afafc23 Fix all the red this time?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 13:41:59 +00:00
Michael Sevakis
7d759f6b9c Do some planned radio interface cleanup since adding in the LV24020LP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:20:31 +00:00
Michael Sevakis
979c2b7c66 Add lcd_sleep stub to sim too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13819 a1c6a512-1295-4272-9138-f99709370657
2007-07-08 13:13:25 +00:00
Michael Sevakis
e9baf604f9 Fix sim errors. Every extra byte feels guilt-free. ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13717 a1c6a512-1295-4272-9138-f99709370657
2007-06-25 20:58:15 +00:00
Steve Bavin
c0e6e20fb6 Oops. I should respect the simulator #ifdefs more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13618 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 09:04:50 +00:00
Michael Sevakis
d89eba1619 As ususual, fix the sim errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13574 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 19:39:59 +00:00
Michael Sevakis
dfeeeebee0 Fix some errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13322 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 15:39:01 +00:00
Michael Sevakis
2aaf45e643 Get samplerate switching working in the sim to be similar to on target. Make all pcm functions available there as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13320 a1c6a512-1295-4272-9138-f99709370657
2007-05-04 15:14:56 +00:00
Nicolas Pennequin
6ac306a515 Add a new commandline switch to the simulator: "--debugwps". It enables printing of advanced (and very verbose) WPS debugging information. Also make the debugging code a bit cleaner.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13257 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 23:58:57 +00:00
Nicolas Pennequin
2e2cf06dc9 Oops. This shouln't have been added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13252 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 00:58:10 +00:00
Nicolas Pennequin
d7fd989319 WPS Parser: On parse failure, print a (hopefully) useful error message with line number (sim only).
Also the debug code is still  disabled but now in a nicer way.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13251 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 00:57:04 +00:00
Daniel Stenberg
dd0f1c7db1 so totally out of date I removed them completely
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13224 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 22:07:08 +00:00
Jens Arnold
49be3faf07 A bit more readable code. Also saves one buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13222 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 17:35:05 +00:00
Daniel Stenberg
f6209cc959 a little extra poke to get the sim to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:58:39 +00:00
Jens Arnold
2fd7c3c828 Make the simulator work with unicode filenames on windows. This includes both file operations and console (debug) output. Note that the console window _must_ be configured to use a truetype font for proper unicode display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13211 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 20:17:24 +00:00
Jens Arnold
0b7bb31453 Simplification, queue pointers don't wrap (except at INT_MAX, but the calculation is still correct in this case). Implemented queue_count() for the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13154 a1c6a512-1295-4272-9138-f99709370657
2007-04-14 09:47:47 +00:00
Peter D'Hoye
6be615615d Fix sim crashes on long filenames. Patch by Sean Morrisey with some minor changes by me. Fixes FS #6009
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13138 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:38:54 +00:00
Jens Arnold
47bf6c5a5a Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:12:13 +00:00