Commit graph

199 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Kjell Ericson
5fddbf488a Drawing the same kind of frame for both recorder and player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2705 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:37:15 +00:00
Kjell Ericson
fae212043b Using expose-event instead of resizerequest-event in order to be able to
zoom the window.
Note that when you shrink the window, you must make it a bit larger again in
order to get it redrawn.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2676 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:44:43 +00:00
Kjell Ericson
c54ff705a0 First attempt to adjust the drawing routines to be able to zoom the window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2675 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:43:13 +00:00