Commit graph

835 commits

Author SHA1 Message Date
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
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
Linus Nielsen Feltzing
64c53c6dc2 Removed some whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4850 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:39:45 +00:00
Linus Nielsen Feltzing
4242a34ad6 Patch #961687 by Eric Lassauge, MP3 playback using libmad in the X11 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4849 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:12:39 +00:00
Linus Nielsen Feltzing
b6f67a8c10 The win32 open() was called with the wrong flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4845 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 05:50:20 +00:00
Linus Nielsen Feltzing
50a4813e6a Fixed the FM sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4830 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 20:56:27 +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
Daniel Stenberg
bdfc932acc extended the clean target to remove the libplugin and the rockbox.zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4781 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 22:03:15 +00:00
Daniel Stenberg
4df35e5f78 provide libplugin support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4779 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 22:00:21 +00:00
Jörg Hohensohn
74eb64257a infrastructure for sorting by date+time, now we "only" need to decide on the UI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4778 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 16:34:29 +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
Kjell Ericson
8586786d98 Added backlight_off to simulator stubs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4770 a1c6a512-1295-4272-9138-f99709370657
2004-06-18 10:05:46 +00:00
Jens Arnold
79477702d5 Fixed a warning (unused variable)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4760 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 20:56:44 +00:00
Daniel Stenberg
6b18acd5d8 removed silly debug outputs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4757 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 15:20:06 +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
Daniel Stenberg
56e6335e8f Create files with proper permissons on unix/linux, make open() and creat()
warn and return -1 if the file name doesn't start with slash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4746 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 22:32:13 +00:00
Daniel Stenberg
36c9a958e4 translate from rockbox's open() options to the options used by the host
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4745 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 22:22:49 +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
Jörg Hohensohn
e7b2ed9c3e remove_thread() stubbed for the simulator, but this is a "make it compile" hack. It should rather do the real thing, I just don't know how.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4572 a1c6a512-1295-4272-9138-f99709370657
2004-05-01 15:55:41 +00:00
Jens Arnold
e8bb31ee13 Added missing newline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4537 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 09:44:07 +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
6cc6e8b9c4 Removed some X11 simulator warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4524 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 11:08:07 +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
Linus Nielsen Feltzing
942380a7b3 Sim warning, as usual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4514 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 10:03:49 +00:00
Linus Nielsen Feltzing
8fa821dd8c Added rmdir() for the x11 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4511 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 09:24:38 +00:00
Jörg Hohensohn
99483dee1c talkbox clip renamed to ".dirname.tbx", most people voted for a non-mp3 extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4485 a1c6a512-1295-4272-9138-f99709370657
2004-04-10 09:04:26 +00:00
Jörg Hohensohn
9568ca6055 my usual simulator postfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4472 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 07:21:55 +00:00
Jörg Hohensohn
c778aa6ac8 warning and simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4466 a1c6a512-1295-4272-9138-f99709370657
2004-04-04 20:34:28 +00:00
Jörg Hohensohn
5e4aa64009 my usual simulator postfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4441 a1c6a512-1295-4272-9138-f99709370657
2004-03-27 00:42:32 +00:00
Jörg Hohensohn
5495d6ec2e another sim fix, I just _love_ to break these builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4417 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 00:15:16 +00:00
Jörg Hohensohn
78f06b9a2c missing stub broke the sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4415 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:41:36 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +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
Jörg Hohensohn
f05941964b thanks Hardeep: fix for the Win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4290 a1c6a512-1295-4272-9138-f99709370657
2004-01-31 20:35:14 +00:00
Jörg Hohensohn
73681ff4ef inconsistent argument type for backlight_set_timeout() fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +00:00
Hardeep Sidhu
bd7c07a600 Fixed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4277 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:39:37 +00:00
Daniel Stenberg
8e044b7856 mkdir() fix for the winsim, should fix the red build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4269 a1c6a512-1295-4272-9138-f99709370657
2004-01-23 11:36:02 +00:00
Linus Nielsen Feltzing
ef7293f0bc New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Hardeep Sidhu
91cb20b335 Added bookmark.c. Defined HAVE_RTC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4254 a1c6a512-1295-4272-9138-f99709370657
2004-01-18 21:29:06 +00:00
Björn Stenberg
a108ec2ebd Added Benjamin Metzlers bookmarking feature (patch #669440)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4227 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 00:13:04 +00:00
Hardeep Sidhu
be01f63c83 Fix cygwin/X11 build by defining _SSIZE_T_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4219 a1c6a512-1295-4272-9138-f99709370657
2004-01-10 19:29:00 +00:00
Hardeep Sidhu
1e32b94441 Added mp3_playback.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4217 a1c6a512-1295-4272-9138-f99709370657
2004-01-10 02:07:15 +00:00
Jörg Hohensohn
daaec5df2f still trying to fix the sim (blindfolded)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4195 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 23:42:56 +00:00
Jörg Hohensohn
97c76f9f68 trying to fix the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4194 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 23:19:39 +00:00
Jörg Hohensohn
5040cc53ec Screen buffer transposed, such that bytes in X-direction are consecutive. This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 23:41:45 +00:00
Hardeep Sidhu
9aad0db9df Use rockbox random in win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4175 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 17:05:20 +00:00
Linus Nielsen Feltzing
c561e53948 Patch #863775 by Bluechip - fixes window size on win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4173 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 20:24:56 +00:00
Jörg Hohensohn
a5e1d06354 Upside Down option for display (and buttons) now wired into the display settings menu, persistence, simulator stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 10:00:37 +00:00
Daniel Stenberg
26c079c233 added the lcd-common.c to the build, which fixes the lcd_blit build problem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4150 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:33:53 +00:00
Daniel Stenberg
41cfe303a6 fixed lcd_blit for the (x11) sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4148 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:25:51 +00:00
Hardeep Sidhu
00acdfa6ef Added viewer for currently playing playlist. Accessed from Menu->Playlist Options->View Current Playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
2003-12-10 00:11:25 +00:00
Daniel Stenberg
ae960a9ece my take at fixing the simulator warnings by adding mode_t, size_t, ssize_t
and off_t


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 21:58:38 +00:00
Hardeep Sidhu
bb5c4ff6bc Game and demo menus are no longer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4081 a1c6a512-1295-4272-9138-f99709370657
2003-11-29 05:42:26 +00:00
Björn Stenberg
fcbf103220 Removed games and demos menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3966 a1c6a512-1295-4272-9138-f99709370657
2003-10-01 22:30:04 +00:00
Hardeep Sidhu
71316085de Print debug messages to stdout if no debugger present
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3939 a1c6a512-1295-4272-9138-f99709370657
2003-08-23 21:01:04 +00:00
Hardeep Sidhu
a638dce078 Build the rockbox icon into executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3892 a1c6a512-1295-4272-9138-f99709370657
2003-07-26 15:55:46 +00:00
Hardeep Sidhu
113ac0701b Win32 file functions were not being redefined correctly for plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3890 a1c6a512-1295-4272-9138-f99709370657
2003-07-25 23:28:32 +00:00
Hardeep Sidhu
1f6021ba89 Changed window attribute to overlapped so it isn't always on top.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3889 a1c6a512-1295-4272-9138-f99709370657
2003-07-25 23:06:14 +00:00
Daniel Stenberg
832369ce19 Include Roland's icon as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3875 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 09:52:41 +00:00
Daniel Stenberg
0d684f7489 Simulator icon by Roland.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3874 a1c6a512-1295-4272-9138-f99709370657
2003-07-24 09:50:45 +00:00
Björn Stenberg
4b392cd105 Added dependency to the tools dir, so it's automatically built with the rest. Updated build docs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3825 a1c6a512-1295-4272-9138-f99709370657
2003-07-10 11:52:42 +00:00
Hardeep Sidhu
8ba4044431 Extract exports from obj file. Don't ignore dllwrap errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3819 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 06:31:55 +00:00
Björn Stenberg
f6ed970b11 Added FreeBSD support to uisimulator. Patch by Keith Hubbard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3811 a1c6a512-1295-4272-9138-f99709370657
2003-07-04 08:30:01 +00:00
Hardeep Sidhu
827aad3b87 Roland's fix for running simulator on NT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3805 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 04:04:28 +00:00
Hardeep Sidhu
6cb7b15be8 Plugins should not require cygwin to run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3804 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 03:52:11 +00:00
Hardeep Sidhu
8dd3a822c7 Fixed simulator warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3798 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 23:43:29 +00:00
Hardeep Sidhu
730986a898 Fixed simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 23:39:05 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Hardeep Sidhu
b76dca2df5 X11/Cygwin simulator doesn't require libdl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3788 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 03:43:07 +00:00
Hardeep Sidhu
a26427aba8 Changed win32 simulator to use plugin.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3785 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 23:44:53 +00:00
Hardeep Sidhu
dd5d3f652f Changed win32 simulator to use plugin.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3784 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 23:38:03 +00:00
Hardeep Sidhu
b421750102 Plugins now work with win32 simulator (.rock files are built as dll's)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3781 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 21:57:31 +00:00
Hardeep Sidhu
3f9fdafc69 Disable plugin loading on win32 simulator for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3772 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 17:22:22 +00:00
Björn Stenberg
117be9e6e4 Simulators must link with libdl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3771 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 17:06:16 +00:00
Björn Stenberg
3f54121fde Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3770 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:43:15 +00:00
Hardeep Sidhu
4872bfee5f When reading a dir, only set the attribute information we care about in the dirent structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3754 a1c6a512-1295-4272-9138-f99709370657
2003-06-18 04:48:40 +00:00
Hardeep Sidhu
dedc8cee86 Fixed cygwin+mingw compile time error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3751 a1c6a512-1295-4272-9138-f99709370657
2003-06-14 18:56:33 +00:00
Hardeep Sidhu
ec6a6925ef Fixed compile time error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3742 a1c6a512-1295-4272-9138-f99709370657
2003-06-11 05:13:53 +00:00
Kjell Ericson
ffefc5d5e1 A bit faster update of Player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3730 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 08:29:21 +00:00
Hardeep Sidhu
c516064fc3 Mingw doesn't like io.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3712 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 03:55:32 +00:00
Hardeep Sidhu
71197f1d02 Include proper io headers to insure that proper file arguments are used. Also mapped flush to appropriate win32 call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3711 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 01:59:32 +00:00
Hardeep Sidhu
23d1cdd4de Last change broke the mingw32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3710 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 01:46:24 +00:00
Hardeep Sidhu
e7d028e2fd Default file mode should be O_BINARY to be consistent with rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3708 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 00:29:50 +00:00
Jörg Hohensohn
52c4c82b5c buffer.c added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3676 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 07:38:06 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
ce9294476e Added misc.c to the sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3650 a1c6a512-1295-4272-9138-f99709370657
2003-05-04 09:31:44 +00:00
Daniel Stenberg
8670474079 compile and link with sprintf.c always, since we now have a special
fprintf() version


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3639 a1c6a512-1295-4272-9138-f99709370657
2003-05-02 12:17:22 +00:00
Daniel Stenberg
f97cdc9cd5 remove warnings, make it build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3617 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 14:05:43 +00:00
Daniel Stenberg
ab3868ac1d use size_t instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3613 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:43:10 +00:00
Daniel Stenberg
004f690405 use the rockbox versions of the sprintf* and friends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3611 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:36:14 +00:00
Daniel Stenberg
eae511030c Now supports key-repeat in the simulator!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3594 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:49:57 +00:00
Daniel Stenberg
4ccffb6589 remove debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3593 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:49:24 +00:00
Jörg Hohensohn
c6fb565dd9 most of UI sim patch 708460 from Magnus Holmgren, except the bitmap removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3571 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 13:15:33 +00:00
Jörg Hohensohn
20402c6375 include rockbox.dsp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3538 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 23:10:10 +00:00
Jörg Hohensohn
780595b6c4 new project file for MSVC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3526 a1c6a512-1295-4272-9138-f99709370657
2003-04-10 20:30:35 +00:00
Daniel Stenberg
7b9a36eeff make the win32 sim build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3478 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 21:45:13 +00:00
Linus Nielsen Feltzing
e98bad5b38 Added the filesize() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 00:39:57 +00:00
Daniel Stenberg
3c6bb5c040 added strtok_r() proto to build warning-free on mingw
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3471 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:48:08 +00:00
Daniel Stenberg
1450f4a9b5 don't set NOCYGWIN unconditionally! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3470 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:47:43 +00:00
Daniel Stenberg
ebef8e9bee removed libmad leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3459 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:04:04 +00:00
Björn Stenberg
61a4cce656 Added onplay.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3437 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:23:07 +00:00
Linus Nielsen Feltzing
a039091187 New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00
Daniel Stenberg
11d9ecbc10 killed a warning
properly indented some code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3389 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:59:36 +00:00
Daniel Stenberg
9b628edc49 Henrik Backe modified the check for cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3387 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:49:29 +00:00
Daniel Stenberg
7d2f8e7063 Set a mode that makes sense as the Rockbox code doesn't use modes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3386 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:48:34 +00:00
Daniel Stenberg
ed87c774f8 Henrik Backe's patch to end files with newlines to prevent compiler
warnings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3385 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:47:26 +00:00
Daniel Stenberg
a5bfaa9e98 Henrik Backe's fixes to enable this to build using cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3384 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:45:14 +00:00
Daniel Stenberg
3aeb55f385 no one ever uses libmad, remove it from our CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3382 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 15:52:56 +00:00
Björn Stenberg
e15b8f4414 Red build pill
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3359 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:44:26 +00:00
Björn Stenberg
0d5ea771c8 Fix red sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3358 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:20:14 +00:00
Daniel Stenberg
4953375219 non-cygwin builds need the sprintf.c file
remove credits.raw in the clean target


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3294 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 22:06:41 +00:00
Daniel Stenberg
3a25735aa1 Henrik Backe's fixes to enable the simulator to build with cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3293 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 14:20:16 +00:00
Daniel Stenberg
a865102010 fix to not use the redefined calls within the redefined calls themselves,
as Mike Holden reported


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3275 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 17:41:10 +00:00
Daniel Stenberg
2a9cb93831 fake the firmware's file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3270 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:37 +00:00
Daniel Stenberg
353da9ba48 don't build ctype
don't use firmware/include in the include path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3269 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:12 +00:00
Daniel Stenberg
a62fd981b2 added the missing write()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3268 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:52:18 +00:00
Daniel Stenberg
603975b4a2 this compiles better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:50:17 +00:00
Felix Arends
2362fa918e remove warnings from mingw build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3265 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:12:55 +00:00
Felix Arends
e3403ecd9f this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Daniel Stenberg
f22ac91142 fixes the warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3225 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:31:28 +00:00
Daniel Stenberg
3d84988597 use the new paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3223 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:21:50 +00:00
Daniel Stenberg
83131fa6e7 use new path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3220 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:10:17 +00:00
Daniel Stenberg
e35bbe3e2d updated path to kernel.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3216 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:45:39 +00:00
Daniel Stenberg
ae26233817 build and work with the new include path(s)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3214 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:42:57 +00:00
Felix Arends
95d229e0f6 new kernel.h file (was not found inside include path before),
applied Daniel's changes to the x11 simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3211 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 17:48:55 +00:00
Daniel Stenberg
f8ee440c9e include the original kernel.h from the new location
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3210 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 11:58:20 +00:00
Felix Arends
65702adc0c working makefile for win32 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3195 a1c6a512-1295-4272-9138-f99709370657
2003-01-30 15:53:17 +00:00
Björn Stenberg
2ba4fedd64 Added close() and proper creat() to x11 emulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3179 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 23:14:41 +00:00
Daniel Stenberg
a9b04beba4 get_time() for sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3172 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:40:02 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
4bea14d6bf Printing keyboard shortcuts at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3139 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 08:46:14 +00:00
Kjell Ericson
0ca9ccbe63 Default window zoom for Recorder simulator is 2.
You can change window zoom with the command line flags "--player_zoom" and "--recorder_zoom". Or you can set the environment variable RECORDER_ZOOM or PLAYER_ZOOM.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3131 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 09:39:38 +00:00
Daniel Stenberg
8c5e3f833b added stub functions for the rename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3126 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 16:50:36 +00:00
Daniel Stenberg
37b0c075cf keyboard.c was missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3125 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 15:52:10 +00:00
Björn Stenberg
7d80ba0131 Added rename() to simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3090 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 11:38:03 +00:00
Kjell Ericson
1cb806110a Implementing Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3055 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:03:07 +00:00
Kjell Ericson
ea3d4d5a00 Implementing Rocklatin for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3054 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:02:27 +00:00
Björn Stenberg
c78e1b07fe The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding down PLAY on it while playing other music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 00:55:00 +00:00
Linus Nielsen Feltzing
f1f7b6150a ...and the usual simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +00:00
Björn Stenberg
c8cb6ffcc0 Added virtual keyboard for text input, loosely based on John Wood's code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2928 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 15:04:43 +00:00
Linus Nielsen Feltzing
f4704d50c1 Attempt to fix the win32 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2920 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 23:08:14 +00:00
Linus Nielsen Feltzing
4a66327583 Some simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2919 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:49:48 +00:00
Daniel Stenberg
5a7548afba Added dummy fat_size() to make it link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2838 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 19:38:01 +00:00
Björn Stenberg
6fb512aba5 Added disk space to Info menu item. (Players press + to see it.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
Daniel Stenberg
740dc63186 somewhat kludgey work-around to prevent the <io.h>'s version of the mkdir()
proto to ruin our compile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2804 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:33:00 +00:00
Kjell Ericson
54d5e2cb27 Added a 5 pixel border around the content. Looks better (that's all).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2800 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 13:38:21 +00:00
Kjell Ericson
b3e41c711b Changed the battery icon so it doesn't clear the inner part of the icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2798 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:10:33 +00:00
Mats Lidell
0d79fa127d Icons created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2792 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:34:07 +00:00
Mats Lidell
097bd10680 Adjusted position of second icon line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2791 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:33:41 +00:00
Daniel Stenberg
26507c1bf2 add 'errno' here, since it makes the mingw32 build work fine again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2787 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 08:05:47 +00:00
Daniel Stenberg
864cff709f added printf() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2778 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 13:20:12 +00:00
Kjell Ericson
dae8deaf1f The lcd_clear_display() didn't work.
Added some debug-stuff.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2772 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:43:30 +00:00
Kjell Ericson
8857d47b5a A try to fix a compilation error for the Win32 recorder simulator. (not tested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2767 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:45:37 +00:00
Kjell Ericson
fe026b944d Definitions of "struct coordinate" and "struct rectangle" and definitions
of the drawing functions needed for the simulators.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2766 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:18:17 +00:00
Kjell Ericson
f7a4b2b0da Changed XPoint to "struct coordinate".
New lcd_update for the player simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2764 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:08:40 +00:00
Kjell Ericson
cacb758a47 New file font-player.c is added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2763 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:07:37 +00:00
Kjell Ericson
f9a912d850 Using the structures "rectangle" and "points" when drawing (Win32 doesn't have XPoint).
Added the funtion drawrectangles() that is used for the player simulation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2762 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:04:53 +00:00
Kjell Ericson
dbab14de1f Added command line parameter "--old_lcd" that will simulate the old LCD of
the player.
Made the screen a bit larger too.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2761 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:02:30 +00:00
Kjell Ericson
3262207223 Updated for better player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2760 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:00:19 +00:00
Kjell Ericson
a901c3a433 Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2741 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:46:10 +00:00
Kjell Ericson
08cbf69e0e Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2739 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:32:23 +00:00
Kjell Ericson
f179453524 The font for player-simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2738 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:28:09 +00:00
Kjell Ericson
ccfa84853a Many functions have been changed.
The font will now be drawn in a more hardware-like style.
The "select arrow" is now looking bad, but will be fixed by Mats Lidell and
me later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2735 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:20:09 +00:00
Kjell Ericson
fe10eb3a9f Almost totaly rewritten.
Most icons are still missing, but will be redrawn in some days.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2734 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:17:47 +00:00
Kjell Ericson
d19b9edfa4 Added stubs that shall not be in the player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2733 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:16:14 +00:00
Kjell Ericson
d317ddb333 The font will be shown in another way in player-simulator so the sysfont.c
and font.c will be recorder-only.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2732 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:15:23 +00:00
Kjell Ericson
cfa206bfed Doubled the height/width for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2731 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:14:01 +00:00
Kjell Ericson
93b5f92c53 The window zooming is now depending on LCD_WIDTH and LCD_HEIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2730 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:12:55 +00:00
Felix Arends
57dcf0bb78 working win32sim makefile (for player)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2722 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 15:22:20 +00:00
Björn Stenberg
5cb429ec60 Added mpeg_set_pitch() stub to simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 14:03:11 +00:00
Mats Lidell
ac59dceeea Use lcd-player.c in simulator. (Not tested but better?!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2720 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:46:58 +00:00
Mats Lidell
f4f9997404 Use lcd-player.c in simulator. (Not tested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2719 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:27:55 +00:00
Mats Lidell
073ca0a8bc Use lcd-player.c in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2716 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:21:29 +00:00
Mats Lidell
786d2c3cb3 Rewritten based on lcd-player.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2715 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:48 +00:00
Mats Lidell
a99c565d72 Moved lcd player code to lcd-playersim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2714 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:14 +00:00
Mats Lidell
d4efbada61 Player don't use dynamic fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2713 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:19:10 +00:00
Kjell Ericson
feae991575 Changed Logf to printf while debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2708 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:42:47 +00:00
Kjell Ericson
65de9c9167 Moved volume-icon a bit. More examine will be done later in order to look at
the other icons. They seem to be too large for a real player screen.
The problem of the flickering screen is residing here somewhere...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2707 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:40:57 +00:00
Kjell Ericson
fdb7b41771 The simulated version shall not have a BITMAP_LCD any more (fucked up the screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2706 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:38:32 +00:00