Commit graph

622 commits

Author SHA1 Message Date
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
Jens Arnold
d4e53976d9 Renamed has_new_lcd() to is_new_player(), and got rid of the alias
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Linus Nielsen Feltzing
335190567c Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5417 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 12:45:07 +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
687793ca67 oops, dear sims, please excuse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5318 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 19:07:46 +00:00
Jörg Hohensohn
91f9350cbd moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Linus Nielsen Feltzing
ba0348eb83 Another fix for bug #1016011 by Eric Lassauge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5198 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 06:02:39 +00:00
Linus Nielsen Feltzing
25c0d3ace9 Patch #1016011 by Eric Lassauge, fixes X11 simulator build in Cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5176 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 11:45:29 +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
Daniel Stenberg
fc1e925c16 Rearranged makefiles again to move platform-specific stuff from the Makefiles
to either the configure script or to be ifdefed in the sources.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +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
Björn Stenberg
bbcd7406fa The Iriver display is blue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5083 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 20:03:03 +00:00
Björn Stenberg
8b6950493b Moved LCD_WIDHT/HEIGHT from lcd driver to config file.
Simulators now use conig-xxx.h.
Added Iriver H100 to tools/configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 14:36:08 +00:00
Daniel Stenberg
829a6e2f09 fixed URL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5076 a1c6a512-1295-4272-9138-f99709370657
2004-09-15 08:47:11 +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
c90319e24b x11sim for cygwin: TARGET is defined with the .exe extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4971 a1c6a512-1295-4272-9138-f99709370657
2004-07-28 07:41:44 +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
f4f4111536 Added possibility to select the priority of the ID3 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 14:10:48 +00:00
Linus Nielsen Feltzing
da7177749a Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4943 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 23:54:59 +00:00
Jörg Hohensohn
b1403ee024 New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Linus Nielsen Feltzing
15d04fdb00 Somewhat better key combination handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4930 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:38:43 +00:00
Linus Nielsen Feltzing
865effac7e Brushed up, made it more like the win32 makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4928 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:06:03 +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
ad5c0ed245 Forgot to remove all traces of the obsolete repeat mask functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4909 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:29:22 +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
b9a5198ba7 Player LCD simulation no longer writes outside the frame buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4899 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 11:42:27 +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