Commit graph

652 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Jens Arnold
3b8dcf5ebb X11 simulator: Always restore the x11 button autorepeat setting, regardless at which point exit() is called.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6216 a1c6a512-1295-4272-9138-f99709370657
2005-03-19 00:46:42 +00:00
Jens Arnold
74b731edc6 Major rework of the x11 simulator button handling. (1) Button repeat should 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-18 23:51:52 +00:00
Jens Arnold
31b28f523a Extensive code policing (indentation levels, tab characters).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 00:03:22 +00:00
Daniel Stenberg
2dddde253f remove extra kludge we used to kill warnings on very old mingw cross-compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6178 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 23:54:16 +00:00
Jens Arnold
bb9dfa0b02 Simulators: more efficient implementation of sim_filesize().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6175 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 19:26:59 +00:00
Daniel Stenberg
db44dadcab attempt to kill two annoying win32 cross-compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
2005-03-08 22:37:15 +00:00
Jens Arnold
6c19c8529c X11 simulator improvements: Proper thread stopping and realtime ticks, based on patch #1048898.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6165 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 20:04:05 +00:00
Daniel Stenberg
0bf50f02cc adjusted to use the new Make include file to create the SRC variable from
the SOURCES file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6155 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 15:53:44 +00:00
Jens Arnold
0231c61699 Win32 simulator performance optimisation: Invalidate onle the part of the 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-06 13:28:40 +00:00
Jens Arnold
576d029ece Simulator: sim_rename() must not use off_t in the argument for the same 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-05 21:48:58 +00:00
Michiel Van Der Kolk
abacb23796 dummy button_hold() function to fix iriver sim builds.
(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-03-03 15:55:11 +00:00
Jens Arnold
399c081f93 Simulators: lseek() working again for systems with an off_t datatype 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-28 18:32:57 +00:00
Jens Arnold
c90781b6e6 Added common simulator Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6076 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 02:09:57 +00:00
Jens Arnold
dc838d26ff Fix: really clear the button queue when it is meant to be cleared.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6074 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 00:33:15 +00:00
Jens Arnold
527e121757 Win32 simulator also needs open() option mangling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6050 a1c6a512-1295-4272-9138-f99709370657
2005-02-24 23:11:21 +00:00
Jens Arnold
78724269a5 Proper disk statistics for the win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6042 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 21:55:48 +00:00
Jens Arnold
cf208c50a2 Killed some simulator warnings; proper plugin error reporting for Win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6039 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 18:21:16 +00:00
Daniel Stenberg
ba454115ec file.h is not accessible for the simulated-functions files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6038 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 13:02:56 +00:00
Daniel Stenberg
fe732cd399 removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6033 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:53:54 +00:00
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Daniel Stenberg
1ceb575c8a make the proto match the one used in rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6008 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 15:43:20 +00:00
Daniel Stenberg
74826dd158 charcell code only on charcell sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6007 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 15:43:02 +00:00
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Jens Arnold
b4527a3421 Simulators: Made the mp3 buffer size depend on the MEMORYSIZE setting for better simulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5922 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 23:56:38 +00:00
Jens Arnold
7999e75204 Fixed gmini X11 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5898 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 07:05:25 +00:00
Jens Arnold
df2e3b4080 I said 'correct'...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5897 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:40:28 +00:00
Jens Arnold
9540759bab Print correct button assignments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5896 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:29:54 +00:00
Jean-Philippe Bernardy
74d55eeb1c long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5846 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 23:32:36 +00:00
Jean-Philippe Bernardy
5804664fe7 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 23:11:20 +00:00
Björn Stenberg
3662ad2ae3 Use internal strcasestr implementation, since not all compilers provide it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5700 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 15:48:38 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Jens Arnold
97a0ef02a4 Win32 simulator rework: (1) Better downscaling on resize & for the player lcd. (2) Pulling the window corners now calculates the diagonal. Jumpy resize should be finally gone. (4) Fixed roundoff error for size percentage display. (4) Simplifications & some code policeing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5660 a1c6a512-1295-4272-9138-f99709370657
2005-01-25 23:47:28 +00:00
Jean-Philippe Bernardy
950677dd1a more int -> long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5657 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:52:42 +00:00
Björn Stenberg
99dbd7c5e9 Fixed red build...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5648 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 07:37:07 +00:00
Björn Stenberg
3d53032176 Fixed yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5647 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 07:15:57 +00:00
Jens Arnold
2e41950fcf Fixes: (1) Properly redraw display on window resize & putting into foreground. (2) No more jumpy resizing when pulling the window corners.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5640 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 12:43:33 +00:00
Jens Arnold
424d505637 Eanbled building gmini simulator (Win32 & X11).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5639 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:06:01 +00:00
Jens Arnold
c188e83edd Win32 simulator: Fixed scaling on resize. Keep window title (model) on resize, only adding the percentage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5637 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 00:56:09 +00:00
Linus Nielsen Feltzing
cdd236c036 Wrong filename for directory voice files in the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5620 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 22:32:09 +00:00
Jens Arnold
57c129f34d Use the correct lcd code for iRiver simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5589 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:18:21 +00:00
Jens Arnold
e6f403f509 X11 sim: Button handling adapted to iRiver and reworked a bit. Removed tab chars.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5587 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:14:34 +00:00
Jens Arnold
b96333a114 Win32 sim: Added some alternative key-to-button mappings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5586 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:12:34 +00:00
Björn Stenberg
5df90b4875 Added ID3 database support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5576 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:49:40 +00:00
Jens Arnold
5bc7e9a952 Added the new Win32 UI images to the tarball
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5572 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 07:42:46 +00:00
Jens Arnold
c9aacb61f4 Win32 simulator: Button handling adapted to iRiver and reworked a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5569 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 00:29:08 +00:00
Jens Arnold
9f700acd0b Win32 simulator extensions, based on patch #1041560 by Eric Lassauge: Background pictures, LCD colours and dimensions depending on unit; build uses language selected in configure. Fixed vertical window size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5568 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 00:25:23 +00:00
Jörg Hohensohn
c540e82ffb sim fix for ATA stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5516 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:38:47 +00:00
Daniel Stenberg
107f2d174d minor correction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5499 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 09:20:13 +00:00
Daniel Stenberg
c9d41b4b94 Make the simulator builds acknowledge the plugins variable set in the configure
script.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5464 a1c6a512-1295-4272-9138-f99709370657
2004-11-24 16:45:08 +00:00