Commit graph

611 commits

Author SHA1 Message Date
Michael Sevakis
a2ee6a6681 FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:40:40 +00:00
Jonathan Gordon
b35c1d8d35 Change anywhere where do_menu()'s return value was checked and expected
a bool to appear the same as the old API. Possibly fixes some bugs, but 
doubtful.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12772 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 04:42:10 +00:00
Jonathan Gordon
67b3206709 Stop audio when entering the radio in the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12665 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 09:16:20 +00:00
Jonathan Gordon
e900a90e11 Accept FS#6750, allow recording to start automatically (If alarm wakeup
is set to recording)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12655 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 01:59:29 +00:00
Michael Sevakis
38be0e65d3 Refine the hack. Best I can do I think.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12637 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 08:19:00 +00:00
Michael Sevakis
82b26d2e5d Add a stupid hack that seems to help size on everything. We'll see shortly for sure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12636 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 07:59:25 +00:00
Michael Sevakis
00af7c7b74 Fix warnings. Also fix an error that would occur compiling a logf build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12635 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 05:55:23 +00:00
Michael Sevakis
11e45a316f Make keyboard character selection independent on main and remote LCDs. Insert position is still synchronized between displays however (made sense to me to keep that). Cleanup code to make it more readable (mostly for my benefit in working on it :). Hopefully Hangul will stay working too. Clean up some drawing (keep pages from invading text line) and use bitmap arrows for long text when font size allows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12634 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 05:43:04 +00:00
Michael Sevakis
9701954654 iRiver: Enable line input mode on keyboard. The cursor key combos can still be used when in picker mode. Much easier for moving the cursor around by many characters.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12617 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 02:07:17 +00:00
Nils Wallménius
0eb1443614 Enable Morse input mode in the virtual keyboard for gigabeat, use MENU+SELECT to switch between modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12606 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 21:59:00 +00:00
Jonathan Gordon
02a871780f Remove the need to double up the MENU macros in manu.h.
Icons are now used by their id which must be part of the icons_6x8 enum, 
or Icon_NOICON for none


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12571 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 13:52:14 +00:00
Robert Kukla
ae08eeb4ff remove runtime detection of h1x0 series RTC MOD, but leave driver code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:11:20 +00:00
Jonathan Gordon
91cb68a1fb Introducing the root menu!
Blind users: get a new voice file as there are lots of lang changes and new strings.
FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12528 a1c6a512-1295-4272-9138-f99709370657
2007-03-01 11:14:46 +00:00
Robert Kukla
50b5ee4781 FS#6419 - driver for H1x0 series RTC Mod with runtime detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Jonathan Gordon
8ca99d3288 Code Police: Remove tabs throught apps/ . Hopefully no actual code
change


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 11:09:09 +00:00
Jonathan Gordon
4721deff01 fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12502 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 09:22:56 +00:00
Jonathan Gordon
9144be5253 returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit
the menu when the subitem returns. Use this with the preset item context 
menus


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12501 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 09:16:47 +00:00
Jonathan Gordon
2816dc9c13 Convert the radio menus to the new system.
Change the way the presets are done (in code).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12500 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 09:06:30 +00:00
Jonathan Gordon
2801a87d54 Convert the EQ menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12398 a1c6a512-1295-4272-9138-f99709370657
2007-02-19 02:14:51 +00:00
Jonathan Gordon
f98c27f60f Give the file view menu a nice icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12397 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 23:51:36 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Jens Arnold
c652218d14 Fix remaining CONFIG_TUNER checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +00:00
Jonathan Gordon
bd47d48c21 Do the CONFIG_LED define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:07:19 +00:00
Jonathan Gordon
ec73eb0be1 really fix red builds this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:34:36 +00:00
Magnus Holmgren
2067fcc695 Fix most (all?) CONFIG_LED warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:22:37 +00:00
Jonathan Gordon
40a253d464 Convert the Display menu to the new system.
http://forums.rockbox.org/index.php?topic=8703.0 for bugs...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12351 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 14:02:48 +00:00
Jonathan Gordon
5599d6806d Icons in the menus. Thanks midkay for them.
Any menus which dont yet show them are not converted to the new system.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12300 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 06:58:30 +00:00
Martin Scarratt
3cf50c0007 Allow cursor changes in Morse Vkeyboard for targets that use line_edit mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12265 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 22:39:45 +00:00
Michael Sevakis
0f17532c9d Revert the changes using global status for the screen states. It should wait for a more comprehensive plan to maximize benefit if any can be had.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12231 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:36:49 +00:00
Jonathan Gordon
4718a1e752 beginning of the new menu system. This commit shouldnt break anything,
but comming ones might.. report bugs in 
http://forums.rockbox.org/index.php?topic=8703.0 and more info at 
http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 04:33:41 +00:00
Michael Sevakis
eed62f1657 Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Michael Sevakis
ff3bb3aa18 Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12221 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:48:19 +00:00
Nils Wallménius
28a8894656 Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 20:30:58 +00:00
Jens Arnold
6b0fdae0f6 Removed unused 'mode' parameter from mkdir() for consistency with creat().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Jonathan Gordon
228d62dd18 Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
saving.
Added car_adapter_mode to the nvram settings, so nvram settings will be reset.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 02:19:22 +00:00
Jonathan Gordon
b2e50906a4 Settings are now stored in /.rockbox/config.cfg instead of the hidden sector. (FS #6557)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 13:40:44 +00:00
Greg White
0262cba304 Align backdrop buffers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12003 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:29:32 +00:00
Nils Wallménius
8a71f1adfd Enable Morse mode for virtual keyboard on h10 players and make it possible to enter line edit while in Morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11911 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 14:36:04 +00:00
Jonathan Gordon
568e18e9dd Fix FS#6361. Allow the FM auto-scanning to be abort with the standard
quit button


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11843 a1c6a512-1295-4272-9138-f99709370657
2006-12-26 22:01:27 +00:00
Jens Arnold
2597a13497 Next round of static'ing and related fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Martin Scarratt
8ab6ac7739 Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: Play(instead of long select) - accept & exit, Long menu - toggle morse mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 16:57:48 +00:00
Nils Wallménius
5774709d15 One #if less :-D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11791 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 22:53:25 +00:00
Nils Wallménius
b757b50d0a Add colon and semicolon to the default virtual keyboard, clean up some unneccesary includes and exclude vkeyboard for larger displays from builds where it was never used -- saves approx 300 bytes on achos builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11790 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 19:51:30 +00:00
Michael Sevakis
ac6be5d550 Sims hate me again (or is that the other way). Fixup the stubs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 11:25:42 +00:00
Michael Sevakis
99109938fe The sims hate me again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:32:38 +00:00
Michael Sevakis
eca9f7fd60 Place all recording functionality on pcmrec thread to serialize all recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:21:31 +00:00
Shachar Liberman
4d93177457 Made the AGC functions compatible with non-latin languages following the
'NonLatinLanguages' wiki page. Please keep using separate LANG_SYSFONT_
strings when using the internal font, Which only supports latin charset,
for easier translation. * Hebrew translation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11594 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 20:11:59 +00:00
Michael Sevakis
0729b928ce Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 19:49:04 +00:00
Michael Sevakis
ab1861a3c2 iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00