Commit graph

221 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Hardeep Sidhu
f7f411604e Fixed VC6 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5373 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 17:14:46 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Björn Stenberg
df956d9c18 Updated to use config.h instead of command-line -Ddefines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5087 a1c6a512-1295-4272-9138-f99709370657
2004-09-17 08:45:39 +00:00
Jens Arnold
2f20b3e784 Const policed pointer arguments to functions, part 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5001 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 19:59:06 +00:00
Jens Arnold
0ceaa5e365 Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Linus Nielsen Feltzing
f64ceda357 win32sim: make clean now removes libplugin.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4970 a1c6a512-1295-4272-9138-f99709370657
2004-07-28 07:38:34 +00:00
Linus Nielsen Feltzing
1f019981e4 The win32 simulator window is now shown in the task bar, and the tick resolution is more correct, thanks to BlueChip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4915 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 07:47:56 +00:00
Linus Nielsen Feltzing
b7aeed9d57 Added dependency on the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4910 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:13:59 +00:00
Linus Nielsen Feltzing
a754dd84b8 Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Linus Nielsen Feltzing
e03eb4596b Simplified the win32 sim makefile a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4898 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 10:52:00 +00:00
Linus Nielsen Feltzing
afd7421a4c Added FM radio simulation, with a good station at 99.4MHz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4823 a1c6a512-1295-4272-9138-f99709370657
2004-07-02 07:43:49 +00:00
Linus Nielsen Feltzing
a8dab4c08a New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 13:31:14 +00:00
Linus Nielsen Feltzing
e61f6fa599 Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 07:16:31 +00:00
Jörg Hohensohn
e6f1a4aaa4 wrong functions have been here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4773 a1c6a512-1295-4272-9138-f99709370657
2004-06-19 09:25:49 +00:00
Linus Nielsen Feltzing
5b9c4c1297 The plugin lib now works in the win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4747 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 05:41:41 +00:00
Hardeep Sidhu
fb26bfb662 Fixed VC++ build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4739 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 07:00:50 +00:00
Hardeep Sidhu
2dafebfe16 Previous change breaks VC++ build, reverting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4738 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 06:59:30 +00:00
Linus Nielsen Feltzing
a6142ab7ab Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:29:52 +00:00
Hardeep Sidhu
9d13207495 Added filetypes.c to VC project. Fixed compiler warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4708 a1c6a512-1295-4272-9138-f99709370657
2004-05-27 01:38:10 +00:00
Björn Stenberg
fb00c2190b Plugin/file type association system. Patch #879411 by Henrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4677 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 20:08:24 +00:00
Hardeep Sidhu
ffe0da5b25 Fixed win32 sim errors/warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4526 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 21:32:43 +00:00
Linus Nielsen Feltzing
6eb60ebb08 Fixed win32 sim error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4525 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 11:29:46 +00:00
Linus Nielsen Feltzing
7ddf0d673d Reworked the time get/set functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4522 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 10:23:57 +00:00
Jörg Hohensohn
253eadb525 OK, no HIGHEST_IRQ_LEVEL defined for the sim. I use a number again, the code here is pointless anyhow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4375 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 16:59:14 +00:00
Jörg Hohensohn
81e309dd1a We had a few set_irq_level(15) left in the code, instead of the new set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 16:45:18 +00:00
Linus Nielsen Feltzing
9fefa39fbc Yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
2004-02-25 13:26:49 +00:00